Giter Club home page Giter Club logo

asyfod's Introduction

(CVPR2023) AsyFOD

Data Preparation

Sim10K Key: juf6 (The synthetic dataset includes only car class.)

KITTI Key: 8brv (The KITTI dataset includes only car class.)

Cityscapes_car_8_1 Key: p69u (The randomly selected 8 images from cityscapes_car.)

Cityscapes_car Key: 4ym4 (The cityscapes dataset includes only car class.)

Cityscapes_8cls Key: rg4z (The Cityscapes dataset includes 8 classes.)

Cityscapes_8cls_foggy Key: bjgr (The Foggy Cityscapes dataset includes 8 classes.)

Viped Key: a9y7 (The synthetic dataset includes)

coco_person_60 Key: vg1m (The randomly selected 60 images from coco_person.)

coco_person Key: je89 (The COCO dataset includes only person class.)

You can also process the raw data to Yolo format via the tools shown here.

Requirements

This repo is based on YOLOv5 repo. Please follow that repo for installation and preparation. The version I built for this project is YOLO v5 3.0. The proposed methods are also easy to be migrated into advanced YOLO versions.

Training

  1. Modify the config of the data in the data subfolders. Please refer to the instructions in the yaml file.

  2. The command below can reproduce the corresponding results mentioned in the paper.

python train.py --img 640 --batch 12 --epochs 300 --data ./data/city_and_foggy8_3.yaml --cfg ./models/yolov5x.yaml --hyp ./data/hyp_aug/mm1.yaml --weights '' --name "test"

The codes have been released but need further construction. If you are intersted in more details of the ablation studies, you can refer to the folder "train_files_for_abl". I have listed nearly every train.py in this folder. I hope you find them helpful.

I will try my best to update :(. You can also check our previous work AcroFOD "https://github.com/Hlings/AcroFOD".

  • If you find this paper/repository useful, please consider citing our paper:
@inproceedings{gao2023asyfod,
  title={AsyFOD: An Asymmetric Adaptation Paradigm for Few-Shot Domain Adaptive Object Detection},
  author={Gao, Yipeng and Lin, Kun-Yu and Yan, Junkai and Wang, Yaowei and Zheng, Wei-Shi},
  booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  pages={3261--3271},
  year={2023}
}

asyfod's People

Contributors

hlings 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.