about error of nnabla_cli

34 views
Skip to first unread message

tozuk...@gmail.com

unread,
Oct 29, 2018, 5:57:34 AM10/29/18
to Neural Network Console Users


>nnabla_cli forward -c c:\sony\net.nntxt -p c:\sony\parameters.h5 -d c:\sony\t32.csv -o c:\sony\
2018-10-29 18:51:26,434 [nnabla][INFO]: Initializing CPU extension...
2018-10-29 18:51:28,027 [nnabla][INFO]: use skimage for the backend of image utils
NNabla command line interface (Version 1.0.8, Build 181005012611)
2018-10-29 18:51:28,840 [nnabla][INFO]: Parameter load (<built-in function format>): c:\sony\parameters.h5
2018-10-29 18:51:29,043 [nnabla][INFO]: DataSource with shuffle(False)
2018-10-29 18:51:29,043 [nnabla][INFO]: Using DataSourceWithMemoryCache
2018-10-29 18:51:29,043 [nnabla][INFO]: DataSource with shuffle(False)
c:\users\koudu\anaconda3\envs\nnabla\lib\site-packages\skimage\io\_io.py:49: UserWarning: `as_grey` has been deprecated in favor of `as_gray`
  warn('`as_grey` has been deprecated in favor of `as_gray`')
2018-10-29 18:51:29,058 [nnabla][INFO]: On-memory
2018-10-29 18:51:29,058 [nnabla][INFO]: Using DataIterator
Traceback (most recent call last):
  File "c:\users\koudu\anaconda3\envs\nnabla\lib\site-packages\nnabla\utils\cli\cli.py", line 117, in cli_main
    return_value = args.func(args)
  File "c:\users\koudu\anaconda3\envs\nnabla\lib\site-packages\nnabla\utils\cli\forward.py", line 214, in forward_command
    result, outputs = _forward(args, index, config, data, di.variables)
  File "c:\users\koudu\anaconda3\envs\nnabla\lib\site-packages\nnabla\utils\cli\forward.py", line 123, in _forward
    np.reshape(data[vind], v.variable_instance.d.shape))
  File "c:\users\koudu\anaconda3\envs\nnabla\lib\site-packages\numpy\core\fromnumeric.py", line 279, in reshape
    return _wrapfunc(a, 'reshape', newshape, order=order)
  File "c:\users\koudu\anaconda3\envs\nnabla\lib\site-packages\numpy\core\fromnumeric.py", line 51, in _wrapfunc
    return getattr(obj, method)(*args, **kwds)
ValueError: cannot reshape array of size 65536 into shape (64,3,32,32)

初めまして。 上記エラーが直りません。アドバイスをお願いします。
Reply all
Reply to author
Forward
0 new messages