OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Models

Pytorch Adda

Pytorch Adda is a Python/PyTorch implementation of Adversarial Discriminative Domain Adaptation for image classification, with an MNIST-to-USPS example using an encoder, classifier and discriminator.

Independent OpenViST project profile, based on linked sources.

Pytorch Adda — A documented MNIST-to-USPS experiment
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it when examining or adapting a code-level ADDA image-classification example, particularly for MNIST-to-USPS transfer.

Who it is for

  • Researchers exploring adversarial domain adaptation for image classification.
  • Developers seeking a small PyTorch example to study or adapt for related image domains.

Documented uses

  • Study an ADDA workflow that transfers image representations from a labeled source domain to a target domain.
  • Compare the repository's source-model and adapted-model results on USPS.
  • Use the MNIST-to-USPS experiment as a starting point for testing other image-domain pairs.
Before you choose

Requirements & limits

The repository is public and lists an MIT license.

  • The README specifies Python 3.6 and PyTorch 0.2.0.
  • The repository states that only MNIST-to-USPS was tested.
  • The README reports 83.978495% USPS accuracy with the source encoder and classifier, compared with 97.634409% with the adapted target encoder and source classifier.
  • Using other datasets requires adapting data loading and may require model-dimension changes.
  • Upgrading the documented Python and PyTorch versions requires modification.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Run the documented MNIST-to-USPS example

Start the repository's documented domain-adaptation experiment.

Before you start

  • Python 3.6
  • PyTorch 0.2.0
  • The repository's code

Steps

  1. Obtain the repository.

  2. Use the documented Python 3.6 and PyTorch 0.2.0 environment.

  3. Run the command below as specified in the README.

    Documented command
    python3 main.py

Expected outcome

The README describes an MNIST-source to USPS-target experiment and reports USPS results for the source and adapted encoders.

Guide limitations

  • The repository says it tested only MNIST to USPS.
  • Reported results are the repository's stated experiment results, not independently verified here.
  • Upgrading the documented runtime and framework requires modification.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
12 November 2026
Original website title
corenel/pytorch-adda · Official homepage title · retained in its source language