yinboc / DGP

Rethinking Knowledge Graph Propagation for Zero-Shot Learning, in CVPR 2019
MIT License
319 stars 57 forks source link

how to know 'cat''s descendants and ancestors? #1

Closed dongzhuoyao closed 6 years ago

dongzhuoyao commented 6 years ago

Where do you get this prior information?

sorry for my simple question, I'm a newbie for this topic.

yinboc commented 6 years ago

It is obtained from wordnet in nltk package of python. You could take materials/get_induced_graph.py as reference.

Good luck to your work.