Update Dockerfile
Browse files- Dockerfile +6 -2
Dockerfile
CHANGED
@@ -26,8 +26,12 @@ WORKDIR $HOME/app
|
|
26 |
|
27 |
# Clone your repository or add your code to the container
|
28 |
RUN git clone -b main https://github.com/fffiloni/PASD $HOME/app
|
29 |
-
RUN pip
|
30 |
-
RUN pip install
|
|
|
|
|
|
|
|
|
31 |
RUN pip install -q https://download.pytorch.org/whl/cu121/xformers-0.0.22.post7-cp310-cp310-manylinux2014_x86_64.whl
|
32 |
|
33 |
RUN aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/akhaliq/RetinaFace-R50/resolve/main/RetinaFace-R50.pth -d $HOME/app/annotator/ckpts -o RetinaFace-R50.pth
|
|
|
26 |
|
27 |
# Clone your repository or add your code to the container
|
28 |
RUN git clone -b main https://github.com/fffiloni/PASD $HOME/app
|
29 |
+
RUN pip uninstall torchaudio
|
30 |
+
RUN pip install torchaudio
|
31 |
+
RUN pip install torch --upgrade
|
32 |
+
RUN pip install torchaudio --upgrade
|
33 |
+
RUN pip install torchvision
|
34 |
+
RUN pip install -q gradio gradio_imageslider diffusers accelerate basicsr ultralytics salesforce-lavis webdataset pytorch_lightning
|
35 |
RUN pip install -q https://download.pytorch.org/whl/cu121/xformers-0.0.22.post7-cp310-cp310-manylinux2014_x86_64.whl
|
36 |
|
37 |
RUN aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/akhaliq/RetinaFace-R50/resolve/main/RetinaFace-R50.pth -d $HOME/app/annotator/ckpts -o RetinaFace-R50.pth
|