Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

Dockerfile-export 776 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  1. # Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license
  2. # Export-optimized derivative of ultralytics/ultralytics:latest for testing and benchmarks
  3. # Includes all export format dependencies and pre-installed export packages
  4. FROM ultralytics/ultralytics:latest
  5. # Install export dependencies and run exports to AutoInstall packages
  6. # Numpy 1.26.4 required due to TF export bug with torch 2.8
  7. RUN uv pip install --system -e ".[export]" "onnxruntime-gpu" tensorrt paddlepaddle x2paddle numpy==1.26.4 && \
  8. # Run exports to AutoInstall packages \
  9. yolo export model=yolo11n.pt format=edgetpu imgsz=32 && \
  10. yolo export model=yolo11n.pt format=ncnn imgsz=32 && \
  11. # Remove temporary files \
  12. rm -rf tmp /root/.config/Ultralytics/persistent_cache.json
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...