tf_trt_models
tf_trt_models copied to clipboard
Import Error: numpy.core.multiarray failed to import when running camera_tf_trt.py in real time and in my own dataset
Hi, First of all thank you for the tutorial. When I'm using camera_tf_trt.py in image huskies I got the detection properly. But can't do in the real time . My training dataset is different , not hands but I followed the steps, and again got the same error , could you please help me.
--build
INFO:main:called with args: Namespace(conf_th=0.3, do_build=True, do_tensorboard=False, filename='data/image9.jpg', image_height=720, image_width=1280, labelmap_file='data/object-detection_1.pbtxt', model='ssd_mobilenet_v1_egohands', num_classes=2, rtsp_latency=200, rtsp_uri=None, use_file=False, use_image=True, use_rtsp=False, use_usb=False, video_dev=1)
INFO:main:reading label map
INFO:main:building TRT graph and saving to pb: ./data/ssd_mobilenet_v1_egohands_trt.pb
ImportError: No module named 'numpy.core._multiarray_umath'
Traceback (most recent call last):
File "camera_tf_trt.py", line 244, in
I tried to update numpy. but still shows the same error. Could anyone please help me. Thanking you in advance
@ruksin Can you tell me where is camera_tf_trt.py file? how we can run on our own models?
I don't remember much, what I have done to solve these errors. I followed a blog https://jkjung-avt.github.io Follow these. Its a great help to train on custom dataset.
Thank you very much. Before I was using another repo that's why I was confused.