samhodge commented on issue #9813: Unable to save gluon model to symbolic 
network : neural style
URL: 
https://github.com/apache/incubator-mxnet/issues/9813#issuecomment-368199481
 
 
   Now I have a new error
   
   ```
   
________________________________________________________________________________________________________________________
   Layer (type)                                        Output Shape            
Param #     Previous Layer                  
   
========================================================================================================================
   net0_inspiration0_weight(null)                      512x512                 
0                                           
   
________________________________________________________________________________________________________________________
   net0_inspiration0_broadcast_to0(broadcast_to)       512x512                 
0           net0_inspiration0_weight        
   
________________________________________________________________________________________________________________________
   net0_inspiration0_batch_dot0(batch_dot)             512x512                 
0           net0_inspiration0_broadcast_to0 
   
________________________________________________________________________________________________________________________
   net0_inspiration0_swapaxis0(SwapAxis)               512x512                 
0           net0_inspiration0_batch_dot0    
   
________________________________________________________________________________________________________________________
   net0_inspiration0_broadcast_to1(broadcast_to)       512x512                 
0           net0_inspiration0_swapaxis0     
   
________________________________________________________________________________________________________________________
   net0_reflectancepadding0_pad0(Pad)                  3x1926x1086             
0                                           
   
________________________________________________________________________________________________________________________
   Traceback (most recent call last):
     File "main.py", line 240, in <module>
       main()
     File "main.py", line 229, in main
       evaluate(args)
     File "main.py", line 159, in evaluate
       mx.visualization.print_summary(y,{'data':(1,3,1920,1080)})
     File 
"/Users/sam/anaconda2/lib/python2.7/site-packages/mxnet/visualization.py", line 
184, in print_summary
       total_params += print_layer_summary(nodes[i], out_shape)
     File 
"/Users/sam/anaconda2/lib/python2.7/site-packages/mxnet/visualization.py", line 
137, in print_layer_summary
       if ("no_bias" in node["attrs"]) and int(node["attrs"]["no_bias"]):
   ValueError: invalid literal for int() with base 10: 'False'
   kaos:style_transfer sam$ python -c 'int("False")'
   Traceback (most recent call last):
     File "<string>", line 1, in <module>
   ValueError: invalid literal for int() with base 10: 'False'
   ```
   
   I will hack visualisation for now.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to