RUN sed -i 's/http:\/\/archive.ubuntu.com\/ubuntu\//http:\/\/mirrors.163.com\/ubuntu\//g' /etc/apt/sources.list RUN apt update RUN apt -y upgrade RUN apt install -y gcc-9 RUN apt install -y g++-9 RUN apt install -y libstdc++6 RUN apt install -y vim RUN apt-get install zip unzip
# install conda RUN apt install -y wget RUN wget https://repo.anaconda.com/miniconda/Miniconda3-py38_23.5.0-3-Linux-x86_64.sh RUN bash Miniconda3-py38_23.5.0-3-Linux-x86_64.sh -p /miniconda -b RUN rm Miniconda3-py38_23.5.0-3-Linux-x86_64.sh ENV PATH=/miniconda/bin:${PATH} RUN conda update -y conda RUN conda init
# install envs RUN conda install -y -c omgarcia gcc-6 RUN conda install -y libgcc ENV LD_LIBRARY_PATH=/miniconda/lib/:$LD_LIBRARY_PATH RUN conda install -y pytorch==1.12.0 torchvision==0.13.0 cudatoolkit=11.3 -c pytorch RUN conda install -y gdal -c conda-forge RUN conda update poppler -y -c conda-forge RUN pip install albumentations fire tqdm ipdb timm geojson RUN pip install tensorboard pytorch_tabnet ttach yimage RUN pip install pyproj addict yapf pyshp shapely RUN pip install einops fvcore pycocotools matplotlib RUN pip install prettytable RUN pip install setuptools==59.5.0 RUN pip install monai