Skip to content

Commit 6df67f3

Browse files
authored
Update dependencies in Dockerfile
Removed keras from installation and added opencv-python to the pip install command.
1 parent d9f3f36 commit 6df67f3

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

Dockerfile.dependencies

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -247,12 +247,10 @@ RUN mkdir -p ${PKGTMPDIR} && cd ${PKGTMPDIR} \
247247
&& echo "python -m pip install torch==1.13.1+cu117 torchvision==0.14.1+cu117 torchaudio==0.13.1 --extra-index-url https://download.pytorch.org/whl/cu117" \
248248
&& echo "Due to container high storage usage, Tensorflow was removed - it's only used on yahoo image detection - if you want to use it, uncomment the following line:" \
249249
&& echo "python -m pip install tensorflow==2.9.1 tensorrt==8.5.3.1" \
250-
&& python -m pip install keras \
251-
pillow \
252-
bs4 \
253-
face_recognition \
250+
&& python -m pip install face_recognition \
251+
opencv-python==4.11.0.86 \
254252
&& python -m pip install --force-reinstall numpy==1.26.4 \
255-
&& pip install opencv-python==4.11.0.86 \
253+
\
256254
&& echo "#####################################" \
257255
&& echo "Cleaning UP the container " \
258256
&& echo "#####################################" \

0 commit comments

Comments
 (0)