You are viewing a plain text version of this content. The canonical link for it is here.
Posted to discuss-archive@mxnet.apache.org by dhpancha via MXNet Forum <mx...@discoursemail.com.INVALID> on 2021/04/07 04:34:53 UTC

[MXNet Forum] MXNetError: ImageRec need opencv to process


I want to train a deep learning model using Nvidia Xavier NX script on Mxnet and keep encountering the following error and I'm not sure what the issue is:

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

It keeps saying that it needs Opencv even though I have Opencv 4.5 installed on there. I looked elsewhere on the internet and and it mentioned to make USE_OPENCV = 1 on your config.mk file but that didn't make a difference. Does anyone have any ideas on what could be the issue? Thanks.





---
[Visit Topic](https://discuss.mxnet.apache.org/t/mxneterror-imagerec-need-opencv-to-process/6927/1) or reply to this email to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](https://discuss.mxnet.apache.org/email/unsubscribe/db94ce0fb89571aa05a408cde992c2375997c1946c1889fc241ffe77048d640c).