I have done git clone https://github.com/AlexeyAb/darknet.git to get the yolov4 model inside my project folder in linux. After the cloning, the repo was cloned into a folder (directory) named darknet. Then, i have installed onnx, protobuf and onnxruntime with pip install. After that, i have downloaded export_onnx.py and then moved the code to the root of darknet directory. Then, i ran the code with this command: python3 export_onnx.py --cfg_file cfg/yolov4.cfg --weights_file yolov4.weights --output_file yolov4.onnx . After running this command, i saw the message: "Illegal instruction (core dumped)" on my terminal. Just few seconds later, a window telling me that "Python has stopped" popped up. I am currently using Jetson nano. Where did i do wrong?
Hello,
I have done
git clone https://github.com/AlexeyAb/darknet.git
to get the yolov4 model inside my project folder in linux. After the cloning, the repo was cloned into a folder (directory) named darknet. Then, i have installed onnx, protobuf and onnxruntime with pip install. After that, i have downloaded export_onnx.py and then moved the code to the root of darknet directory. Then, i ran the code with this command:python3 export_onnx.py --cfg_file cfg/yolov4.cfg --weights_file yolov4.weights --output_file yolov4.onnx
. After running this command, i saw the message: "Illegal instruction (core dumped)" on my terminal. Just few seconds later, a window telling me that "Python has stopped" popped up. I am currently using Jetson nano. Where did i do wrong?Kindest regards,