Update Dockerfile pip install -U pycocotools (#10606)
* Update Dockerfile `pip install -U pycocotools` Previous command not working. Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com> * Update Dockerfile Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com> Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
1 parent
8ca1826134
commit
65071da718
1 file changed
+2
-1
@@ -16,8 +16,9 @@ RUN apt update && apt install --no-install-recommends -y zip htop screen libgl1-
|
|||||||
COPY requirements.txt .
|
COPY requirements.txt .
|
||||||
RUN python -m pip install --upgrade pip wheel
|
RUN python -m pip install --upgrade pip wheel
|
||||||
RUN pip uninstall -y Pillow torchtext torch torchvision
|
RUN pip uninstall -y Pillow torchtext torch torchvision
|
||||||
|
RUN pip install --no-cache -U pycocotools # install --upgrade
|
||||||
RUN pip install --no-cache -r requirements.txt albumentations comet gsutil notebook 'opencv-python<4.6.0.66' \
|
RUN pip install --no-cache -r requirements.txt albumentations comet gsutil notebook 'opencv-python<4.6.0.66' \
|
||||||
Pillow>=9.1.0 pycocotools>=2.0.6 ultralytics \
|
Pillow>=9.1.0 ultralytics \
|
||||||
--extra-index-url https://download.pytorch.org/whl/cu113
|
--extra-index-url https://download.pytorch.org/whl/cu113
|
||||||
|
|
||||||
# Create working directory
|
# Create working directory
|
||||||
|
|||||||
Reference in new issue
Block a user