You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wait like 5-6 minutes because it takes a longgg time to initially download everthing
Check docker ps. You should have two services running
Confirm healthcheck by running curl 0.0.0.0:4000/v1/healthcheck
Copy the file into the docker go container with docker cp ./classifier/image.jpg [container-id]:/app/image.jpg
Kinda untested
curl -X GET 0.0.0.0:4000/v1/classifier -H 'Content-Type: application/json' -d '{"imgurl": "image.jpg"}'
Run the inference part with the above command, this should theoretically work but this crashed my docker so I'm guessing my laptop is not meant to run classifiers. Or maybe the command is wrong. This is why it's untested.