We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
---------below is my command and output--------
root@wangke-S2400SC:~/chainer-fast-neuralstyle# python train.py --style_image ./style.jpg --dataset ./train2014 --output ./models/my num traning images: 40458 40458 iterations, 2 epochs epoch 0 Traceback (most recent call last): File "train.py", line 118, in x[j] = load_image(imagepaths[i*batchsize + j], image_size) File "train.py", line 22, in load_image return xp.asarray(image, dtype=np.float32).transpose(2, 0, 1) File "/usr/local/lib/python2.7/dist-packages/numpy/core/numeric.py", line 531, in asarray return array(a, dtype, copy=False, order=order) File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 528, in getattr raise AttributeError(name) AttributeError: float
The text was updated successfully, but these errors were encountered:
No branches or pull requests
---------below is my command and output--------
root@wangke-S2400SC:~/chainer-fast-neuralstyle# python train.py --style_image ./style.jpg --dataset ./train2014 --output ./models/my
num traning images: 40458
40458 iterations, 2 epochs
epoch 0
Traceback (most recent call last):
File "train.py", line 118, in
x[j] = load_image(imagepaths[i*batchsize + j], image_size)
File "train.py", line 22, in load_image
return xp.asarray(image, dtype=np.float32).transpose(2, 0, 1)
File "/usr/local/lib/python2.7/dist-packages/numpy/core/numeric.py", line 531, in asarray
return array(a, dtype, copy=False, order=order)
File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 528, in getattr
raise AttributeError(name)
AttributeError: float
The text was updated successfully, but these errors were encountered: