Skip to content

About Pytorch implementation of "DA-Ada: Learning Domain-Aware Adapter for Domain Adaptive Object Detection" (NeurIPS 2024)

License

Notifications You must be signed in to change notification settings

Therock90421/DA-Ada

Repository files navigation

DA-Ada: Learning Domain-Aware Adapter for Domain Adaptive Object Detection

The official implementation of DA-Ada: Learning Domain-Aware Adapter for Domain Adaptive Object Detection (Openreview).

This codebase is based on RegionCLIP.

  1. Put your dataset at './datasets/your_dataset'. Please follow the format of Pascal Voc. For example:
  • dataset
    • cityscapes_voc
      • VOC2007
        • Annotations
        • ImageSets
        • JPEGImages
    • foggy_cityscapes_voc
      • VOC2007
        • Annotations
        • ImageSets
        • JPEGImages
  1. Put your pre-trained VLM model at somewhere you like, for example, './ckpt', and edit the MODEL.WEIGHTS in train_da_ada_c2f.sh.
  2. Following RegionCLIP, generate class embedding and put it at somewhere you like, and edit the MODEL.CLIP.TEXT_EMB_PATH.
  3. Training: train_da_ada_c2f.sh Testing: test_da_ada_c2f.sh

About

About Pytorch implementation of "DA-Ada: Learning Domain-Aware Adapter for Domain Adaptive Object Detection" (NeurIPS 2024)

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published