Skip to content

Instantly share code, notes, and snippets.

Created March 25, 2022 06:28
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save strickvl/956f233ab53b3b56d463aebb95d7104c to your computer and use it in GitHub Desktop.
# ------------- ALL THIS REQUIRED FOR PAPERSPACE -------------
FROM python:3.9.10
# Install base utilities
RUN apt-get update && \
# apt-get install -y build-essentials && \
apt-get install -y wget && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
# Install miniconda
ENV CONDA_DIR /opt/conda
RUN wget --quiet -O ~/ && \
/bin/bash ~/ -b -p /opt/conda
# Put conda in path so we can use conda activate
RUN pip install -U pip -qqq
RUN conda install -y -c conda-forge jupyterlab
# ------------- FROM HERE ON IS MY ICEVISISION SETUP -------------
RUN wget && bash cuda11 && rm
RUN pip install torchtext==0.11.0 --upgrade
RUN pip install opencv-python ipywidgets icevision-dashboards
RUN apt update && apt install -y libsm6 libxext6
RUN apt-get install -y libxrender-dev
CMD make lfs && git lfs pull
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment