Giter VIP home page Giter VIP logo

cvpr2021-ssda's Introduction

Cross-Domain Adaptive Clustering for Semi-Supervised Domain Adaptation

This is a Pytorch implementation of "Cross-Domain Adaptive Clustering for Semi-Supervised Domain Adaptation" accepted by CVPR2021. More details of this work can be found in our paper: [Arxiv] or [OpenAccess].

Our code is based on SSDA_MME implementation.

Install

pip install -r requirements.txt

The code is written in Python 3.8.5, but should work for other versions with some modifications.

Data preparation

Refer to SSDA_MME and our paper.

Training

(1) To run training on DomainNet in the 3-shot scenario using alexnet,

python main.py --dataset multi --source real --target sketch --net alexnet --num 3 --lr_f 1.0 --multi 0.1 --save_check

(2) To run training on Office-Home in the 3-shot scenario using alexnet,

python main.py --dataset office_home --source Real --target Art --net alexnet --num 3 --lr_f 1.0 --multi 0.1 --steps 20000 --save_check

(3) To run training on Office31 in the 3-shot scenario using alexnet,

python main.py --dataset office --source webcam --target amazon --net alexnet --num 3 --lr_f 1.0 --multi 0.1 --steps 5000 --save_check

Citation

If you consider using this code or its derivatives, please consider citing:

@InProceedings{li2021cross,
    author    = {Li, Jichang and Li, Guanbin and Shi, Yemin and Yu, Yizhou},
    title     = {Cross-Domain Adaptive Clustering for Semi-Supervised Domain Adaptation},
    booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
    month     = {June},
    year      = {2021},
    pages     = {2505-2514}
}

Contact

Please feel free to contact the first author, Li Jichang, if you have any questions.

cvpr2021-ssda's People

Contributors

lijichang avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.