/ACMR_demo

forked from original authors' repository

Primary LanguagePython

demo codes for "Adversarial Cross-modal Retrieval (ACMR)"

To run the demo:

# Wikipedia dataset
python train_adv_crossmodal_simple_wiki.py # with contrastive loss
python train_adv_crossmodal_triplet_wiki.py # with triplet loss

We have prepared the data in the "./data" folder. If you have any question, please contact Lee Wlving at leewlving@gmail.com. The code has corrected some error in the original code, please run it on the python2 + tensorflow1. There are some problems in python3, please reference at https://blog.csdn.net/qian1996/article/details/100939766?spm=1001.2014.3001.5502