ankitdhall / learning_embeddings

Code for CVPR-W 2020 paper "Hierarchical Image Classification using Entailment Cone Embeddings" https://arxiv.org/abs/2004.03459
https://ankitdhall.github.io/project/learning-representations-for-images-with-hierarchical-labels/
21 stars 7 forks source link

Issues while running the code #11

Open shubham1166 opened 4 years ago

shubham1166 commented 4 years ago

There are still few issues in the code: 1) The split that are given are sort of corrupt as there are many images that have image name in the 'image_path' and 'image_path' as empty. 2) After this, while running ethec_experiments.py , the train set and everything is made by db.py, so if labelmap = ETHECLabelMap, then there are 550 specific_epithets and 560 genus_specific_epithet. So, the issue comes is that the train set and the labeling of the last level is done with the help of specific epithets but decode_children that is used while training, decode the last level label by using genus_specific_epithet. 3) If oder_embeddings.py is run then the first issue is ETHECDB doesnot take input with_images, if that is resolved, the training is stucked after the first epoch.

Please see for these issues and make the code easily reproducible