Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No inerence #21

Open
TDBTECHNO opened this issue Apr 23, 2023 · 0 comments
Open

No inerence #21

TDBTECHNO opened this issue Apr 23, 2023 · 0 comments

Comments

@TDBTECHNO
Copy link

Hi
I am training YOLOV5n Model and using annotate.py when i use pytorch model, it detects successfully
but when i export it to onnx, no inference at all.

Train cmd: python train.py --cfg ./models_v5.0/yolov5n.yaml --recipe ../recipes/yolov5.transfer_learn_pruned_quantized.md --data data2/data.yaml --hyp data/hyps/hyp.scratch.yaml --weights yolov5n.pt --img 416 --batch-size 64 --optimizer SGD

Export: python export.py --weights runs/train/exp21/weights/best.pt --include onnx --imgsz 416 --dynamic --simplify

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant