Easy way to deploy YOLOv5 object detection model with Streamlit.
Please feel free to use/edit.
codes modified by GitHub/thepbordin from GitHub/zhoroh
Clone This repo and read install instruction from Installation Guide.
-
Support large model file. (Don't require GitLFS; Download model from URL)
-
Support small model file. (<100MB; uploaded to github repository)
-
Select images randomly by slider from test set
-
Upload image/video
-
Select computing device (cuda/cpu)
configs can be found in app.py
-
Upload model to Internet Archive
-
Go to your uploaded file page.
-
From "DOWNLOAD OPTIONS" select "SHOW ALL".
-
Right click at .pt and Copy link address.
-
Edit config in app.py
-
cfg_enable_url_download = True
-
url = ""
-
cfg_enable_url_download = True
url = "your_model_url"
Edit config in app.py
## CFG
cfg_model_path = "models/your_model_name.pt"