1 Star 0 Fork 13

xuelanghanbao/PaddleScience

forked from PaddlePaddle/PaddleScience 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile.rocm 1.43 KB
一键复制 编辑 原始数据 按行查看 历史
shjNT 提交于 2022-06-13 19:27 . add ignore-installed for upgrade pip (#80)
FROM paddlepaddle/paddle:latest-dev-rocm4.0-miopen2.11
# clone
WORKDIR /opt/
RUN git clone https://github.com/PaddlePaddle/PaddleScience.git
# env
RUN chmod 777 -R /opt/PaddleScience/examples
ENV PYTHONPATH /opt/PaddleScience
# install requirements
WORKDIR /opt/PaddleScience
RUN pip install --upgrade --ignore-installed pip
RUN pip install --pre paddlepaddle-rocm -f https://www.paddlepaddle.org.cn/whl/rocm/develop.html
RUN pip install -r /opt/PaddleScience/requirements.txt -i https://mirror.baidu.com/pypi/simple
RUN pip install wget
# download datasets
WORKDIR /opt/PaddleScience
RUN mkdir -p ./examples/cylinder/3d_unsteady_discrete/baseline/openfoam_cylinder_re100
WORKDIR /opt/PaddleScience/examples/cylinder/3d_unsteady_discrete/baseline/openfoam_cylinder_re100
RUN wget https://dataset.bj.bcebos.com/PaddleScience/cylinder3D/openfoam_cylinder_re100/cylinder3d_openfoam_re100.zip
RUN unzip cylinder3d_openfoam_re100.zip
WORKDIR /opt/PaddleScience
RUN mkdir -p .//examples/cylinder/3d_unsteady_discrete/optimize/openfoam_cylinder_re100
WORKDIR /opt/PaddleScience/examples/cylinder/3d_unsteady_discrete/optimize/openfoam_cylinder_re100
RUN wget https://dataset.bj.bcebos.com/PaddleScience/cylinder3D/openfoam_cylinder_re100/cylinder3d_openfoam_re100.zip
RUN unzip cylinder3d_openfoam_re100.zip
WORKDIR /opt/PaddleScience/examples/cylinder/2d_unsteady_continuous
RUN python download_dataset.py
WORKDIR /opt/PaddleScience
# CMD ["sleep", "infinity"]
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xuelanghanbao/PaddleScience.git
git@gitee.com:xuelanghanbao/PaddleScience.git
xuelanghanbao
PaddleScience
PaddleScience
release/1.0

搜索帮助

D67c1975 1850385 1daf7b77 1850385