roboinstruct-2
roboinstruct-2 copied to clipboard
Error when executing train.py in chainer
autoencoder / chainer_vaegan / src / train.py When I ran this, an error sentence appeared as follows.
Traceback (most recent call last):
File "train.py", line 456, in
What kind of error is this? I have not got python knowledge since I have not spent a lot of time for the first time in the program. How can I remove the error?
I created a trajectory folder in the roboinstruct root folder and copied the data (task - 3001, task - 3002, task - 3003, task - 3005, task - 3006) recorded by al5d demonstration. I also created a models folder in the roboinstruct root folder.
Ubuntu 16.04 Python 2.7 Chainer 2.1 copy 1.03 cudnn 6 I ran using these.
The problem was that the encoder function returns 3 values but in the train.py we are expecting 4 values. I made a quick fix to autoencoder / chainer_vaegan / src / net.py line 44 is now changed to
return z, mean, var, h4. I hope this solves the problem.