在做深度学习时候很多小白会遇到环境得问题下面我们 给出一个基于cpu得 python 3.6得环境
包含 tensorflow Keras torch torchvision
2023年2月5号 基于 python3.6配置环境成功:
torch torchvision 使用这个 :
# pip install torch==1.7.0+cpu torchvision==0.8.1+cpu torchaudio===0.7.0 -f https://download.pytorch.org/whl/torch_stable.html 成功
# pip install transformers==4.13.0 -i https://pypi.tuna.tsinghua.edu.cn/simple 成功
# pip install --upgrade nni --ignore-installed -i https://pypi.tuna.tsinghua.edu.cn/simple 成功
tensorflow Keras 使用:
pip install tensorflow==1.15.0 keras==2.3.1 h5py==2.10.0 -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn