hvy / chainer-visualization Goto Github PK
View Code? Open in Web Editor NEWChainer implementation of the paper Visualizing and Understanding Convolutional Networks, 2013
License: MIT License
Chainer implementation of the paper Visualizing and Understanding Convolutional Networks, 2013
License: MIT License
Hi ,,when i run the code , an error occur like below:
Traceback (most recent call last): File "visualize.py", line 4, in <module> import cupy File "/usr/local/lib/python2.7/dist-packages/cupy/__init__.py", line 20, in <module> six.reraise(ImportError, ImportError(msg), exc_info[2]) File "/usr/local/lib/python2.7/dist-packages/cupy/__init__.py", line 9, in <module> from cupy import core # NOQA File "/usr/local/lib/python2.7/dist-packages/cupy/core/__init__.py", line 1, in <module> from cupy.core import core # NOQA ImportError: CuPy is not correctly installed. Please check your environment, uninstall CuPy and reinstall it with
pip install cupy --no-cache-dir -vvvv`.
original error: cannot import name core
`
I just install the cupy , and can't solve the problem .
please tell me how to solve it , thanks
hi, I use the command blew like what the read.md say,
python visualize.py --image-filename images/cat.jpg --model-filename VGG.model --out-dirname results --gpu 0
it's well to run the whole code.
but when I set the GPU param to 1 , it throws an error:
Traceback (most recent call last):
File "visualize.py", line 145, in <module>
main(args)
File "visualize.py", line 135, in main
cuda.get_device(args.gpu).use()
File "/usr/local/lib/python2.7/dist-packages/chainer/cuda.py", line 219, in get_device
return _get_device(*args)
File "/usr/local/lib/python2.7/dist-packages/chainer/cuda.py", line 225, in _get_device
check_cuda_available()
File "/usr/local/lib/python2.7/dist-packages/chainer/cuda.py", line 87, in check_cuda_available
raise RuntimeError(msg)
RuntimeError: CUDA environment is not correctly set up
(see https://github.com/pfnet/chainer#installation).'module' object has no attribute '_clip'
my gpu is 1080 , cuda is 8.0, cudnn is 5.0 , chainer is 1.24.0, may be it's the gpu resaon, the code may not insist the gpu
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.