Heroku [deployement] 'NameError: name 'model' is not defined'
chiragkava opened this issue · comments
Chirag Kava commented
Works fine in local machine but when i try to deploy on heroku and upload the image for inference it gives error 500
internal server error.
Here is the heroku log
Any idea why this is happening. sorry if it is trivial question.
Steps to recreate
- Clone this repo
- modify requirements file (just copy yolov5 req.txt to current one)
- Add procfile (web: gunicorn app:app --log-level debug)
- deploy on heroku
Robin Cole commented
I dont know anything about Heroku - might be more logs somewhere with error installing yolo
Robin Cole commented
t
@chiragkava try latest release on master
Chirag Kava commented
Thanks for the help, there was problem from my side did a clean install of all library (updated version) and worked for me !