代码拉取完成,页面将自动刷新
FROM continuumio/miniconda3
WORKDIR /root
ARG CONDA_DIR=/opt/conda
ENV PATH $CONDA_DIR/bin:$PATH
########### OPTION FOR RUNNING LOCALLY WITH JUPYTER NOTEBOOK -- 2.35GB (1.89GB without jupyter notebook)
#
RUN conda install --yes --quiet -c conda-forge jsonnet
RUN conda install --yes --quiet nomkl
RUN conda install --yes --quiet -c conda-forge pytorch-cpu
RUN conda install --yes --quiet --freeze-installed matplotlib
RUN conda install --yes --quiet --freeze-installed jupyter \
&& mkdir /opt/notebooks
RUN conda clean -afy \
&& find /opt/conda/ -follow -type f -name '*.a' -delete \
&& find /opt/conda/ -follow -type f -name '*.pyc' -delete \
&& find /opt/conda/ -follow -type f -name '*.js.map' -delete
#
###########
########### OPTION FOR PACKAGING AS A CUSTOM CONTAINER FOR GCLOUD AI PLATFORM HYPERTUNE
#
# RUN conda install --yes --quiet -c conda-forge pytorch-cpu
# RUN pip install google-cloud-storage
# RUN pip install cloudml-hypertune
# # Path configuration
# ENV PATH $PATH:/root/tools/google-cloud-sdk/bin
# # Make sure gsutil will use the default service account
# RUN echo '[GoogleCompute]\nservice_account = default' > /etc/boto.cfg
# #Sets up the entry point to invoke the trainer.
# ENTRYPOINT ["python", "./trainer/task_hyperparam_search.py"]
#
###########
COPY . /root/echo
WORKDIR /root/echo
RUN pwd
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。