├── .gitignore ├── DATASET.md ├── README.md ├── data ├── docs │ ├── git-gcn-teaser.png │ ├── test+train_fc_c.png │ ├── test+train_wv_c.png │ ├── train_fc_animal.png │ ├── train_fc_c.png │ ├── train_fc_ccarnivore.png │ ├── train_fc_ccontainer.png │ ├── train_fc_inst.png │ ├── train_wv_animal.png │ ├── train_wv_c.png │ ├── train_wv_ccarnivore.png │ ├── train_wv_ccontainer.png │ └── train_wv_inst.png ├── imagenet_graph.pkl ├── list │ ├── 1k-2-hops.txt │ ├── 1k-3-hops.txt │ ├── 1k-all.txt │ ├── 1k.txt │ ├── 2-hops.txt │ ├── 3-hops.txt │ ├── all.txt │ ├── corresp-2-hops.json │ ├── corresp-3-hops.json │ ├── corresp-all.json │ ├── invdict_wordn.json │ ├── invdict_wordntext.json │ ├── words.pkl │ └── words.txt └── word_embedding_model ├── feats ├── images └── src ├── gcn ├── convert.py ├── layers.py ├── metrics.py ├── models.py ├── train_gcn.py └── utils.py ├── preprocess_data.sh ├── test_imagenet.py ├── test_imagenet_conse.py ├── test_imagenet_pll.py ├── tools ├── convert_to_gcn_data.py ├── download_image.py ├── extract_features │ ├── ImageFolder.py │ └── main.py ├── extract_pool5.py ├── obtain_word_embedding.py ├── prepare_list.py └── tmp_test.py └── train_deploy.sh /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruotianluo/zsl-gcn-pth/HEAD/.gitignore -------------------------------------------------------------------------------- /DATASET.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruotianluo/zsl-gcn-pth/HEAD/DATASET.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruotianluo/zsl-gcn-pth/HEAD/README.md -------------------------------------------------------------------------------- /data/docs/git-gcn-teaser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruotianluo/zsl-gcn-pth/HEAD/data/docs/git-gcn-teaser.png -------------------------------------------------------------------------------- /data/docs/test+train_fc_c.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruotianluo/zsl-gcn-pth/HEAD/data/docs/test+train_fc_c.png -------------------------------------------------------------------------------- /data/docs/test+train_wv_c.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruotianluo/zsl-gcn-pth/HEAD/data/docs/test+train_wv_c.png -------------------------------------------------------------------------------- /data/docs/train_fc_animal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruotianluo/zsl-gcn-pth/HEAD/data/docs/train_fc_animal.png -------------------------------------------------------------------------------- /data/docs/train_fc_c.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruotianluo/zsl-gcn-pth/HEAD/data/docs/train_fc_c.png -------------------------------------------------------------------------------- /data/docs/train_fc_ccarnivore.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruotianluo/zsl-gcn-pth/HEAD/data/docs/train_fc_ccarnivore.png -------------------------------------------------------------------------------- /data/docs/train_fc_ccontainer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruotianluo/zsl-gcn-pth/HEAD/data/docs/train_fc_ccontainer.png -------------------------------------------------------------------------------- /data/docs/train_fc_inst.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruotianluo/zsl-gcn-pth/HEAD/data/docs/train_fc_inst.png -------------------------------------------------------------------------------- /data/docs/train_wv_animal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruotianluo/zsl-gcn-pth/HEAD/data/docs/train_wv_animal.png -------------------------------------------------------------------------------- /data/docs/train_wv_c.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruotianluo/zsl-gcn-pth/HEAD/data/docs/train_wv_c.png -------------------------------------------------------------------------------- /data/docs/train_wv_ccarnivore.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruotianluo/zsl-gcn-pth/HEAD/data/docs/train_wv_ccarnivore.png -------------------------------------------------------------------------------- /data/docs/train_wv_ccontainer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruotianluo/zsl-gcn-pth/HEAD/data/docs/train_wv_ccontainer.png -------------------------------------------------------------------------------- /data/docs/train_wv_inst.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruotianluo/zsl-gcn-pth/HEAD/data/docs/train_wv_inst.png -------------------------------------------------------------------------------- /data/imagenet_graph.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruotianluo/zsl-gcn-pth/HEAD/data/imagenet_graph.pkl -------------------------------------------------------------------------------- /data/list/1k-2-hops.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruotianluo/zsl-gcn-pth/HEAD/data/list/1k-2-hops.txt -------------------------------------------------------------------------------- /data/list/1k-3-hops.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruotianluo/zsl-gcn-pth/HEAD/data/list/1k-3-hops.txt -------------------------------------------------------------------------------- /data/list/1k-all.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruotianluo/zsl-gcn-pth/HEAD/data/list/1k-all.txt -------------------------------------------------------------------------------- /data/list/1k.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruotianluo/zsl-gcn-pth/HEAD/data/list/1k.txt -------------------------------------------------------------------------------- /data/list/2-hops.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruotianluo/zsl-gcn-pth/HEAD/data/list/2-hops.txt -------------------------------------------------------------------------------- /data/list/3-hops.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruotianluo/zsl-gcn-pth/HEAD/data/list/3-hops.txt -------------------------------------------------------------------------------- /data/list/all.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruotianluo/zsl-gcn-pth/HEAD/data/list/all.txt -------------------------------------------------------------------------------- /data/list/corresp-2-hops.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruotianluo/zsl-gcn-pth/HEAD/data/list/corresp-2-hops.json -------------------------------------------------------------------------------- /data/list/corresp-3-hops.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruotianluo/zsl-gcn-pth/HEAD/data/list/corresp-3-hops.json -------------------------------------------------------------------------------- /data/list/corresp-all.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruotianluo/zsl-gcn-pth/HEAD/data/list/corresp-all.json -------------------------------------------------------------------------------- /data/list/invdict_wordn.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruotianluo/zsl-gcn-pth/HEAD/data/list/invdict_wordn.json -------------------------------------------------------------------------------- /data/list/invdict_wordntext.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruotianluo/zsl-gcn-pth/HEAD/data/list/invdict_wordntext.json -------------------------------------------------------------------------------- /data/list/words.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruotianluo/zsl-gcn-pth/HEAD/data/list/words.pkl -------------------------------------------------------------------------------- /data/list/words.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruotianluo/zsl-gcn-pth/HEAD/data/list/words.txt -------------------------------------------------------------------------------- /data/word_embedding_model: -------------------------------------------------------------------------------- 1 | /scratch/yufeiy2/nell_data_tmp/data/run_word2vec/ -------------------------------------------------------------------------------- /feats: -------------------------------------------------------------------------------- 1 | /scratch/yufeiy2/nell_data_tmp/feats/ -------------------------------------------------------------------------------- /images: -------------------------------------------------------------------------------- 1 | /scratch/yufeiy2/nell_data_tmp/images/ -------------------------------------------------------------------------------- /src/gcn/convert.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruotianluo/zsl-gcn-pth/HEAD/src/gcn/convert.py -------------------------------------------------------------------------------- /src/gcn/layers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruotianluo/zsl-gcn-pth/HEAD/src/gcn/layers.py -------------------------------------------------------------------------------- /src/gcn/metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruotianluo/zsl-gcn-pth/HEAD/src/gcn/metrics.py -------------------------------------------------------------------------------- /src/gcn/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruotianluo/zsl-gcn-pth/HEAD/src/gcn/models.py -------------------------------------------------------------------------------- /src/gcn/train_gcn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruotianluo/zsl-gcn-pth/HEAD/src/gcn/train_gcn.py -------------------------------------------------------------------------------- /src/gcn/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruotianluo/zsl-gcn-pth/HEAD/src/gcn/utils.py -------------------------------------------------------------------------------- /src/preprocess_data.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruotianluo/zsl-gcn-pth/HEAD/src/preprocess_data.sh -------------------------------------------------------------------------------- /src/test_imagenet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruotianluo/zsl-gcn-pth/HEAD/src/test_imagenet.py -------------------------------------------------------------------------------- /src/test_imagenet_conse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruotianluo/zsl-gcn-pth/HEAD/src/test_imagenet_conse.py -------------------------------------------------------------------------------- /src/test_imagenet_pll.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruotianluo/zsl-gcn-pth/HEAD/src/test_imagenet_pll.py -------------------------------------------------------------------------------- /src/tools/convert_to_gcn_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruotianluo/zsl-gcn-pth/HEAD/src/tools/convert_to_gcn_data.py -------------------------------------------------------------------------------- /src/tools/download_image.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruotianluo/zsl-gcn-pth/HEAD/src/tools/download_image.py -------------------------------------------------------------------------------- /src/tools/extract_features/ImageFolder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruotianluo/zsl-gcn-pth/HEAD/src/tools/extract_features/ImageFolder.py -------------------------------------------------------------------------------- /src/tools/extract_features/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruotianluo/zsl-gcn-pth/HEAD/src/tools/extract_features/main.py -------------------------------------------------------------------------------- /src/tools/extract_pool5.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruotianluo/zsl-gcn-pth/HEAD/src/tools/extract_pool5.py -------------------------------------------------------------------------------- /src/tools/obtain_word_embedding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruotianluo/zsl-gcn-pth/HEAD/src/tools/obtain_word_embedding.py -------------------------------------------------------------------------------- /src/tools/prepare_list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruotianluo/zsl-gcn-pth/HEAD/src/tools/prepare_list.py -------------------------------------------------------------------------------- /src/tools/tmp_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruotianluo/zsl-gcn-pth/HEAD/src/tools/tmp_test.py -------------------------------------------------------------------------------- /src/train_deploy.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruotianluo/zsl-gcn-pth/HEAD/src/train_deploy.sh --------------------------------------------------------------------------------