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

safe deploy #6642

Closed
1 task done
MuhammadKhalid3975 opened this issue Feb 15, 2022 · 6 comments
Closed
1 task done

safe deploy #6642

MuhammadKhalid3975 opened this issue Feb 15, 2022 · 6 comments
Labels
question Further information is requested Stale Stale and schedule for closing soon

Comments

@MuhammadKhalid3975
Copy link

Search before asking

Question

what's considered a copy-safe, no one can copy models weights for any purpose, export method supported by export.py script in this repo?

Thank you in advance

Additional

No response

@MuhammadKhalid3975 MuhammadKhalid3975 added the question Further information is requested label Feb 15, 2022
@glenn-jocher
Copy link
Member

@MuhammadKhalid3975 I don't understand the question.

@MuhammadKhalid3975
Copy link
Author

I want to safely deploy an application that uses yolov5 model on someone laptop, I asked about model file format that will disable others from hacking the model weights.
Thank you

@glenn-jocher
Copy link
Member

glenn-jocher commented Feb 15, 2022

@MuhammadKhalid3975

Formats

YOLOv5 inference is officially supported in 11 formats:

Format export.py --include Model
PyTorch - yolov5s.pt
TorchScript torchscript yolov5s.torchscript
ONNX onnx yolov5s.onnx
OpenVINO openvino yolov5s_openvino_model/
TensorRT engine yolov5s.engine
CoreML coreml yolov5s.mlmodel
TensorFlow SavedModel saved_model yolov5s_saved_model/
TensorFlow GraphDef pb yolov5s.pb
TensorFlow Lite tflite yolov5s.tflite
TensorFlow Edge TPU edgetpu yolov5s_edgetpu.tflite
TensorFlow.js tfjs yolov5s_web_model/

See export tutorial for more details.

YOLOv5 Tutorials

Good luck 🍀 and let us know if you have any other questions!

@github-actions
Copy link
Contributor

github-actions bot commented Mar 18, 2022

👋 Hello, this issue has been automatically marked as stale because it has not had recent activity. Please note it will be closed if no further activity occurs.

Access additional YOLOv5 🚀 resources:

Access additional Ultralytics ⚡ resources:

Feel free to inform us of any other issues you discover or feature requests that come to mind in the future. Pull Requests (PRs) are also always welcomed!

Thank you for your contributions to YOLOv5 🚀 and Vision AI ⭐!

@github-actions github-actions bot added the Stale Stale and schedule for closing soon label Mar 18, 2022
@Yangly0
Copy link

Yangly0 commented Mar 19, 2022

FYI, @MuhammadKhalid3975, you should encode your weight by postprocessing, and decode your weight when loading weight.

@github-actions github-actions bot removed the Stale Stale and schedule for closing soon label Mar 20, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Apr 20, 2022

👋 Hello, this issue has been automatically marked as stale because it has not had recent activity. Please note it will be closed if no further activity occurs.

Access additional YOLOv5 🚀 resources:

Access additional Ultralytics ⚡ resources:

Feel free to inform us of any other issues you discover or feature requests that come to mind in the future. Pull Requests (PRs) are also always welcomed!

Thank you for your contributions to YOLOv5 🚀 and Vision AI ⭐!

@github-actions github-actions bot added the Stale Stale and schedule for closing soon label Apr 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested Stale Stale and schedule for closing soon
Projects
None yet
Development

No branches or pull requests

3 participants