Git Product home page Git Product logo

Comments (4)

Narsil avatar Narsil commented on June 9, 2024 1

I don't think theré s a resnet18 model, you might be looking for timm/resnet50.a1_in1k (or friends)

from api-inference-community.

Narsil avatar Narsil commented on June 9, 2024

Yes, this try to build the docker image, which installs pydantic v2 (which is not working on the api-inference-community 's version.

You can try to simply to upgrade api-inference-community to 0.0.32 within the docker_images/timm/requirements.txt file.

from api-inference-community.

Narsil avatar Narsil commented on June 9, 2024

Closing tentatively, feel free to reopen.

from api-inference-community.

taoari avatar taoari commented on June 9, 2024

@Narsil Thank you very much for the reply! I have successfully set up the docker server now. However, when I use the curl command to do image classification with the timm framework for a test, I got the following error. Do you happen to know what did I doing wrong?

curl -X POST 172.23.72.43:8000 -d @cat.png

{"error":"401 Client Error. (Request ID: Root=1-64b6eff9-34148a5d727e012835e8e809;270acbbd-6191-40ff-bb1b-06f3a02d2ebc)\n\nRepository Not Found for url: https://huggingface.co/resnet18/resolve/main/config.json.\nPlease make sure you specified the correct `repo_id` and `repo_type`.\nIf you are trying to access a private or gated repo, make sure you are authenticated.\nInvalid username or password."}

from api-inference-community.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.