Skip to content

Commit

Permalink
installing sscd requirements directly in dockerfile instead from requ…
Browse files Browse the repository at this point in the history
…irment.txt
  • Loading branch information
ahmednasserswe committed Nov 10, 2023
1 parent 40e5bcf commit bcc77e3
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,20 @@ WORKDIR /app
ENV DEBIAN_FRONTEND=noninteractive

RUN git clone https://github.com/facebookresearch/sscd-copy-detection.git
RUN cd sscd-copy-detection && python -m pip install -r ./requirements.txt
#RUN pip install pytorch-lightning==1.5.10
#RUN pip install lightning-bolts==0.4.0
#RUN pip install classy_vision
#RUN pip install torch
#RUN pip install torchvision
#RUN pip install torchmetrics
#RUN pip install faiss-gpu
#RUN pip install augly
#RUN pip install pandas
#RUN pip install numpy
#RUN pip install tensorboard
#RUN mkdir models_files
RUN wget https://dl.fbaipublicfiles.com/sscd-copy-detection/sscd_disc_mixup.torchscript.pt
#RUN cd sscd-copy-detection && python -m pip install -r ./requirements.txt
RUN pip install pytorch-lightning==1.5.10
RUN pip install lightning-bolts==0.4.0
RUN pip install classy_vision
RUN pip install torch
RUN pip install torchvision
RUN pip install torchmetrics
RUN pip install faiss-gpu
RUN pip install augly
RUN pip install pandas
RUN pip install numpy
RUN pip install tensorboard
RUN mkdir models_files
#RUN wget https://dl.fbaipublicfiles.com/sscd-copy-detection/sscd_disc_mixup.torchscript.pt

RUN apt-get update && apt-get install -y ffmpeg cmake swig libavcodec-dev libavformat-dev git
RUN ln -s /usr/bin/ffmpeg /usr/local/bin/ffmpeg
Expand Down

1 comment on commit bcc77e3

@skyemeedan
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm curious why this is needed, requirements not working?

Please sign in to comment.