gitextract_s7um03j7/ ├── README.md ├── batchformer-v2/ │ ├── deformable-detr/ │ │ ├── LICENSE │ │ ├── README.md │ │ ├── benchmark.py │ │ ├── configs/ │ │ │ ├── r101_deformable_detr.sh │ │ │ ├── r50_deformable_detr.sh │ │ │ ├── r50_deformable_detr_plus_iterative_bbox_refinement.sh │ │ │ ├── r50_deformable_detr_plus_iterative_bbox_refinement_plus_plus_two_stage.sh │ │ │ ├── r50_deformable_detr_single_scale.sh │ │ │ └── r50_deformable_detr_single_scale_dc5.sh │ │ ├── datasets/ │ │ │ ├── __init__.py │ │ │ ├── coco.py │ │ │ ├── coco_eval.py │ │ │ ├── coco_panoptic.py │ │ │ ├── data_prefetcher.py │ │ │ ├── panoptic_eval.py │ │ │ ├── samplers.py │ │ │ ├── torchvision_datasets/ │ │ │ │ ├── __init__.py │ │ │ │ └── coco.py │ │ │ └── transforms.py │ │ ├── docs/ │ │ │ └── changelog.md │ │ ├── engine.py │ │ ├── main.py │ │ ├── models/ │ │ │ ├── __init__.py │ │ │ ├── backbone.py │ │ │ ├── deformable_detr.py │ │ │ ├── deformable_transformer.py │ │ │ ├── matcher.py │ │ │ ├── ops/ │ │ │ │ ├── functions/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── ms_deform_attn_func.py │ │ │ │ ├── make.sh │ │ │ │ ├── modules/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── ms_deform_attn.py │ │ │ │ ├── setup.py │ │ │ │ ├── src/ │ │ │ │ │ ├── cpu/ │ │ │ │ │ │ ├── ms_deform_attn_cpu.cpp │ │ │ │ │ │ └── ms_deform_attn_cpu.h │ │ │ │ │ ├── cuda/ │ │ │ │ │ │ ├── ms_deform_attn_cuda.cu │ │ │ │ │ │ ├── ms_deform_attn_cuda.h │ │ │ │ │ │ └── ms_deform_im2col_cuda.cuh │ │ │ │ │ ├── ms_deform_attn.h │ │ │ │ │ └── vision.cpp │ │ │ │ └── test.py │ │ │ ├── position_encoding.py │ │ │ └── segmentation.py │ │ ├── requirements.txt │ │ ├── tools/ │ │ │ ├── launch.py │ │ │ ├── run_dist_launch.sh │ │ │ └── run_dist_slurm.sh │ │ └── util/ │ │ ├── __init__.py │ │ ├── box_ops.py │ │ ├── misc.py │ │ ├── plot_utils.py │ │ └── visualizer.py │ ├── deit_share/ │ │ ├── .circleci/ │ │ │ └── config.yml │ │ ├── .github/ │ │ │ ├── CODE_OF_CONDUCT.md │ │ │ └── CONTRIBUTING.md │ │ ├── .gitignore │ │ ├── .idea/ │ │ │ ├── .gitignore │ │ │ ├── deit_share.iml │ │ │ ├── inspectionProfiles/ │ │ │ │ └── profiles_settings.xml │ │ │ ├── misc.xml │ │ │ ├── modules.xml │ │ │ └── vcs.xml │ │ ├── LICENSE │ │ ├── README.md │ │ ├── README_cait.md │ │ ├── README_resmlp.md │ │ ├── bt.py │ │ ├── cait_models.py │ │ ├── datasets.py │ │ ├── engine.py │ │ ├── gpu.pbs │ │ ├── hubconf.py │ │ ├── losses.py │ │ ├── main.py │ │ ├── models.py │ │ ├── optimizer.py │ │ ├── requirements.txt │ │ ├── resmlp_models.py │ │ ├── run_with_submitit.py │ │ ├── samplers.py │ │ ├── temp.txt │ │ ├── tiny_img.py │ │ ├── tox.ini │ │ └── utils.py │ └── detr/ │ ├── .circleci/ │ │ └── config.yml │ ├── .github/ │ │ ├── CODE_OF_CONDUCT.md │ │ ├── CONTRIBUTING.md │ │ └── ISSUE_TEMPLATE/ │ │ ├── bugs.md │ │ ├── questions-help-support.md │ │ └── unexpected-problems-bugs.md │ ├── .gitignore │ ├── Dockerfile │ ├── LICENSE │ ├── README.md │ ├── configs/ │ │ ├── base.sh │ │ ├── panoptic.sh │ │ ├── panoptic_1.sh │ │ ├── panoptic_2.sh │ │ └── swin.sh │ ├── d2/ │ │ ├── README.md │ │ ├── configs/ │ │ │ ├── detr_256_6_6_torchvision.yaml │ │ │ └── detr_segm_256_6_6_torchvision.yaml │ │ ├── converter.py │ │ ├── detr/ │ │ │ ├── __init__.py │ │ │ ├── config.py │ │ │ ├── dataset_mapper.py │ │ │ └── detr.py │ │ └── train_net.py │ ├── datasets/ │ │ ├── __init__.py │ │ ├── coco.py │ │ ├── coco_eval.py │ │ ├── coco_panoptic.py │ │ ├── panoptic_eval.py │ │ └── transforms.py │ ├── detr.pbs │ ├── engine.py │ ├── hubconf.py │ ├── main.py │ ├── models/ │ │ ├── __init__.py │ │ ├── backbone.py │ │ ├── detr.py │ │ ├── matcher.py │ │ ├── position_encoding.py │ │ ├── segmentation.py │ │ └── transformer.py │ ├── requirements.txt │ ├── run.py │ ├── run_with_submitit.py │ ├── test_all.py │ ├── tools/ │ │ ├── launch.py │ │ ├── run_dist_launch.sh │ │ └── run_dist_slurm.sh │ ├── tox.ini │ └── util/ │ ├── __init__.py │ ├── box_ops.py │ ├── misc.py │ └── plot_utils.py ├── czsl/ │ ├── LICENSE │ ├── README.md │ ├── configs/ │ │ ├── baselines/ │ │ │ ├── cgqa/ │ │ │ │ ├── aopp.yml │ │ │ │ ├── le+.yml │ │ │ │ ├── symnet.yml │ │ │ │ └── tmn.yml │ │ │ ├── mit/ │ │ │ │ ├── aopp.yml │ │ │ │ ├── le+.yml │ │ │ │ ├── symnet.yml │ │ │ │ └── tmn.yml │ │ │ └── utzppos/ │ │ │ ├── aopp.yml │ │ │ ├── le+.yml │ │ │ ├── symnet.yml │ │ │ └── tmn.yml │ │ ├── cge/ │ │ │ ├── cgqa.yml │ │ │ ├── mit.yml │ │ │ └── utzappos.yml │ │ └── compcos/ │ │ ├── cgqa/ │ │ │ ├── compcos.yml │ │ │ └── compcos_cw.yml │ │ ├── mit/ │ │ │ ├── compcos.yml │ │ │ └── compcos_cw.yml │ │ └── utzppos/ │ │ ├── compcos.yml │ │ └── compcos_cw.yml │ ├── data/ │ │ ├── __init__.py │ │ └── dataset.py │ ├── environment.yml │ ├── flags.py │ ├── models/ │ │ ├── __init__.py │ │ ├── common.py │ │ ├── compcos.py │ │ ├── gcn.py │ │ ├── graph_method.py │ │ ├── image_extractor.py │ │ ├── manifold_methods.py │ │ ├── modular_methods.py │ │ ├── svm.py │ │ ├── symnet.py │ │ ├── visual_product.py │ │ └── word_embedding.py │ ├── notebooks/ │ │ └── analysis.ipynb │ ├── test.py │ ├── train.py │ └── utils/ │ ├── __init__.py │ ├── config_model.py │ ├── download_data.sh │ ├── download_embeddings.py │ ├── reorganize_utzap.py │ └── utils.py ├── domain_generalization/ │ ├── README.md │ ├── Transfer-Learning-Library/ │ │ ├── .github/ │ │ │ └── ISSUE_TEMPLATE/ │ │ │ ├── bug_report.md │ │ │ ├── custom.md │ │ │ └── feature_request.md │ │ ├── .gitignore │ │ ├── CONTRIBUTING.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── common/ │ │ │ ├── __init__.py │ │ │ ├── loss/ │ │ │ │ └── __init__.py │ │ │ ├── modules/ │ │ │ │ ├── __init__.py │ │ │ │ ├── classifier.py │ │ │ │ └── regressor.py │ │ │ ├── utils/ │ │ │ │ ├── __init__.py │ │ │ │ ├── analysis/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── a_distance.py │ │ │ │ │ └── tsne.py │ │ │ │ ├── data.py │ │ │ │ ├── logger.py │ │ │ │ ├── meter.py │ │ │ │ ├── metric/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── keypoint_detection.py │ │ │ │ │ └── reid.py │ │ │ │ └── scheduler.py │ │ │ └── vision/ │ │ │ ├── __init__.py │ │ │ ├── datasets/ │ │ │ │ ├── __init__.py │ │ │ │ ├── _util.py │ │ │ │ ├── aircrafts.py │ │ │ │ ├── coco70.py │ │ │ │ ├── cub200.py │ │ │ │ ├── digits.py │ │ │ │ ├── domainnet.py │ │ │ │ ├── dtd.py │ │ │ │ ├── eurosat.py │ │ │ │ ├── imagelist.py │ │ │ │ ├── imagenet_r.py │ │ │ │ ├── imagenet_sketch.py │ │ │ │ ├── keypoint_detection/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── freihand.py │ │ │ │ │ ├── hand_3d_studio.py │ │ │ │ │ ├── human36m.py │ │ │ │ │ ├── keypoint_dataset.py │ │ │ │ │ ├── lsp.py │ │ │ │ │ ├── rendered_hand_pose.py │ │ │ │ │ ├── surreal.py │ │ │ │ │ └── util.py │ │ │ │ ├── office31.py │ │ │ │ ├── officecaltech.py │ │ │ │ ├── officehome.py │ │ │ │ ├── openset/ │ │ │ │ │ └── __init__.py │ │ │ │ ├── oxfordflowers.py │ │ │ │ ├── oxfordpet.py │ │ │ │ ├── pacs.py │ │ │ │ ├── partial/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── caltech_imagenet.py │ │ │ │ │ └── imagenet_caltech.py │ │ │ │ ├── patchcamelyon.py │ │ │ │ ├── regression/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── dsprites.py │ │ │ │ │ ├── image_regression.py │ │ │ │ │ └── mpi3d.py │ │ │ │ ├── reid/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── basedataset.py │ │ │ │ │ ├── convert.py │ │ │ │ │ ├── dukemtmc.py │ │ │ │ │ ├── market1501.py │ │ │ │ │ ├── msmt17.py │ │ │ │ │ ├── personx.py │ │ │ │ │ └── unreal.py │ │ │ │ ├── resisc45.py │ │ │ │ ├── retinopathy.py │ │ │ │ ├── segmentation/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── cityscapes.py │ │ │ │ │ ├── gta5.py │ │ │ │ │ ├── segmentation_list.py │ │ │ │ │ └── synthia.py │ │ │ │ ├── stanford_cars.py │ │ │ │ ├── stanford_dogs.py │ │ │ │ └── visda2017.py │ │ │ ├── models/ │ │ │ │ ├── __init__.py │ │ │ │ ├── digits.py │ │ │ │ ├── ibn.py │ │ │ │ ├── keypoint_detection/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── loss.py │ │ │ │ │ └── pose_resnet.py │ │ │ │ ├── reid/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── identifier.py │ │ │ │ │ ├── loss.py │ │ │ │ │ └── resnet.py │ │ │ │ ├── resnet.py │ │ │ │ └── segmentation/ │ │ │ │ ├── __init__.py │ │ │ │ └── deeplabv2.py │ │ │ └── transforms/ │ │ │ ├── __init__.py │ │ │ ├── keypoint_detection.py │ │ │ └── segmentation.py │ │ ├── dalib/ │ │ │ ├── __init__.py │ │ │ ├── adaptation/ │ │ │ │ ├── __init__.py │ │ │ │ ├── adda.py │ │ │ │ ├── advent.py │ │ │ │ ├── afn.py │ │ │ │ ├── bsp.py │ │ │ │ ├── cdan.py │ │ │ │ ├── dan.py │ │ │ │ ├── dann.py │ │ │ │ ├── fda.py │ │ │ │ ├── idm/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── loss.py │ │ │ │ │ ├── models/ │ │ │ │ │ │ ├── __init__.py │ │ │ │ │ │ ├── dsbn.py │ │ │ │ │ │ ├── identifier.py │ │ │ │ │ │ ├── idm.py │ │ │ │ │ │ └── resnet.py │ │ │ │ │ ├── utils.py │ │ │ │ │ └── xbm.py │ │ │ │ ├── iwan.py │ │ │ │ ├── jan.py │ │ │ │ ├── mcc.py │ │ │ │ ├── mcd.py │ │ │ │ ├── mdd.py │ │ │ │ ├── osbp.py │ │ │ │ ├── pada.py │ │ │ │ ├── regda.py │ │ │ │ ├── rsd.py │ │ │ │ └── self_ensemble.py │ │ │ ├── modules/ │ │ │ │ ├── __init__.py │ │ │ │ ├── domain_discriminator.py │ │ │ │ ├── entropy.py │ │ │ │ ├── gl.py │ │ │ │ ├── grl.py │ │ │ │ └── kernels.py │ │ │ └── translation/ │ │ │ ├── __init__.py │ │ │ ├── cycada.py │ │ │ ├── cyclegan/ │ │ │ │ ├── __init__.py │ │ │ │ ├── discriminator.py │ │ │ │ ├── generator.py │ │ │ │ ├── loss.py │ │ │ │ ├── transform.py │ │ │ │ └── util.py │ │ │ ├── fourier_transform.py │ │ │ └── spgan/ │ │ │ ├── __init__.py │ │ │ ├── loss.py │ │ │ └── siamese.py │ │ ├── dglib/ │ │ │ ├── __init__.py │ │ │ ├── generalization/ │ │ │ │ ├── __init__.py │ │ │ │ ├── coral.py │ │ │ │ ├── groupdro.py │ │ │ │ ├── irm.py │ │ │ │ └── mixstyle/ │ │ │ │ ├── __init__.py │ │ │ │ ├── models/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── mixstyle.py │ │ │ │ │ └── resnet.py │ │ │ │ └── sampler.py │ │ │ └── modules/ │ │ │ ├── __init__.py │ │ │ ├── classifier.py │ │ │ └── sampler.py │ │ ├── docs/ │ │ │ ├── Makefile │ │ │ ├── common/ │ │ │ │ ├── loss.rst │ │ │ │ ├── modules.rst │ │ │ │ ├── utils/ │ │ │ │ │ ├── analysis.rst │ │ │ │ │ ├── base.rst │ │ │ │ │ └── metric.rst │ │ │ │ └── vision/ │ │ │ │ ├── datasets.rst │ │ │ │ ├── models.rst │ │ │ │ └── transforms.rst │ │ │ ├── conf.py │ │ │ ├── dalib/ │ │ │ │ ├── adaptation/ │ │ │ │ │ ├── domain_adversarial.rst │ │ │ │ │ ├── domain_translation.rst │ │ │ │ │ ├── hypothesis_adversarial.rst │ │ │ │ │ ├── others.rst │ │ │ │ │ └── statistics_matching.rst │ │ │ │ ├── benchmarks/ │ │ │ │ │ ├── image_classification.rst │ │ │ │ │ ├── image_regression.rst │ │ │ │ │ ├── keypoint_detection.rst │ │ │ │ │ ├── multi_source_domain_adaptation.rst │ │ │ │ │ ├── openset_domain_adaptation.rst │ │ │ │ │ ├── partial_domain_adaptation.rst │ │ │ │ │ ├── re_identification.rst │ │ │ │ │ └── semantic_segmentation.rst │ │ │ │ └── modules.rst │ │ │ ├── dglib/ │ │ │ │ ├── benchmarks/ │ │ │ │ │ ├── image_classification.rst │ │ │ │ │ └── re_identification.rst │ │ │ │ ├── generalization/ │ │ │ │ │ ├── architecture_design.rst │ │ │ │ │ ├── data_manipulation.rst │ │ │ │ │ ├── learning_strategy.rst │ │ │ │ │ └── representation_learning.rst │ │ │ │ └── modules.rst │ │ │ ├── get_started/ │ │ │ │ ├── faq.rst │ │ │ │ ├── installing.rst │ │ │ │ ├── introduction.rst │ │ │ │ ├── quickstart.rst │ │ │ │ └── visualization.rst │ │ │ ├── index.rst │ │ │ ├── make.bat │ │ │ ├── requirements.txt │ │ │ └── talib/ │ │ │ ├── benchmarks/ │ │ │ │ └── image_classification.rst │ │ │ └── finetune.rst │ │ ├── examples/ │ │ │ ├── domain_adaptation/ │ │ │ │ ├── image_classification/ │ │ │ │ │ ├── README.md │ │ │ │ │ ├── adda.py │ │ │ │ │ ├── adda.sh │ │ │ │ │ ├── addagrl.py │ │ │ │ │ ├── addagrl.sh │ │ │ │ │ ├── afn.py │ │ │ │ │ ├── afn.sh │ │ │ │ │ ├── bsp.py │ │ │ │ │ ├── bsp.sh │ │ │ │ │ ├── cdan.py │ │ │ │ │ ├── cdan.sh │ │ │ │ │ ├── dan.py │ │ │ │ │ ├── dan.sh │ │ │ │ │ ├── dann.py │ │ │ │ │ ├── dann.sh │ │ │ │ │ ├── gpu_dann.pbs │ │ │ │ │ ├── gpu_mcc.pbs │ │ │ │ │ ├── gpu_mdd.pbs │ │ │ │ │ ├── jan.py │ │ │ │ │ ├── jan.sh │ │ │ │ │ ├── mcc.py │ │ │ │ │ ├── mcc.sh │ │ │ │ │ ├── mcd.py │ │ │ │ │ ├── mcd.sh │ │ │ │ │ ├── mdd.py │ │ │ │ │ ├── mdd.sh │ │ │ │ │ ├── requirements.txt │ │ │ │ │ ├── self_ensemble.py │ │ │ │ │ ├── self_ensemble.sh │ │ │ │ │ ├── source_only.py │ │ │ │ │ ├── source_only.sh │ │ │ │ │ └── utils.py │ │ │ │ ├── image_regression/ │ │ │ │ │ ├── README.md │ │ │ │ │ ├── dann.py │ │ │ │ │ ├── dann.sh │ │ │ │ │ ├── dd.py │ │ │ │ │ ├── dd.sh │ │ │ │ │ ├── rsd.py │ │ │ │ │ ├── rsd.sh │ │ │ │ │ ├── source_only.py │ │ │ │ │ ├── source_only.sh │ │ │ │ │ └── utils.py │ │ │ │ ├── keypoint_detection/ │ │ │ │ │ ├── README.md │ │ │ │ │ ├── regda.py │ │ │ │ │ ├── regda.sh │ │ │ │ │ ├── regda_fast.py │ │ │ │ │ ├── regda_fast.sh │ │ │ │ │ ├── source_only.py │ │ │ │ │ └── source_only.sh │ │ │ │ ├── openset_domain_adaptation/ │ │ │ │ │ ├── README.md │ │ │ │ │ ├── dann.py │ │ │ │ │ ├── dann.sh │ │ │ │ │ ├── osbp.py │ │ │ │ │ ├── osbp.sh │ │ │ │ │ ├── source_only.py │ │ │ │ │ ├── source_only.sh │ │ │ │ │ └── utils.py │ │ │ │ ├── partial_domain_adaptation/ │ │ │ │ │ ├── README.md │ │ │ │ │ ├── afn.py │ │ │ │ │ ├── afn.sh │ │ │ │ │ ├── dann.py │ │ │ │ │ ├── dann.sh │ │ │ │ │ ├── iwan.py │ │ │ │ │ ├── iwan.sh │ │ │ │ │ ├── pada.py │ │ │ │ │ ├── pada.sh │ │ │ │ │ ├── requirements.txt │ │ │ │ │ ├── source_only.py │ │ │ │ │ ├── source_only.sh │ │ │ │ │ └── utils.py │ │ │ │ ├── re_identification/ │ │ │ │ │ ├── README.md │ │ │ │ │ ├── baseline.py │ │ │ │ │ ├── baseline.sh │ │ │ │ │ ├── baseline_cluster.py │ │ │ │ │ ├── baseline_cluster.sh │ │ │ │ │ ├── ibn.sh │ │ │ │ │ ├── idm.py │ │ │ │ │ ├── idm.sh │ │ │ │ │ ├── mmt.py │ │ │ │ │ ├── mmt.sh │ │ │ │ │ ├── requirements.txt │ │ │ │ │ ├── spgan.py │ │ │ │ │ ├── spgan.sh │ │ │ │ │ └── utils.py │ │ │ │ └── semantic_segmentation/ │ │ │ │ ├── README.md │ │ │ │ ├── advent.py │ │ │ │ ├── advent.sh │ │ │ │ ├── cycada.py │ │ │ │ ├── cycada.sh │ │ │ │ ├── cycle_gan.py │ │ │ │ ├── cycle_gan.sh │ │ │ │ ├── fda.py │ │ │ │ ├── fda.sh │ │ │ │ ├── source_only.py │ │ │ │ └── source_only.sh │ │ │ ├── domain_generalization/ │ │ │ │ ├── image_classification/ │ │ │ │ │ ├── README.md │ │ │ │ │ ├── baseline.py │ │ │ │ │ ├── baseline.sh │ │ │ │ │ ├── coral.py │ │ │ │ │ ├── coral.sh │ │ │ │ │ ├── gpu_base.pbs │ │ │ │ │ ├── gpu_coral.pbs │ │ │ │ │ ├── gpu_irm.pbs │ │ │ │ │ ├── groupdro.py │ │ │ │ │ ├── groupdro.sh │ │ │ │ │ ├── ibn.sh │ │ │ │ │ ├── irm.py │ │ │ │ │ ├── irm.sh │ │ │ │ │ ├── mixstyle.py │ │ │ │ │ ├── mixstyle.sh │ │ │ │ │ ├── mldg.py │ │ │ │ │ ├── mldg.sh │ │ │ │ │ ├── requirements.txt │ │ │ │ │ ├── utils.py │ │ │ │ │ ├── vrex.py │ │ │ │ │ └── vrex.sh │ │ │ │ └── re_identification/ │ │ │ │ ├── README.md │ │ │ │ ├── baseline.py │ │ │ │ ├── baseline.sh │ │ │ │ ├── ibn.sh │ │ │ │ ├── mixstyle.py │ │ │ │ ├── mixstyle.sh │ │ │ │ ├── requirements.txt │ │ │ │ └── utils.py │ │ │ └── task_adaptation/ │ │ │ └── image_classification/ │ │ │ ├── README.md │ │ │ ├── baseline.py │ │ │ ├── baseline.sh │ │ │ ├── bi_tuning.py │ │ │ ├── bi_tuning.sh │ │ │ ├── bss.py │ │ │ ├── bss.sh │ │ │ ├── co_tuning.py │ │ │ ├── co_tuning.sh │ │ │ ├── convert_moco_to_pretrained.py │ │ │ ├── delta.py │ │ │ ├── delta.sh │ │ │ ├── lwf.py │ │ │ ├── lwf.sh │ │ │ ├── requirements.txt │ │ │ ├── stochnorm.py │ │ │ ├── stochnorm.sh │ │ │ └── utils.py │ │ ├── requirements.txt │ │ ├── setup.py │ │ └── talib/ │ │ ├── __init__.py │ │ └── finetune/ │ │ ├── __init__.py │ │ ├── bi_tuning.py │ │ ├── bss.py │ │ ├── co_tuning.py │ │ ├── delta.py │ │ ├── lwf.py │ │ └── stochnorm.py │ ├── baseline.py │ ├── coral.py │ ├── irm.py │ ├── mixstyle.py │ └── swad/ │ ├── .gitignore │ ├── LICENSE │ ├── README.md │ ├── config.yaml │ ├── domainbed/ │ │ ├── algorithms/ │ │ │ ├── __init__.py │ │ │ └── algorithms.py │ │ ├── datasets/ │ │ │ ├── __init__.py │ │ │ ├── datasets.py │ │ │ └── transforms.py │ │ ├── evaluator.py │ │ ├── hparams_registry.py │ │ ├── lib/ │ │ │ ├── fast_data_loader.py │ │ │ ├── logger.py │ │ │ ├── misc.py │ │ │ ├── query.py │ │ │ ├── swa_utils.py │ │ │ ├── wide_resnet.py │ │ │ └── writers.py │ │ ├── lr_scheduler/ │ │ │ ├── __init__.py │ │ │ └── lr_scheduler.py │ │ ├── misc/ │ │ │ └── domain_net_duplicates.txt │ │ ├── models/ │ │ │ ├── mixstyle.py │ │ │ ├── resnet_mixstyle.py │ │ │ └── resnet_mixstyle2.py │ │ ├── networks.py │ │ ├── optimizers.py │ │ ├── scripts/ │ │ │ └── download.py │ │ ├── swad.py │ │ └── trainer.py │ ├── requirements.txt │ └── train_all.py ├── long-tailed_recognition/ │ ├── BalancedSoftmax/ │ │ ├── .gitignore │ │ ├── CODE_OF_CONDUCT.md │ │ ├── CONTRIBUTING.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── cls_freq/ │ │ │ ├── CIFAR-10-LT_IMBA100.json │ │ │ ├── CIFAR-10-LT_IMBA200.json │ │ │ ├── CIFAR-100-LT_IMBA1.json │ │ │ ├── CIFAR-100-LT_IMBA100.json │ │ │ ├── CIFAR-100-LT_IMBA200.json │ │ │ ├── ImageNet_LT.json │ │ │ ├── Places_LT.json │ │ │ └── iNaturalist18.json │ │ ├── config/ │ │ │ ├── CIFAR100_LT/ │ │ │ │ ├── balanced_softmax_imba100.yaml │ │ │ │ ├── balanced_softmax_imba200.yaml │ │ │ │ ├── balms_imba100.yaml │ │ │ │ ├── balms_imba200.yaml │ │ │ │ ├── decouple_balanced_softmax_imba100.yaml │ │ │ │ ├── decouple_balanced_softmax_imba200.yaml │ │ │ │ ├── softmax_imba.yaml │ │ │ │ ├── softmax_imba100.yaml │ │ │ │ └── softmax_imba200.yaml │ │ │ ├── CIFAR10_LT/ │ │ │ │ ├── balanced_softmax_imba200.yaml │ │ │ │ ├── balms_imba200.yaml │ │ │ │ ├── decouple_balanced_softmax_imba200.yaml │ │ │ │ └── softmax_imba200.yaml │ │ │ ├── ImageNet_LT/ │ │ │ │ ├── balanced_softmax_resnet10.yaml │ │ │ │ ├── balanced_softmax_resnet50.yaml │ │ │ │ ├── balms_resnet10.yaml │ │ │ │ ├── balms_resnet50.yaml │ │ │ │ ├── cls_crt.yaml │ │ │ │ ├── cls_lws.yaml │ │ │ │ ├── decouple_balanced_softmax_resnet10.yaml │ │ │ │ ├── feat_balance.yaml │ │ │ │ ├── feat_shift.yaml │ │ │ │ ├── feat_squareroot.yaml │ │ │ │ ├── feat_uniform.yaml │ │ │ │ ├── feat_uniform_resnet10.yaml │ │ │ │ ├── feat_uniform_resnet50.yaml │ │ │ │ ├── softmax_resnet10.yaml │ │ │ │ └── softmax_resnet50_feat.yaml │ │ │ ├── Places_LT/ │ │ │ │ ├── balanced_softmax.yaml │ │ │ │ ├── balms.yaml │ │ │ │ ├── cls_crt.yaml │ │ │ │ ├── cls_lws.yaml │ │ │ │ ├── decouple_balanced_softmax.yaml │ │ │ │ └── feat_unifrom.yaml │ │ │ └── iNaturalist18/ │ │ │ ├── balanced_softmax.yaml │ │ │ ├── cls_crt.yaml │ │ │ ├── cls_lws.yaml │ │ │ └── feat_unifrom.yaml │ │ ├── data/ │ │ │ ├── ClassAwareSampler.py │ │ │ ├── ClassPrioritySampler.py │ │ │ ├── ImageNet/ │ │ │ │ ├── ImageNet_train.txt │ │ │ │ ├── ImageNet_val.txt │ │ │ │ └── gen_txt.py │ │ │ ├── ImageNet_LT/ │ │ │ │ ├── ImageNet_LT_test.txt │ │ │ │ ├── ImageNet_LT_train.txt │ │ │ │ ├── ImageNet_LT_val.txt │ │ │ │ └── class_labels │ │ │ ├── ImbalanceCIFAR.py │ │ │ ├── MetaSampler.py │ │ │ ├── MixedPrioritizedSampler.py │ │ │ ├── Places_LT/ │ │ │ │ ├── Places_LT_test.txt │ │ │ │ ├── Places_LT_train.txt │ │ │ │ └── Places_LT_val.txt │ │ │ ├── autoaugment.py │ │ │ ├── dataloader.py │ │ │ └── iNaturalist18/ │ │ │ ├── gen_lists.py │ │ │ ├── iNaturalist18_train.txt │ │ │ └── iNaturalist18_val.txt │ │ ├── encoder_network.py │ │ ├── grads_analysis.py │ │ ├── layers/ │ │ │ └── ModulatedAttLayer.py │ │ ├── logger.py │ │ ├── loss/ │ │ │ ├── BalancedSoftmaxLoss.py │ │ │ ├── DiscCentroidsLoss.py │ │ │ └── SoftmaxLoss.py │ │ ├── main.py │ │ ├── models/ │ │ │ ├── CosNormClassifier.py │ │ │ ├── DotProductClassifier.py │ │ │ ├── KNNClassifier.py │ │ │ ├── MetaEmbeddingClassifier.py │ │ │ ├── ResNet101Feature.py │ │ │ ├── ResNet10Feature.py │ │ │ ├── ResNet152Feature.py │ │ │ ├── ResNet152FeatureCaffe.py │ │ │ ├── ResNet32Feature.py │ │ │ ├── ResNet50Feature.py │ │ │ ├── ResNetFeature.py │ │ │ ├── ResNext101Feature.py │ │ │ ├── ResNext152Feature.py │ │ │ ├── ResNext50Feature.py │ │ │ ├── ResNextFeature.py │ │ │ └── TauNormClassifier.py │ │ ├── run_networks.py │ │ └── utils.py │ ├── README.md │ └── RIDE-LongTailRecognition/ │ ├── .flake8 │ ├── .github/ │ │ └── ISSUE_TEMPLATE/ │ │ ├── conceptual-questions.md │ │ ├── error-report.md │ │ ├── feature_request.md │ │ └── other-problems.md │ ├── .gitignore │ ├── FAQ.md │ ├── LICENSE │ ├── README.md │ ├── base/ │ │ ├── __init__.py │ │ ├── base_data_loader.py │ │ ├── base_model.py │ │ └── base_trainer.py │ ├── config.json │ ├── configs/ │ │ ├── config_iNaturalist_resnet50_distill_ride.json │ │ ├── config_iNaturalist_resnet50_distill_ride_dist.json │ │ ├── config_iNaturalist_resnet50_ride.json │ │ ├── config_iNaturalist_resnet50_ride_dist.json │ │ ├── config_iNaturalist_resnet50_ride_dist1.json │ │ ├── config_iNaturalist_resnet50_ride_ea.json │ │ ├── config_imagenet_lt_resnet10_distill_ride.json │ │ ├── config_imagenet_lt_resnet10_ride.json │ │ ├── config_imagenet_lt_resnet10_ride1.json │ │ ├── config_imagenet_lt_resnet10_ride_base.json │ │ ├── config_imagenet_lt_resnet10_ride_base1.json │ │ ├── config_imagenet_lt_resnet10_ride_base_dist.json │ │ ├── config_imagenet_lt_resnet10_ride_ea.json │ │ ├── config_imagenet_lt_resnet50_distill_ride.json │ │ ├── config_imagenet_lt_resnet50_distill_ride_dist.json │ │ ├── config_imagenet_lt_resnet50_ride.json │ │ ├── config_imagenet_lt_resnet50_ride_base.json │ │ ├── config_imagenet_lt_resnet50_ride_base_dist.json │ │ ├── config_imagenet_lt_resnet50_ride_cos.json │ │ ├── config_imagenet_lt_resnet50_ride_dist.json │ │ ├── config_imagenet_lt_resnet50_ride_dist_cos.json │ │ ├── config_imagenet_lt_resnet50_ride_ea.json │ │ ├── config_imagenet_lt_resnext50_distill_ride.json │ │ ├── config_imagenet_lt_resnext50_ride.json │ │ ├── config_imagenet_lt_resnext50_ride_dist.json │ │ ├── config_imagenet_lt_resnext50_ride_ea.json │ │ ├── config_imbalance_cifar100_distill_ride.json │ │ ├── config_imbalance_cifar100_ldam_drw.json │ │ ├── config_imbalance_cifar100_ride.json │ │ ├── config_imbalance_cifar100_ride_base.json │ │ ├── config_imbalance_cifar100_ride_ea.json │ │ └── config_imbalance_cifar100_ride_teacher.json │ ├── contributing.md │ ├── data_loader/ │ │ ├── __init__.py │ │ ├── cifar_data_loaders.py │ │ ├── data_loaders.py │ │ ├── imagenet_lt_data_loaders.py │ │ ├── imbalance_cifar.py │ │ └── inaturalist_data_loaders.py │ ├── logger/ │ │ ├── __init__.py │ │ ├── logger.py │ │ ├── logger_config.json │ │ └── visualization.py │ ├── model/ │ │ ├── fb_resnets/ │ │ │ ├── EAResNeXt.py │ │ │ ├── EAResNet.py │ │ │ ├── RIDEResNeXt.py │ │ │ ├── RIDEResNet.py │ │ │ ├── ResNeXt.py │ │ │ ├── ResNet.py │ │ │ └── __init__.py │ │ ├── ldam_drw_resnets/ │ │ │ ├── __init__.py │ │ │ ├── ea_resnet_cifar.py │ │ │ ├── resnet_cifar.py │ │ │ └── ride_resnet_cifar.py │ │ ├── loss.py │ │ ├── metric.py │ │ └── model.py │ ├── new_project.py │ ├── parse_config.py │ ├── requirements.txt │ ├── run.py │ ├── run_imagenet.py │ ├── t-normalization.py │ ├── test.py │ ├── test_lt.sh │ ├── train.py │ ├── train_dist.py │ ├── trainer/ │ │ ├── __init__.py │ │ └── trainer.py │ └── utils/ │ ├── __init__.py │ ├── gflops.py │ └── util.py └── moco-v3/ ├── CODE_OF_CONDUCT.md ├── CONFIG.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── main_lincls.py ├── main_moco.py ├── moco/ │ ├── __init__.py │ ├── builder.py │ ├── builder_v2.py │ ├── loader.py │ └── optimizer.py ├── transfer/ │ ├── README.md │ ├── datasets.py │ ├── oxford_flowers_dataset.py │ └── oxford_pets_dataset.py └── vits.py