Python影像辨識筆記(三十一):Zero-Shot Classification — CADA-VAE-PyTorch

torch==0.4.1
numpy==1.14.3
scipy==1.1.0
scikit_learn==0.20.3
networkx==1.11
git clone https://github.com/edgarschnfld/CADA-VAE-PyTorchcd CADA-VAE-PyTorchpip install -r requirements.txtmkdir data && cd datawget -O data https://www.dropbox.com/sh/btoc495ytfbnbat/AAAaurkoKnnk0uV-swgF-gdSa?dl=1
python single_experiment.py --dataset CUB --num_shots 0 --generalized True# 可使用的參數:
datasets: CUB, SUN, AWA1, AWA2
num_shots: any number
generalized: True, False