代码拉取完成,页面将自动刷新
FROM tensorflow/tensorflow:1.15.0-gpu-py3-jupyter
RUN apt update && apt install -y --no-install-recommends git
!pip install pandas==0.24.2 &> tmp.log
!pip install regex==2019.4.14 &> tmp.log
!pip install h5py==2.10.0 &> tmp.log
!pip install numpy==1.18.4 &> tmp.log
!pip install tensorboard==1.15.0 &> tmp.log
!pip install tensorflow-gpu==1.15.2 &> tmp.log
!pip install tensorflow-estimator==1.15.1 &> tmp.log
!pip install tqdm==4.31.1 &> tmp.log
!pip install requests==2.22.0 &> tmp.log
!pip install ujson==2.0.3 &> tmp.log
!mkdir -p /home/EssayKiller/AutoWritter/finetune/trained_models
%cd /home/EssayKiller/AutoWritter/finetune/
!perl /home/EssayKiller/AutoWritter/scripts/gdown.pl https://drive.google.com/open?id=1ujWYTOvRLGJX0raH-f-lPZa3-RN58ZQx trained_models/model.ckpt-280000.data-00000-of-00001
!wget -q --show-progress https://github.com/EssayKillerBrain/EssayKiller/releases/download/v1.0/model.ckpt-280000.index -P /home/EssayKiller/AutoWritter/finetune/models/mega
!wget -q --show-progress https://github.com/EssayKillerBrain/EssayKiller/releases/download/v1.0/model.ckpt-280000.meta -P /home/EssayKiller/AutoWritter/finetune/models/mega
CMD ["bash", "-c", "jupyter notebook --ip 0.0.0.0 --no-browser --allow-root pretrained_model_demo.ipynb"]
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。