项目
在 GitHub 查看
fungtion/DANN_py3
关于
DANN 的 Python 3 和 PyTorch 实现
人工智能与机器学习实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- -1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文This is a pytorch implementation of the paper Unsupervised Domain Adaptation by Backpropagation
Environment
- Pytorch 1.6
- Python 3.8.5
Network Structure

Dataset
First, download target dataset mnist_m from pan.quark.com or Google Drive, and put mnist_m dataset into dataset/mnist_m, the structure is as follows:
--dataset--mnist_m--mnist_m_train
|--mnist_m_test
|--mnist_m_train_labels.txt
|--mnist_m_test_labels.txt
|--.gitkeep
Training
Then, run python main.py
Docker
- build image
docker build -t pytorch_dann .
- run docker container
docker run -it --runtime=nvidia \
-u $(id -u):$(id -g) \
-v /YOUR/DANN/PROJECT/dataset:/DANN/dataset \
-v /YOUR/DANN/PROJECT/models:/DANN/models \
pytorch_dann:latest \
python main.py
探索相关项目
加载中…