Code Monkey home page Code Monkey logo

chainer-visualization's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

chainer-visualization's Issues

original error: cannot import name core (run on cpu)

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

--gpu 1 throw an error , code can't run on the GPU

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.