tensorturtle / classy-sort-yolov5

Ready-to-use realtime multi-object tracker that works for any object category. YOLOv5 + SORT implementation.
GNU General Public License v3.0
110 stars 29 forks source link

Illegal instruction (core dumped) running on dji manifold 2g (nvidia jetson tx2) #9

Closed fatbringer closed 2 years ago

fatbringer commented 2 years ago

Hello. I have tried running your tracker programme, however i have met with an illegal instruction core dumped error

I followed the install requirements.txt, as well as done the following to solve the tkinter error.

    import tkinter as tk
ModuleNotFoundError: No module named 'tkinter'

sudo apt-get install python3-tk

Thereafter, i got the illegal instruction core dump.

python classy_track.py --source 0 --view-img
WARNING: --img-size 1080 must be multiple of max stride 32, updating to 1088
Namespace(agnostic_nms=False, augment=False, classes=[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79], conf_thres=0.3, device='', fourcc='mp4v', img_size=1088, iou_thres=0.4, output='inference/output', save_img=False, save_txt=False, sort_iou_thresh=0.2, sort_max_age=5, sort_min_hits=2, source='0', view_img=True, weights='yolov5/weights/yolov5s.pt')
1/1: 0...  success (640x480 at 30.00 FPS).

Illegal instruction (core dumped)

My hardware specs are Platform: DJI Manifold 2G Ubuntu 18.04 LTS ARMv8 Processor rev 3 (v8l) × 4 ARMv8 Processor rev 0 (v8l) × 2 NVIDIA Tegra X2 (nvgpu)/integrated 64 bit 7.7gb memory

tensorturtle commented 2 years ago

Hello, thanks for the interest. This is the first time I'm hearing of the platform you're using and unfortunately I won't be able to replicate / fix this issue. Have you tried running ultralytics/YOLOv5 object detection? If this is an issue from the YOLOv5 part of my code, then asking the question on their Issues might get you more support. Best of luck to you

fatbringer commented 2 years ago

Hi tensorturtle. Yup indeed it gives illegal insturction (core dumped) using the ultralytics yolov5 repo too. I will post an issue there then. Thanks and have a good day :)