You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I tried to run your examples code I get this:
import netdef_slim as nd
nd.load_module('FlowNet3/CSS/controller.py')
Using /home/brisa/frbarbos/lmbspecialops/build/lib/lmbspecialops.so
<module 'None' from 'FlowNet3/CSS/controller.py'>
c = Controller()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'Controller' is not defined
I found to possible solutions:
save the output of load_module is a variable:
import netdef_slim as nd
M = nd.load_module('FlowNet3/CSS/controller.py')
Using /home/brisa/frbarbos/lmbspecialops/build/lib/lmbspecialops.so
c = M.Controller()
evolution <00__flyingThings3D.train__S_fine_half>: 00__flyingThings3D.train__S_fine_half COMPLETE
Using directly Controller in the load_module output:
import netdef_slim as nd
c = nd.load_module('FlowNet3/CSS/controller.py').Controller()
Using /home/brisa/frbarbos/lmbspecialops/build/lib/lmbspecialops.so
evolution <00__flyingThings3D.train__S_fine_half>: 00__flyingThings3D.train__S_fine_half COMPLETE
The text was updated successfully, but these errors were encountered:
franciscorba
changed the title
Controller eval code wrong in readme
Controller eval code wrong in readme (part 1)
Dec 18, 2018
When I tried to run your examples code I get this:
I found to possible solutions:
load_module
is a variable:Controller
in theload_module
output:The text was updated successfully, but these errors were encountered: