This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# DISCLAIMER: This is what worked for me, there may be redunant steps in here or things that could have been | |
# done easier! Please let me know if you find improvements so I can update the guide! | |
# If you already have the recommended nvidia drivers skip to "install other import packages" | |
# OPTION 1 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> | |
# Install recommended drivers, if your recommended drivers is older than the requirements for CUDA 10 | |
# then your system may not be suitable for CUDA 10, see system requirements here: | |
# https://docs.nvidia.com/cuda/archive/10.0/cuda-installation-guide-linux/index.html#system-requirements | |
sudo ubuntu-drivers autoinstall |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM pytorch/pytorch:1.2-cuda10.0-cudnn7-devel | |
WORKDIR /usr/src/app | |
COPY ./requirements.txt /usr/src/app | |
COPY ./src/lib/models/networks/DCNv2 /usr/src/app/src/lib/models/networks/DCNv2 | |
RUN apt update && apt install -y ffmpeg libsm6 libxrender-dev | |
RUN pip install Cython | |
RUN pip install -r requirements.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is the biome config file of the Alpine biome, which is a custom biome. | |
####################################################################### | |
# +-----------------------------------------------------------------+ # | |
# | Biome Inheritance | # | |
# +-----------------------------------------------------------------+ # | |
####################################################################### | |
# This should be the value of the biomeConfig you wish to extend. | |
# The extended config will be loaded, at which point the configs included below |