1
0
2025-03-16 20:29:33 +08:00
2025-03-16 20:29:33 +08:00
2025-01-25 22:33:14 +08:00
2025-03-13 18:14:01 +08:00
2025-03-16 00:59:51 +08:00
2025-01-11 13:56:41 +08:00
2025-03-14 19:30:54 +08:00
2025-03-16 00:59:51 +08:00
2025-03-14 19:30:54 +08:00

AI-Learning

  • 所有的ipynb结果均为最优保存

BASE ENV

MAC

conda create -n ail python=3.10 -y
conda activate ail
# 安装 pytorch v1.12版本已经正式支持了用于mac m1芯片gpu加速的mps后端
conda install pytorch::pytorch torchvision torchaudio -c pytorch -y

# tensorflow mac apple silicon
pip install tensorflow-macos==2.15.0
pip install tensorflow-metal

pip install -r requirements.txt

linux

conda create -n ail-tf python=3.10 -y
conda create -n ail-pt python=3.10 -y

conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia
# tensorflow 需要cudnn支持
pip install tensorflow

pip install -r requirements.txt

windows

conda create -n ail-tf python=3.9 -y
conda create -n ail-pt python=3.9 -y
conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia

# tf需要安装 CUDA 和 cuDNN
conda install cudatoolkit=11.8 cudnn=8.9 -c nvidia -y

pip install tensorflow
pip install -r requirements.txt

安装graphviz - 绘制模型图

brew install graphviz
Description
No description provided
Readme 6.7 MiB
Languages
Jupyter Notebook 98.7%
Python 1.3%