Projetos
Ver no GitHub
fungtion/DANN_py3
Sobre
Implementação do DANN em Python 3 e PyTorch.
IA e aprendizado de máquinaCrescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- 0
- em 15 dias
- -1
- em 1 mês
- Coletando histórico
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
OriginalThis 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
Explore projetos relacionados
Carregando…