Code Monkey home page Code Monkey logo

chainer-simple-fast-rnn's People

Contributors

apple2373 avatar

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

Watchers

 avatar  avatar  avatar  avatar  avatar

chainer-simple-fast-rnn's Issues

ValueError: train argument is not supported anymore. Use chainer.using_config

help me fix error
File "forward.py", line 168, in
cls_score, bbox_pred = vgg_model(x,rois)
File "C:\Users\pvdung\Desktop\faster rcnn\chainer-simple-fast-rnn\vgg.py", line 62, in call
h = F.dropout(F.relu(self.fc6(h)), train=train, ratio=0.5)
File "C:\Users\pvdung\AppData\Local\Continuum\anaconda3\lib\site-packages\chainer\functions\noise\dropout.py", line 163, in dropout
kwargs, train='train argument is not supported anymore. '
File "C:\Users\pvdung\AppData\Local\Continuum\anaconda3\lib\site-packages\chainer\utils\argument.py", line 7, in check_unexpected_kwargs
raise ValueError(message)
ValueError: train argument is not supported anymore. Use chainer.using_config

How is the model converted?

Thanks for this nice example! Could you explain in more detail how did you converted the model to chainer?

AttributeError: 'module' object has no attribute 'cupy'

Please help me!
First of all, thanks 4 Ur code which is fantastic!
However, I get a problem when I try to use gpu.
It shows that:
simon@John:~/Object_Detection/chainer-simple-fast-rnn-master$ python forward.py --img_fn sample.jpg --out_fn result.jpg --gpu_id 0

Traceback (most recent call last):
File "forward.py", line 152, in
xp = cuda.cupy
AttributeError: 'module' object has no attribute 'cupy'

but it okay when I using cpu.
Please help me handling this problem, THX.

python downoad_model.py error!!!

(tensorflow_p36) ubuntu@ip-172-31-25-141:/gitcode/test/chainer-simple-fast-rnn$ python downoad_model.py
Traceback (most recent call last):
File "downoad_model.py", line 6, in
urllib.urlretrieve(url,filename)
AttributeError: module 'urllib' has no attribute 'urlretrieve'
(tensorflow_p36) ubuntu@ip-172-31-25-141:
/gitcode/test/chainer-simple-fast-rnn$ vi downoad_model.py
(tensorflow_p36) ubuntu@ip-172-31-25-141:/gitcode/test/chainer-simple-fast-rnn$ python downoad_model.py
Traceback (most recent call last):
File "downoad_model.py", line 6, in
urllib.request.urlretrieve(url,filename)
File "/home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/urllib/request.py", line 248, in urlretrieve
with contextlib.closing(urlopen(url, data)) as fp:
File "/home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/urllib/request.py", line 223, in urlopen
return opener.open(url, data, timeout)
File "/home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/urllib/request.py", line 532, in open
response = meth(req, response)
File "/home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/urllib/request.py", line 642, in http_response
'http', request, response, code, msg, hdrs)
File "/home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/urllib/request.py", line 570, in error
return self._call_chain(*args)
File "/home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/urllib/request.py", line 504, in _call_chain
result = func(*args)
File "/home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/urllib/request.py", line 650, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found
(tensorflow_p36) ubuntu@ip-172-31-25-141:
/gitcode/test/chainer-simple-fast-rnn$

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.