我正在尝试在 Mxnet 上使用 Nvidia Xavier NX 脚本训练深度学习模型,但一直遇到以下错误,我不确定问题是什么:
$ python3 fine_tune_cars.py --vgg vgg16/vgg16 --checkpoints data/checkpoints --prefix vggnet
Traceback (most recent call last):
File "fine_tune_cars.py", line 36, in <module>
preprocess_threads=config.NUM_DEVICES * 2)
File "/usr/local/lib/python3.6/dist-packages/mxnet/io/io.py", line 969, in creator
ctypes.byref(iter_handle)))
File "/usr/local/lib/python3.6/dist-packages/mxnet/base.py", line 246, in check_call
raise get_last_ffi_error()
mxnet.base.MXNetError: Traceback (most recent call last):
File "/home/nvidia/mxnet/mxnet/src/io/iter_image_recordio_2.cc", line 260
MXNetError: ImageRec need opencv to process
它一直说它需要 Opencv,即使我在那里安装了 Opencv 4.5。我在互联网上的其他地方查看,它提到在您的 config.mk 文件上设置 USE_OPENCV = 1 但这并没有什么不同。有人有想法么?谢谢。