- 安装
UV工具
- Linux Or MacOS:
curl -LsSf https://astral.sh/uv/install.sh | sh - Windows:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
-
克隆仓库
git clone --depth=1 https://github.com/Tellcts/AR-test4.git
-
运行
cd AR-test4 && uv sync # 使用 OpenCV 进行实验 uv run opencv/mnist.py uv run opencv/cifar10.py # 使用 CNN 进行实验 uv run cnn/mnist.py uv run cnn/cifar10.py
-
Tips
- 首次运行时会进行数据集的下载,国内可以在
Kaggle上面进行下载; - 大家也可自定提供数据集,只需将数据集放在
data目录下; - eg.
AR-test4/data/mnist/raw/,cifaf-10-python.tar.gz解压至`AR-test4/data/。
- 首次运行时会进行数据集的下载,国内可以在