Docker run: {"detail":"Not Found"}
Wheest opened this issue · 0 comments
Wheest commented
I am following the Replicate docs for this model to run on my own machine https://replicate.com/rmokady/clip_prefix_caption
I can run Docker fine with docker run -d -p 5000:5000 --gpus=all r8.im/rmokady/clip_prefix_caption@sha256:d703881e7b50eb009779b7e1e79d394639df0af71be28c4100f88c03fdccdbf0
However when I run curl, all inputs give {"detail":"Not Found"}
E.g.:
$ curl http://localhost:5000/predict -X POST \
-F image=@red_panda.jpg \
-F model=conceptual-captions \
-F use_beam_search=False
{"detail":"Not Found"}
$ curl http://localhost:5000/predict -X POST \
-F image=@red_panda.jpg \
-F model=coco \
-F use_beam_search=False
{"detail":"Not Found"}
I'm inferring that coco/conceptual-captions are the correct model names to use in this context, however I get the same output ({"detail":"Not Found"}
) passing other strings (e.g., -F model=example \
). Is there something I'm missing/could the docs be made clearer?