Instructions to use JackVines/ds_saliency_inference with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- TF-Keras
How to use JackVines/ds_saliency_inference with TF-Keras:
# Note: 'keras<3.x' or 'tf_keras' must be installed (legacy), and from_pretrained_keras was removed in huggingface_hub 1.0. # See https://github.com/keras-team/tf-keras for more details. # !pip install "huggingface_hub<1.0" tf_keras from huggingface_hub import from_pretrained_keras model = from_pretrained_keras("JackVines/ds_saliency_inference") - Notebooks
- Google Colab
- Kaggle
Download Dockerfile from JackVines/ds_saliency_inference: direct link, hf CLI and curl.
- Browser
- Download file 241 Bytes
-
https://huggingface.co/JackVines/ds_saliency_inference/resolve/main/Dockerfile
- Command line
-
hf download hf://JackVines/ds_saliency_inference/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/JackVines/ds_saliency_inference/resolve/main/Dockerfile
241 Bytes
| FROM python:3.10 | |
| WORKDIR /code | |
| COPY ./requirements.txt /code/requirements.txt | |
| RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt | |
| COPY ./app /code/app | |
| CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8080"] |