Implementation of the HEX graph described in the paper of Large-Scale Object Classification using Label Relation Graphs (ECCV 2014)