├── README.md ├── checkpoint └── README.md ├── configs ├── __init__.py ├── collections.py ├── default.py ├── hybrid │ ├── GoogleNet_AwA2_SS_C.yaml │ ├── GoogleNet_CUB_PS_G.yaml │ ├── GoogleNet_CUB_SS_C.yaml │ ├── GoogleNet_SUN_PS_G.yaml │ ├── ResNet101_CUB_PS_C.yaml │ ├── ResNet101_SUN_PS_C.yaml │ ├── ResNet101_SUN_SS_C.yaml │ ├── VGG19_AwA2_PS_C.yaml │ └── VGG19_AwA2_PS_G.yaml └── self_adaptation │ ├── GoogleNet_AwA2_PS_C.yaml │ ├── GoogleNet_AwA2_PS_G.yaml │ ├── GoogleNet_AwA2_SS_C.yaml │ ├── GoogleNet_CUB_PS_C.yaml │ ├── GoogleNet_CUB_PS_G.yaml │ ├── GoogleNet_CUB_SS_C.yaml │ ├── GoogleNet_SUN_PS_C.yaml │ ├── GoogleNet_SUN_PS_G.yaml │ ├── GoogleNet_SUN_SS_C.yaml │ ├── ResNet101_AwA2_PS_C.yaml │ ├── ResNet101_AwA2_PS_G.yaml │ ├── ResNet101_AwA2_SS_C.yaml │ ├── ResNet101_CUB_PS_C.yaml │ ├── ResNet101_CUB_PS_G.yaml │ ├── ResNet101_CUB_SS_C.yaml │ ├── ResNet101_SUN_PS_C.yaml │ ├── ResNet101_SUN_PS_G.yaml │ ├── ResNet101_SUN_SS_C.yaml │ ├── VGG19_AwA2_PS_C.yaml │ ├── VGG19_AwA2_PS_G.yaml │ ├── VGG19_AwA2_SS_C.yaml │ ├── VGG19_CUB_PS_C.yaml │ ├── VGG19_CUB_PS_G.yaml │ ├── VGG19_CUB_SS_C.yaml │ ├── VGG19_SUN_PS_C.yaml │ ├── VGG19_SUN_PS_G.yaml │ └── VGG19_SUN_SS_C.yaml ├── data ├── AwA2 │ ├── JPEGImages │ │ └── .gitkeep │ ├── classes.txt │ ├── predicate-matrix-continuous.txt │ ├── predicates.txt │ ├── proposed_split │ │ ├── seen_cls.txt │ │ ├── test_seen_ps.txt │ │ ├── test_unseen_ps.txt │ │ ├── trainval_ps.txt │ │ ├── trans_test_files.txt │ │ ├── trans_train_files.txt │ │ └── unseen_cls.txt │ ├── testclasses.txt │ └── trainclasses.txt ├── CUB │ ├── JPEGImages │ │ └── .gitkeep │ ├── classes.txt │ ├── predicate-matrix-continuous.txt │ ├── proposed_split │ │ ├── seen_cls.txt │ │ ├── test_seen_ps.txt │ │ ├── test_unseen_ps.txt │ │ ├── trainval_ps.txt │ │ ├── trans_test_files.txt │ │ ├── trans_train_files.txt │ │ └── unseen_cls.txt │ ├── testclasses.txt │ └── trainclasses.txt └── SUN │ ├── JPEGImages │ └── .gitkeep │ ├── classes.txt │ ├── predicate-matrix-continuous.txt │ ├── proposed_split │ ├── seen_cls.txt │ ├── test.txt │ ├── test_seen_ps.txt │ ├── test_unseen_ps.txt │ ├── trainval_ps.txt │ ├── trans_test_files.txt │ ├── trans_train_files.txt │ └── unseen_cls.txt │ ├── testclasses.txt │ └── trainclasses.txt ├── data_factory ├── __init__.py ├── balanced_batch_sampler.py ├── data_factory.py ├── data_transform.py ├── evaluator_factory.py ├── proposed_split.py └── standard_split.py ├── demo ├── czsl.png ├── framework.png └── gzsl.png ├── evaluation ├── __init__.py ├── hybrid.py ├── metric.py ├── self_adaptation.py └── utils.py ├── experiments ├── __init__.py ├── run_evaluator.py ├── run_evaluator_hybrid.py └── run_trainer.py ├── losses.py ├── models ├── __init__.py ├── basic.py ├── lfgaa_inception_v3.py ├── lfgaa_resnet101.py └── lfgaa_vgg19.py ├── predictions └── template_config.txt ├── tools └── best_result_fromdir.py ├── trainer.py └── util.py /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/README.md -------------------------------------------------------------------------------- /checkpoint/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /configs/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /configs/collections.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/configs/collections.py -------------------------------------------------------------------------------- /configs/default.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/configs/default.py -------------------------------------------------------------------------------- /configs/hybrid/GoogleNet_AwA2_SS_C.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/configs/hybrid/GoogleNet_AwA2_SS_C.yaml -------------------------------------------------------------------------------- /configs/hybrid/GoogleNet_CUB_PS_G.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/configs/hybrid/GoogleNet_CUB_PS_G.yaml -------------------------------------------------------------------------------- /configs/hybrid/GoogleNet_CUB_SS_C.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/configs/hybrid/GoogleNet_CUB_SS_C.yaml -------------------------------------------------------------------------------- /configs/hybrid/GoogleNet_SUN_PS_G.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/configs/hybrid/GoogleNet_SUN_PS_G.yaml -------------------------------------------------------------------------------- /configs/hybrid/ResNet101_CUB_PS_C.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/configs/hybrid/ResNet101_CUB_PS_C.yaml -------------------------------------------------------------------------------- /configs/hybrid/ResNet101_SUN_PS_C.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/configs/hybrid/ResNet101_SUN_PS_C.yaml -------------------------------------------------------------------------------- /configs/hybrid/ResNet101_SUN_SS_C.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/configs/hybrid/ResNet101_SUN_SS_C.yaml -------------------------------------------------------------------------------- /configs/hybrid/VGG19_AwA2_PS_C.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/configs/hybrid/VGG19_AwA2_PS_C.yaml -------------------------------------------------------------------------------- /configs/hybrid/VGG19_AwA2_PS_G.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/configs/hybrid/VGG19_AwA2_PS_G.yaml -------------------------------------------------------------------------------- /configs/self_adaptation/GoogleNet_AwA2_PS_C.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/configs/self_adaptation/GoogleNet_AwA2_PS_C.yaml -------------------------------------------------------------------------------- /configs/self_adaptation/GoogleNet_AwA2_PS_G.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/configs/self_adaptation/GoogleNet_AwA2_PS_G.yaml -------------------------------------------------------------------------------- /configs/self_adaptation/GoogleNet_AwA2_SS_C.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/configs/self_adaptation/GoogleNet_AwA2_SS_C.yaml -------------------------------------------------------------------------------- /configs/self_adaptation/GoogleNet_CUB_PS_C.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/configs/self_adaptation/GoogleNet_CUB_PS_C.yaml -------------------------------------------------------------------------------- /configs/self_adaptation/GoogleNet_CUB_PS_G.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/configs/self_adaptation/GoogleNet_CUB_PS_G.yaml -------------------------------------------------------------------------------- /configs/self_adaptation/GoogleNet_CUB_SS_C.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/configs/self_adaptation/GoogleNet_CUB_SS_C.yaml -------------------------------------------------------------------------------- /configs/self_adaptation/GoogleNet_SUN_PS_C.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/configs/self_adaptation/GoogleNet_SUN_PS_C.yaml -------------------------------------------------------------------------------- /configs/self_adaptation/GoogleNet_SUN_PS_G.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/configs/self_adaptation/GoogleNet_SUN_PS_G.yaml -------------------------------------------------------------------------------- /configs/self_adaptation/GoogleNet_SUN_SS_C.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/configs/self_adaptation/GoogleNet_SUN_SS_C.yaml -------------------------------------------------------------------------------- /configs/self_adaptation/ResNet101_AwA2_PS_C.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/configs/self_adaptation/ResNet101_AwA2_PS_C.yaml -------------------------------------------------------------------------------- /configs/self_adaptation/ResNet101_AwA2_PS_G.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/configs/self_adaptation/ResNet101_AwA2_PS_G.yaml -------------------------------------------------------------------------------- /configs/self_adaptation/ResNet101_AwA2_SS_C.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/configs/self_adaptation/ResNet101_AwA2_SS_C.yaml -------------------------------------------------------------------------------- /configs/self_adaptation/ResNet101_CUB_PS_C.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/configs/self_adaptation/ResNet101_CUB_PS_C.yaml -------------------------------------------------------------------------------- /configs/self_adaptation/ResNet101_CUB_PS_G.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/configs/self_adaptation/ResNet101_CUB_PS_G.yaml -------------------------------------------------------------------------------- /configs/self_adaptation/ResNet101_CUB_SS_C.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/configs/self_adaptation/ResNet101_CUB_SS_C.yaml -------------------------------------------------------------------------------- /configs/self_adaptation/ResNet101_SUN_PS_C.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/configs/self_adaptation/ResNet101_SUN_PS_C.yaml -------------------------------------------------------------------------------- /configs/self_adaptation/ResNet101_SUN_PS_G.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/configs/self_adaptation/ResNet101_SUN_PS_G.yaml -------------------------------------------------------------------------------- /configs/self_adaptation/ResNet101_SUN_SS_C.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/configs/self_adaptation/ResNet101_SUN_SS_C.yaml -------------------------------------------------------------------------------- /configs/self_adaptation/VGG19_AwA2_PS_C.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/configs/self_adaptation/VGG19_AwA2_PS_C.yaml -------------------------------------------------------------------------------- /configs/self_adaptation/VGG19_AwA2_PS_G.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/configs/self_adaptation/VGG19_AwA2_PS_G.yaml -------------------------------------------------------------------------------- /configs/self_adaptation/VGG19_AwA2_SS_C.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/configs/self_adaptation/VGG19_AwA2_SS_C.yaml -------------------------------------------------------------------------------- /configs/self_adaptation/VGG19_CUB_PS_C.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/configs/self_adaptation/VGG19_CUB_PS_C.yaml -------------------------------------------------------------------------------- /configs/self_adaptation/VGG19_CUB_PS_G.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/configs/self_adaptation/VGG19_CUB_PS_G.yaml -------------------------------------------------------------------------------- /configs/self_adaptation/VGG19_CUB_SS_C.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/configs/self_adaptation/VGG19_CUB_SS_C.yaml -------------------------------------------------------------------------------- /configs/self_adaptation/VGG19_SUN_PS_C.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/configs/self_adaptation/VGG19_SUN_PS_C.yaml -------------------------------------------------------------------------------- /configs/self_adaptation/VGG19_SUN_PS_G.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/configs/self_adaptation/VGG19_SUN_PS_G.yaml -------------------------------------------------------------------------------- /configs/self_adaptation/VGG19_SUN_SS_C.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/configs/self_adaptation/VGG19_SUN_SS_C.yaml -------------------------------------------------------------------------------- /data/AwA2/JPEGImages/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /data/AwA2/classes.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/data/AwA2/classes.txt -------------------------------------------------------------------------------- /data/AwA2/predicate-matrix-continuous.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/data/AwA2/predicate-matrix-continuous.txt -------------------------------------------------------------------------------- /data/AwA2/predicates.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/data/AwA2/predicates.txt -------------------------------------------------------------------------------- /data/AwA2/proposed_split/seen_cls.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/data/AwA2/proposed_split/seen_cls.txt -------------------------------------------------------------------------------- /data/AwA2/proposed_split/test_seen_ps.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/data/AwA2/proposed_split/test_seen_ps.txt -------------------------------------------------------------------------------- /data/AwA2/proposed_split/test_unseen_ps.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/data/AwA2/proposed_split/test_unseen_ps.txt -------------------------------------------------------------------------------- /data/AwA2/proposed_split/trainval_ps.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/data/AwA2/proposed_split/trainval_ps.txt -------------------------------------------------------------------------------- /data/AwA2/proposed_split/trans_test_files.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/data/AwA2/proposed_split/trans_test_files.txt -------------------------------------------------------------------------------- /data/AwA2/proposed_split/trans_train_files.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/data/AwA2/proposed_split/trans_train_files.txt -------------------------------------------------------------------------------- /data/AwA2/proposed_split/unseen_cls.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/data/AwA2/proposed_split/unseen_cls.txt -------------------------------------------------------------------------------- /data/AwA2/testclasses.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/data/AwA2/testclasses.txt -------------------------------------------------------------------------------- /data/AwA2/trainclasses.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/data/AwA2/trainclasses.txt -------------------------------------------------------------------------------- /data/CUB/JPEGImages/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /data/CUB/classes.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/data/CUB/classes.txt -------------------------------------------------------------------------------- /data/CUB/predicate-matrix-continuous.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/data/CUB/predicate-matrix-continuous.txt -------------------------------------------------------------------------------- /data/CUB/proposed_split/seen_cls.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/data/CUB/proposed_split/seen_cls.txt -------------------------------------------------------------------------------- /data/CUB/proposed_split/test_seen_ps.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/data/CUB/proposed_split/test_seen_ps.txt -------------------------------------------------------------------------------- /data/CUB/proposed_split/test_unseen_ps.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/data/CUB/proposed_split/test_unseen_ps.txt -------------------------------------------------------------------------------- /data/CUB/proposed_split/trainval_ps.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/data/CUB/proposed_split/trainval_ps.txt -------------------------------------------------------------------------------- /data/CUB/proposed_split/trans_test_files.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/data/CUB/proposed_split/trans_test_files.txt -------------------------------------------------------------------------------- /data/CUB/proposed_split/trans_train_files.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/data/CUB/proposed_split/trans_train_files.txt -------------------------------------------------------------------------------- /data/CUB/proposed_split/unseen_cls.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/data/CUB/proposed_split/unseen_cls.txt -------------------------------------------------------------------------------- /data/CUB/testclasses.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/data/CUB/testclasses.txt -------------------------------------------------------------------------------- /data/CUB/trainclasses.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/data/CUB/trainclasses.txt -------------------------------------------------------------------------------- /data/SUN/JPEGImages/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /data/SUN/classes.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/data/SUN/classes.txt -------------------------------------------------------------------------------- /data/SUN/predicate-matrix-continuous.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/data/SUN/predicate-matrix-continuous.txt -------------------------------------------------------------------------------- /data/SUN/proposed_split/seen_cls.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/data/SUN/proposed_split/seen_cls.txt -------------------------------------------------------------------------------- /data/SUN/proposed_split/test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/data/SUN/proposed_split/test.txt -------------------------------------------------------------------------------- /data/SUN/proposed_split/test_seen_ps.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/data/SUN/proposed_split/test_seen_ps.txt -------------------------------------------------------------------------------- /data/SUN/proposed_split/test_unseen_ps.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/data/SUN/proposed_split/test_unseen_ps.txt -------------------------------------------------------------------------------- /data/SUN/proposed_split/trainval_ps.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/data/SUN/proposed_split/trainval_ps.txt -------------------------------------------------------------------------------- /data/SUN/proposed_split/trans_test_files.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/data/SUN/proposed_split/trans_test_files.txt -------------------------------------------------------------------------------- /data/SUN/proposed_split/trans_train_files.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/data/SUN/proposed_split/trans_train_files.txt -------------------------------------------------------------------------------- /data/SUN/proposed_split/unseen_cls.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/data/SUN/proposed_split/unseen_cls.txt -------------------------------------------------------------------------------- /data/SUN/testclasses.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/data/SUN/testclasses.txt -------------------------------------------------------------------------------- /data/SUN/trainclasses.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/data/SUN/trainclasses.txt -------------------------------------------------------------------------------- /data_factory/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/data_factory/__init__.py -------------------------------------------------------------------------------- /data_factory/balanced_batch_sampler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/data_factory/balanced_batch_sampler.py -------------------------------------------------------------------------------- /data_factory/data_factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/data_factory/data_factory.py -------------------------------------------------------------------------------- /data_factory/data_transform.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/data_factory/data_transform.py -------------------------------------------------------------------------------- /data_factory/evaluator_factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/data_factory/evaluator_factory.py -------------------------------------------------------------------------------- /data_factory/proposed_split.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/data_factory/proposed_split.py -------------------------------------------------------------------------------- /data_factory/standard_split.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/data_factory/standard_split.py -------------------------------------------------------------------------------- /demo/czsl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/demo/czsl.png -------------------------------------------------------------------------------- /demo/framework.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/demo/framework.png -------------------------------------------------------------------------------- /demo/gzsl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/demo/gzsl.png -------------------------------------------------------------------------------- /evaluation/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /evaluation/hybrid.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/evaluation/hybrid.py -------------------------------------------------------------------------------- /evaluation/metric.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/evaluation/metric.py -------------------------------------------------------------------------------- /evaluation/self_adaptation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/evaluation/self_adaptation.py -------------------------------------------------------------------------------- /evaluation/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/evaluation/utils.py -------------------------------------------------------------------------------- /experiments/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /experiments/run_evaluator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/experiments/run_evaluator.py -------------------------------------------------------------------------------- /experiments/run_evaluator_hybrid.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/experiments/run_evaluator_hybrid.py -------------------------------------------------------------------------------- /experiments/run_trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/experiments/run_trainer.py -------------------------------------------------------------------------------- /losses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/losses.py -------------------------------------------------------------------------------- /models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/models/__init__.py -------------------------------------------------------------------------------- /models/basic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/models/basic.py -------------------------------------------------------------------------------- /models/lfgaa_inception_v3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/models/lfgaa_inception_v3.py -------------------------------------------------------------------------------- /models/lfgaa_resnet101.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/models/lfgaa_resnet101.py -------------------------------------------------------------------------------- /models/lfgaa_vgg19.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/models/lfgaa_vgg19.py -------------------------------------------------------------------------------- /predictions/template_config.txt: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tools/best_result_fromdir.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/tools/best_result_fromdir.py -------------------------------------------------------------------------------- /trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/trainer.py -------------------------------------------------------------------------------- /util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJULearning/AttentionZSL/HEAD/util.py --------------------------------------------------------------------------------