fukatani / chainerwing Goto Github PK
View Code? Open in Web Editor NEWGUI deep learning IDE based on chainer.
GUI deep learning IDE based on chainer.
Thank you for great GUI tool for Deep learning.
But I have some problem to execute ChainerWing.
C:\Users\rose\ChainerWing\bin>python ChainerWing.py Traceback (most recent call last): File "ChainerWing.py", line 4, in <module> chainer_wing.gui_main.main.run() File "C:\Python\Python35\lib\site-packages\chainer_wing-0.0.0-py3.5.egg\chainer_wing\gui_main\main.py", line 26, in run startUI(app, painter) File "C:\Python\Python35\lib\site-packages\chainer_wing-0.0.0-py3.5.egg\chainer_wing\gui_main\main.py", line 36, in startUI win = MainWindow(painter=painter) File "C:\Python\Python35\lib\site-packages\chainer_wing-0.0.0-py3.5.egg\chainer_wing\gui_main\painter.py", line 746, in __init__ self.setupNodeLib() File "C:\Python\Python35\lib\site-packages\chainer_wing-0.0.0-py3.5.egg\chainer_wing\gui_main\painter.py", line 1111, in setupNodeLib self.NodeListView.setup(self.FilterEdit, self.drawer.graph) File "C:\Python\Python35\lib\site-packages\chainer_wing-0.0.0-py3.5.egg\chainer_wing\node_lib.py", line 105, in setup self.filter.register_list_view(self) File "C:\Python\Python35\lib\site-packages\chainer_wing-0.0.0-py3.5.egg\chainer_wing\node_lib.py", line 71, in register_list_view self.update_node_list(text) File "C:\Python\Python35\lib\site-packages\chainer_wing-0.0.0-py3.5.egg\chainer_wing\node_lib.py", line 60, in update_node_list item.setToolTip(NODECLASSES[node].doc()) File "C:\Python\Python35\lib\site-packages\chainer_wing-0.0.0-py3.5.egg\chainer_wing\node.py", line 331, in doc return cls.register_chainer_impl().__doc__ File "C:\Python\Python35\lib\site-packages\chainer_wing-0.0.0-py3.5.egg\chainer_wing\CustomNodes\LinkNodes.py", line 21, in register_chainer_impl return chainer.links.linear AttributeError: module 'chainer.links' has no attribute 'linear'
I cannot find what is the faulty line in python files..
Would you notify how can i solve it?
Steps to reproduce:
Observed Behavior:
`Traceback (most recent call last):
File "C:\Python\Python35\lib\site-packages\chainer_wing-0.0.0-py3.5.egg\chainer_wing\gui_main\painter.py", line 1056, in compile_and_exe
if self.compile_runner():
File "C:\Python\Python35\lib\site-packages\chainer_wing-0.0.0-py3.5.egg\chainer_wing\gui_main\painter.py", line 1053, in compile_runner
return self.drawer.graph.compile()
File "C:\Python\Python35\lib\site-packages\chainer_wing-0.0.0-py3.5.egg\chainer_wing\gui_main\graph.py", line 267, in compile
result = compiler.Compiler()(self.nodes)
File "C:\Python\Python35\lib\site-packages\chainer_wing-0.0.0-py3.5.egg\chainer_wing\compiler.py", line 22, in __call__
net_file = open(TrainParamServer().get_net_name(), 'w')
FileNotFoundError: [Errno 2] No such file or directory: '/home/ryo/workspace/github/CW_gui/examples/mnist/MyNet.py'`
Solution:
I modify some specific(absolute) path of your computer in two files.
First file
: ChainerWing\examples\mnist\mynet.py
Line 70, 74, 79, 87, 93
: ChainerWing\examples\mnist\mnist.json
Line 236, 237, 243, 245
I would like to reflect the user's computer path in this line.
Thank you.
I don't use CUDA and cupy package.
ChainerWing also notice that cupy is optional.
However, to execute ChainerWing, It should be called the CUDA and cupy as bellow.
`Traceback (most recent call last):
File "C:\Python\Python35\lib\site-packages\chainer_wing-0.0.0-py3.5.egg\chainer_wing\gui_main\painter.py", line 1048, in exe_runner
self.drawer.graph.run()
File "C:\Python\Python35\lib\site-packages\chainer_wing-0.0.0-py3.5.egg\chainer_wing\gui_main\graph.py", line 288, in run
self.runner.run()
File "C:\Python\Python35\lib\site-packages\chainer_wing-0.0.0-py3.5.egg\chainer_wing\runner.py", line 23, in run
cw_postprocess)
File "C:/Users/rose/ChainerWing/examples/mnist//MyNet.py", line 61, in training_main
device=0)
File "C:\Python\Python35\lib\site-packages\chainer\training\updater.py", line 131, in __init__
optimizer.target.to_gpu(device)
File "C:\Python\Python35\lib\site-packages\chainer\link.py", line 726, in to_gpu
with cuda._get_device(device):
File "C:\Python\Python35\lib\site-packages\chainer\cuda.py", line 217, in _get_device
check_cuda_available()
File "C:\Python\Python35\lib\site-packages\chainer\cuda.py", line 79, in check_cuda_available
raise RuntimeError(msg)
RuntimeError: CUDA environment is not correctly set up
(see https://github.com/pfnet/chainer#installation).No module named 'cupy'`
It is just optional feature request.
Would you add some function to turn on or turn off of GPU option?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.