Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
pengxingang committed Aug 22, 2022
1 parent 78af8c2 commit d6ddd69
Show file tree
Hide file tree
Showing 8 changed files with 2,921 additions and 27 deletions.
17 changes: 4 additions & 13 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ WORKDIR /opt/app
RUN set -xe \
&& apt-get update \
&& apt-get install python3-pip -y
# RUN pip3 install --upgrade pip
# RUN python3 -m pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --upgrade pip
# RUN pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
# RUN pip install -r requirements.txt --default-timeout=1000
COPY . /opt/app

RUN apt-get update
Expand All @@ -21,18 +17,13 @@ RUN wget \
&& mkdir /root/.conda \
&& bash Miniconda3-latest-Linux-x86_64.sh -b \
&& rm -f Miniconda3-latest-Linux-x86_64.sh
RUN conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ \
&& conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/ \
&& conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
# RUN conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda/
# RUN conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/
# RUN conda config --set show_channel_urls yes
RUN conda install -c bioconda anarci
RUN conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/ \
&& conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ \
&& conda config --set show_channel_urls yes
RUN conda config --set remote_read_timeout_secs 1000.0
# RUN conda install -c bioconda anarci
RUN conda install pytorch==1.10.0 cudatoolkit=10.2 -c pytorch

RUN pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
# RUN pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
RUN python -m pip install --upgrade pip
RUN pip install biopython==1.79
RUN pip install pytorch-lightning==1.6.4
Expand Down
Binary file added data/cluster/reslevel_cdr3_cluster_0.2.pkl
Binary file not shown.
Binary file added data/cluster/reslevel_epi_cluster_0.2.pkl
Binary file not shown.
Loading

0 comments on commit d6ddd69

Please sign in to comment.