PyTorch implementation for Robust Contrastive Cross-modal Hashing with Noisy Labels. (ACM Multimedia 2024).
The overview of our NRCH. (a) is the overall framework of our NRCH, which employs a cross-modal network
Before running the main script, you need to generate the .h5
file and the noise. To do this, run tools.py
and generate.py
:
python ./utils/tools.py
python ./noise/generate.py
Once the .h5
file and noise are generated, you can run the main script NRCH.py
to play with the model:
python NRCH.py
We have already provided the trained model under 50% noise in 64-bit on MIRFlickr-25K dataset. You can download the model and a toy dataset form here.