Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In Python 2.7 env, stuck after "test_joints.csv is ready" #37

Open
aurotripathy opened this issue Jan 31, 2017 · 2 comments
Open

In Python 2.7 env, stuck after "test_joints.csv is ready" #37

aurotripathy opened this issue Jan 31, 2017 · 2 comments

Comments

@aurotripathy
Copy link

I agree, this is a Pyhton 3 project.

Does anyone know how to move forward with the training with Chainer.

If you help me, I may become a Chainer fan (seems very readable).

@1037861070
Copy link

joints[i], joints[j] = joints[j].copy(), joints[i].copy()

IndexError: index 9 is out of bounds for axis 0 with size 3

Exception in main training loop: 'NoneType' object is not iterable
Traceback (most recent call last):
File "/home/design/anaconda3/envs/tensorflow019/lib/python3.5/site-packages/chainer/training/trainer.py", line 315, in run
update()
File "/home/design/anaconda3/envs/tensorflow019/lib/python3.5/site-packages/chainer/training/updaters/standard_updater.py", line 165, in update
self.update_core()
File "/home/design/anaconda3/envs/tensorflow019/lib/python3.5/site-packages/chainer/training/updaters/parallel_updater.py", line 110, in update_core
batch = iterator.next()
File "/home/design/anaconda3/envs/tensorflow019/lib/python3.5/site-packages/chainer/iterators/multiprocess_iterator.py", line 148, in next
self.dataset_timeout)
File "/home/design/anaconda3/envs/tensorflow019/lib/python3.5/site-packages/chainer/iterators/multiprocess_iterator.py", line 417, in measure
self.mem_size = max(map(_measure, batch))
Will finalize trainer extensions and updater before reraising the exception.
Traceback (most recent call last):
File "scripts/train.py", line 229, in
trainer.run()
File "/home/design/anaconda3/envs/tensorflow019/lib/python3.5/site-packages/chainer/training/trainer.py", line 329, in run
six.reraise(*sys.exc_info())
File "/home/design/anaconda3/envs/tensorflow019/lib/python3.5/site-packages/six.py", line 693, in reraise
raise value
File "/home/design/anaconda3/envs/tensorflow019/lib/python3.5/site-packages/chainer/training/trainer.py", line 315, in run
update()
File "/home/design/anaconda3/envs/tensorflow019/lib/python3.5/site-packages/chainer/training/updaters/standard_updater.py", line 165, in update
self.update_core()
File "/home/design/anaconda3/envs/tensorflow019/lib/python3.5/site-packages/chainer/training/updaters/parallel_updater.py", line 110, in update_core
batch = iterator.next()
File "/home/design/anaconda3/envs/tensorflow019/lib/python3.5/site-packages/chainer/iterators/multiprocess_iterator.py", line 148, in next
self.dataset_timeout)
File "/home/design/anaconda3/envs/tensorflow019/lib/python3.5/site-packages/chainer/iterators/multiprocess_iterator.py", line 417, in measure
self.mem_size = max(map(_measure, batch))
TypeError: 'NoneType' object is not iterable
Error in sys.excepthook:

Original exception was:
Error in sys.excepthook:

how to solve it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@aurotripathy @1037861070 and others