1 Star 0 Fork 0

zhoub86/echo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 1.34 KB
一键复制 编辑 原始数据 按行查看 历史
Caryn Tran 提交于 2019-10-23 00:33 . unclude local and cloud versions
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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhoub86/echo.git
git@gitee.com:zhoub86/echo.git
zhoub86
echo
echo
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385