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

Why do the results show none when I want to test with benchmarks.py? #516

Open
skyceeee opened this issue Jun 26, 2024 · 1 comment
Open

Comments

@skyceeee
Copy link

I used this cammend :

!python benchmarks.py --weights /content/drive/MyDrive/yolov9new/480resultperson/480yolov9-s/weights/best.pt --imgsz 480 --data /content/drive/MyDrive/yolov9new/dataset2.yaml

and the result is like this

I0626 05:59:46.257514 3130 analysis_predictor.cc:1838] ======= optimize end =======
I0626 05:59:46.266160 3130 naive_executor.cc:200] --- skip [feed], feed -> x0
I0626 05:59:46.271584 3130 naive_executor.cc:200] --- skip [save_infer_model/scale_0.tmp_0], fetch -> fetch
I0626 05:59:46.271602 3130 naive_executor.cc:200] --- skip [save_infer_model/scale_1.tmp_0], fetch -> fetch
Forcing --batch-size 1 square inference (1,3,480,480) for non-PyTorch models
WARNING ⚠️ Benchmark failure for PaddlePaddle: name 'opt' is not defined

benchmarks: weights=/content/drive/MyDrive/yolov9new/480resultperson/480yolov9-s/weights/best.pt, imgsz=480, batch_size=1, data=/content/drive/MyDrive/yolov9new/dataset2.yaml, device=, half=False, test=False, pt_only=False, hard_fail=False
Checking setup...
YOLO 🚀 v0.1-104-g5b1ea9a Python-3.10.12 torch-2.3.0+cu121 CUDA:0 (Tesla T4, 15102MiB)
Setup complete ✅ (8 CPUs, 51.0 GB RAM, 51.8/201.2 GB disk)

Benchmarks complete (149.89s)
Format Size (MB) mAP50-95 Inference time (ms)
0 PyTorch None None None
1 TorchScript None None None
2 ONNX None None None
3 ONNX END2END None None None
4 OpenVINO None None None
5 TensorRT None None None
6 CoreML None None None
7 TensorFlow SavedModel None None None
8 TensorFlow GraphDef None None None
9 TensorFlow Lite None None None
10 TensorFlow Edge TPU None None None
11 TensorFlow.js None None None
12 PaddlePaddle None None None

why is this so?

@YOOHYOJEONG
Copy link

Hi,
Did you solve it?
I'm having the same problem...

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

2 participants