Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Ean7
/
YOLOv10
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
b875193
YOLOv10
/
flops.py
Ean Yang
εε§ει¨η½²
69a5bd9
9 months ago
raw
Copy download link
history
blame
Safe
212 Bytes
from
ultralytics
import
YOLOv10
model = YOLOv10(
'yolov10n.yaml'
)
model.model.model[-
1
].export =
True
model.model.model[-
1
].
format
=
'onnx'
del
model.model.model[-
1
].cv2
del
model.model.model[-
1
].cv3
model.fuse()