MCPcopy Create free account
hub / github.com/VisionLearningGroup/OVANet

github.com/VisionLearningGroup/OVANet @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
42 symbols 135 edges 14 files 4 documented · 10% updated 4y ago★ 913 open issues

Browse by type

Functions 38 Types & classes 4
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

OVANet: One-vs-All Network for Universal Domain Adaptation (ICCV2021)

OVANet Overview

This repository provides code for the paper. Please go to our project page to quickly understand the content of the paper or read our paper.

Project Page| Paper

Environment

Python 3.6.9, Pytorch 1.6.0, Torch Vision 0.7.0, Apex. We used the nvidia apex library for memory efficient high-speed training.

Data Preparation

Datasets

Office Dataset, OfficeHome Dataset, VisDA, DomainNet, NaBird

Prepare dataset in data directory.

./data/amazon/images/ ## Office
./data/Real ## OfficeHome
./data/visda_train ## VisDA synthetic images
./data/visda_val ## VisDA real images
./data/dclipart ## DomainNet # We add 'd' for all directories of DomainNet to avoid confusion with OfficeHome.
./data/nabird/images ## Nabird

File splits

File lists (txt files)

File list need to be stored in ./txt, e.g.,

./txt/source_amazon_opda.txt ## Office
./txt/source_dreal_univ.txt ## DomainNet
./txt/source_Real_univ.txt ## OfficeHome
./txt/nabird_source.txt ## Nabird
.
.
.

Training and Evaluation

All training scripts are stored in script directory.

Ex. Open Set Domain Adaptation on Office.

sh scripts/run_office_obda.sh $gpu-id train.py

Reference

This repository is contributed by Kuniaki Saito. If you consider using this code or its derivatives, please consider citing:

@article{saito2021ovanet,
  title={OVANet: One-vs-All Network for Universal Domain Adaptation},
  author={Saito, Kuniaki and Saenko, Kate},
  journal={arXiv preprint arXiv:2104.03344},
  year={2021}
}

Core symbols most depended-on inside this repo

browse all functions →

Shape

Function 26
Method 12
Class 4

Languages

Python100%

Modules by API surface

models/basenet.py12 symbols
data_loader/mydataset.py10 symbols
utils/utils.py4 symbols
eval.py4 symbols
utils/loss.py3 symbols
utils/defaults.py3 symbols
utils/tsne_visualize_labeled.py2 symbols
data_loader/get_loader.py2 symbols
utils/lr_schedule.py1 symbols
train.py1 symbols

For agents

$ claude mcp add OVANet \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page