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

Docker run: {"detail":"Not Found"} #40

Open
Wheest opened this issue May 25, 2022 · 0 comments
Open

Docker run: {"detail":"Not Found"} #40

Wheest opened this issue May 25, 2022 · 0 comments

Comments

@Wheest
Copy link

Wheest commented May 25, 2022

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant