Skip to content

Commit

Permalink
Merge pull request #9 from FelipeCabelloE:master
Browse files Browse the repository at this point in the history
base docker image changed to YOLO one
  • Loading branch information
FelipeCabelloE authored Nov 24, 2023
2 parents ca8d1b4 + 3b60707 commit b59a4df
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 13 deletions.
5 changes: 2 additions & 3 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
FROM python:3.11
RUN pip install --no-cache-dir --upgrade pip
FROM ultralytics/ultralytics:8.0.216-cpu
COPY requirements.txt /tmp/
RUN pip install --quiet --no-cache-dir -r /tmp/requirements.txt
RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y
#RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y

WORKDIR /workspaces/solarathon-team5/
ENV PYTHONPATH=/workspaces/solarathon-team5/
Expand Down
8 changes: 4 additions & 4 deletions .devcontainer/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
solara==1.23.0
Pillow==10.1.0
opencv-python==4.8.1.78
ultralytics==8.0.215
numpy==1.26.2
#Pillow==10.1.0
#opencv-python==4.8.1.78
#ultralytics==8.0.215
#numpy==1.26.2
plotly==5.18.0
6 changes: 4 additions & 2 deletions ploomber/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
FROM python:3.11
#FROM python:3.11
FROM ultralytics/ultralytics:8.0.216-cpu

RUN pip install --no-cache-dir --upgrade pip
#RUN pip install --no-cache-dir --upgrade pip
#RUN pip install --pre torch torchvision --force-reinstall --index-url https://download.pytorch.org/whl/nightly/cpu
RUN mkdir wheels
COPY wheels/*.whl wheels
RUN pip install wheels/*.whl
Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ description = "Template project for Solarathon 2023"
version = "0.0.1"
dependencies = [
"solara==1.23.0",
"Pillow==10.1.0",
"opencv-python==4.8.1.78",
"ultralytics==8.0.215",
"numpy==1.26.2",
# "Pillow==10.1.0",
# "opencv-python==4.8.1.78",
# "ultralytics==8.0.215",
# "numpy==1.26.2",
"plotly==5.18.0"
]

Expand Down

0 comments on commit b59a4df

Please sign in to comment.