You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/06/26 23:54:21 UTC
[GitHub] marcoabreu opened a new issue #11407: Corrupt image fails Caffe
converter test
marcoabreu opened a new issue #11407: Corrupt image fails Caffe converter test
URL: https://github.com/apache/incubator-mxnet/issues/11407
http://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/incubator-mxnet/detail/PR-11358/9/pipeline
```
INFO:root:getting image http://writm.com/wp-content/uploads/2016/08/Cat-hd-wallpapers.jpg
OpenCV(3.4.1) Error: Assertion failed (scn == 3 || scn == 4) in cvtColor, file /io/opencv/modules/imgproc/src/color.cpp, line 11115
Traceback (most recent call last):
File "tools/caffe_converter/test_converter.py", line 108, in <module>
main()
File "tools/caffe_converter/test_converter.py", line 102, in main
test_model_weights_and_outputs(m, args.image_url, gpus[0])
File "tools/caffe_converter/test_converter.py", line 77, in test_model_weights_and_outputs
mean_diff_allowed=1e-03, max_diff_allowed=1e-01)
File "/work/mxnet/tools/caffe_converter/compare_layers.py", line 120, in convert_and_compare_caffe_to_mxnet
img_rgb = read_image(image_url, image_dims, caffe_mean)
File "/work/mxnet/tools/caffe_converter/compare_layers.py", line 51, in read_image
img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)
cv2.error: OpenCV(3.4.1) /io/opencv/modules/imgproc/src/color.cpp:11115: error: (-215) scn == 3 || scn == 4 in function cvtColor
build.py: 2018-06-26 22:42:35,570 Running of command in container failed (1): nvidia-docker run --rm -t --shm-size=500m -v /home/jenkins_slave/workspace/it-caffe:/work/mxnet -v /home/jenkins_slave/workspace/it-caffe/build:/work/build -v /tmp/ci_ccache:/work/ccache -u 1001:1001 -e CCACHE_MAXSIZE=500G -e CCACHE_TEMPDIR=/tmp/ccache -e CCACHE_DIR=/work/ccache -e CCACHE_LOGFILE=/tmp/ccache.log mxnetci/build.ubuntu_gpu /work/runtime_functions.sh integrationtest_ubuntu_gpu_caffe
build.py: 2018-06-26 22:42:35,570 You can try to get into the container by using the following command: nvidia-docker run --rm -t --shm-size=500m -v /home/jenkins_slave/workspace/it-caffe:/work/mxnet -v /home/jenkins_slave/workspace/it-caffe/build:/work/build -v /tmp/ci_ccache:/work/ccache -u 1001:1001 -ti --entrypoint /bin/bash -e CCACHE_MAXSIZE=500G -e CCACHE_TEMPDIR=/tmp/ccache -e CCACHE_DIR=/work/ccache -e CCACHE_LOGFILE=/tmp/ccache.log mxnetci/build.ubuntu_gpu /work/runtime_functions.sh integrationtest_ubuntu_gpu_caffe
Traceback (most recent call last):
File "ci/build.py", line 358, in <module>
sys.exit(main())
File "ci/build.py", line 291, in main
command=command, docker_registry=args.docker_registry, local_ccache_dir=args.ccache_dir)
File "ci/build.py", line 185, in container_run
raise subprocess.CalledProcessError(ret, cmd)
subprocess.CalledProcessError: Command 'nvidia-docker run --rm -t --shm-size=500m -v /home/jenkins_slave/workspace/it-caffe:/work/mxnet -v /home/jenkins_slave/workspace/it-caffe/build:/work/build -v /tmp/ci_ccache:/work/ccache -u 1001:1001 -e CCACHE_MAXSIZE=500G -e CCACHE_TEMPDIR=/tmp/ccache -e CCACHE_DIR=/work/ccache -e CCACHE_LOGFILE=/tmp/ccache.log mxnetci/build.ubuntu_gpu /work/runtime_functions.sh integrationtest_ubuntu_gpu_caffe' returned non-zero exit status 1
script returned exit code 1
```
----------------------------------------------------------------
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