8
$\begingroup$

Bug fixed in 11.2


I have a few GPU/CPU 'loaded' Linux boxes in my lab, used largely for rendering. I want to compare the new 11.1 Neural Network stuff to some Tensorflow things we do here. Of course, since I have all that iron back there I want to use it.

I don't want to have to actually walk all that way, and besides, they are headless (or head-impaired).

I haven't tried using remote kernels for anything other than Parallel stuff in quite a while (like, 1990 or so, with a Cray). I've noticed that the 'Basic' settings in Evaluation->Kernel Configuration Options ... don't work so I had to go and manually get a connection to happen, thanks to this answer I was able to cobble something together that works.

Except -

Things that contain Dynamic content aren't happy. To wit, here's an example, first evaluated on the Local machine, then evaluated on the remote -

painful memories

The resulting NetChain isn't formatted when returning from the remote kernel. The error -

A GridBox with an invalid first argument was encountered. The first argument to GridBox must be a rectangular matrix (nested list).

makes a little bit of sense, spelunking the thing returned -

DynamicBox[GridBox[{{
        NeuralNetworks`Private`NetChain`MouseClickBoxes[...

suggests to me that there are things that don't get faithfully interpreted by the front-end's kernel when they come back from the remote.

This wouldn't be a problem, other than I would like to run the learning remotely and observe the progress on the front end. This is further reinforced to me by the fact that, if I cut-and-paste the 'red-box' output from the remote-kernel'd notebook into a local-kernel notebook, it renders properly.

Any thoughts on how to get the local notebook kernel to jibe with the output of the remote kernel?

Edit: Fixed in 11.2

$\endgroup$
  • 1
    $\begingroup$ This is broken since 11.1. $\endgroup$ – user5601 Jun 7 '17 at 19:38
  • $\begingroup$ Yes,I have the same problem as you.ref:mathematica.stackexchange.com/questions/146823/… $\endgroup$ – partida Jun 8 '17 at 6:31
  • $\begingroup$ Same problem here. Plus random crashes. $\endgroup$ – dan7geo Jun 8 '17 at 15:45
  • 3
    $\begingroup$ According to WRI, known bug. They're working on it™ In the mean time Developer`$DisableInteractivity = True makes the graphs show up w/o interactivity, of course. $\endgroup$ – flip Jun 8 '17 at 17:12
  • 1
    $\begingroup$ @flip It has been fixed in 11.2 $\endgroup$ – partida Sep 26 '17 at 9:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.