Been following the jetson-inference guide but immediately got an error at the beginning of training images, in the DetectNet-COCO-Dog model example. The error is:
ERROR: error code -11
Setting up coverage_loss
Top shape: (1)
with loss weight 1
Memory required for data: 540387272
Creating layer cluster
I installed digits correctly, and just ran some tests and my NVCaffe and cuDNN are also working. I installed OpenCV and CUDA from the newest Jetpack installer and they seem to be working fine. My PC spec is i5 8600K, 32 GB RAM and SSD. Here’s my nvidia-smi:
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 384.111 Driver Version: 384.111 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 1070 Off | 00000000:01:00.0 On | N/A |
| 0% 44C P8 9W / 151W | 700MiB / 8110MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 1004 G /usr/lib/xorg/Xorg 498MiB |
| 0 1784 G compiz 108MiB |
| 0 2940 C python2 89MiB |
+-----------------------------------------------------------------------------+
Thanks! That solution worked, but I’m getting errors during training too, always at around 13%…
[ERROR] Train Caffe Model task failed with error code 1
Log file:
OpenCV Error: The function/feature is not implemented (Unknown/unsupported array type) in type, file /home/om/test/opencv/opencv/modules/core/src/matrix.cpp, line 2034
OpenCV Error: The function/feature is not implemented (Unknown/unsupported array type) in type, file /home/om/test/opencv/opencv/modules/core/src/matrix.cpp, line 2034
Traceback (most recent call last):
File "/home/shuo/caffe/python/caffe/layers/detectnet/clustering.py", line 133, in forward
bbox = cluster(self, data0, bottom[1].data)
File "/home/shuo/caffe/python/caffe/layers/detectnet/clustering.py", line 227, in cluster
boxes_cur_image = vote_boxes(propose_boxes, propose_cvgs, mask, self)
File "/home/shuo/caffe/python/caffe/layers/detectnet/clustering.py", line 193, in vote_boxes
self.gridbox_rect_eps)
cv2.error: /home/om/test/opencv/opencv/modules/core/src/matrix.cpp:2034: error: (-213) Unknown/unsupported array type in function type
It looks like an openCV problem. I searched on google but didn’t get any solutions. I installed OpenCV 3 by the Jetpack installer, and python can successfully import cv2 also, so not sure where the problem is.
Suppose you are running DIGITs on an x86 Linux environment.
You need to install OpenCV by yourself since the package contained in JetPack is for aarch64 system.
If you have well-installed the OpenCV for host, please try this command: