rahul003 commented on issue #10283: [MXNET-242][Tutorial] Fine-tuning ONNX model in Gluon
URL: https://github.com/apache/incubator-mxnet/pull/10283#issuecomment-377768765
@ThomasDelteil Could you remove the break and run through all the batches?
This is what I get with that change to the above script.
```
/home/ubuntu/anaconda3/lib/python3.6/site-packages/h5py/__init__.py:34: FutureWarning:
Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated.
In future, it will be treated as `np.float64 == np.dtype(float).type`.
from ._conv import register_converters as _register_converters
/home/ubuntu/anaconda3/lib/python3.6/site-packages/urllib3/contrib/pyopenssl.py:46: DeprecationWarning:
OpenSSL.rand is deprecated - you should use os.urandom instead
import OpenSSL.SSL
Train dataset: 6996 images, Test dataset: 1681 images
(32, 3, 224, 224) (32,)
(32, 3, 224, 224) (32,)
(32, 3, 224, 224) (32,)
(32, 3, 224, 224) (32,)
(32, 3, 224, 224) (32,)
(32, 3, 224, 224) (32,)
(32, 3, 224, 224) (32,)
(32, 3, 224, 224) (32,)
(32, 3, 224, 224) (32,)
(32, 3, 224, 224) (32,)
(32, 3, 224, 224) (32,)
(32, 3, 224, 224) (32,)
(32, 3, 224, 224) (32,)
(32, 3, 224, 224) (32,)
(32, 3, 224, 224) (32,)
(32, 3, 224, 224) (32,)
(32, 3, 224, 224) (32,)
(32, 3, 224, 224) (32,)
(32, 3, 224, 224) (32,)
(32, 3, 224, 224) (32,)
(32, 3, 224, 224) (32,)
(32, 3, 224, 224) (32,)
(32, 3, 224, 224) (32,)
(32, 3, 224, 224) (32,)
(32, 3, 224, 224) (32,)
(32, 3, 224, 224) (32,)
(32, 3, 224, 224) (32,)
(32, 3, 224, 224) (32,)
(32, 3, 224, 224) (32,)
(32, 3, 224, 224) (32,)
(32, 3, 224, 224) (32,)
(32, 3, 224, 224) (32,)
(32, 3, 224, 224) (32,)
(32, 3, 224, 224) (32,)
(32, 3, 224, 224) (32,)
(32, 3, 224, 224) (32,)
(32, 3, 224, 224) (32,)
(32, 3, 224, 224) (32,)
(32, 3, 224, 224) (32,)
(32, 3, 224, 224) (32,)
(32, 3, 224, 224) (32,)
(32, 3, 224, 224) (32,)
(32, 3, 224, 224) (32,)
(32, 3, 224, 224) (32,)
(32, 3, 224, 224) (32,)
(32, 3, 224, 224) (32,)
(32, 3, 224, 224) (32,)
(32, 3, 224, 224) (32,)
(32, 3, 224, 224) (32,)
(32, 3, 224, 224) (32,)
(32, 3, 224, 224) (32,)
(32, 3, 224, 224) (32,)
(32, 3, 224, 224) (32,)
OpenCV Error: Assertion failed (!buf.empty() && buf.isContinuous()) in imdecode_,
file /home/ubuntu/src/opencv/modules/imgcodecs/src/loadsave.cpp, line 562
terminate called after throwing an instance of 'cv::Exception'
what(): /home/ubuntu/src/opencv/modules/imgcodecs/src/loadsave.cpp:562: error: (-215)
!buf.empty() && buf.isContinuous() in function imdecode_
(32, 3, 224, 224) (32,)
(32, 3, 224, 224) (32,)
(32, 3, 224, 224) (32,)
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
|