Giter Site home page Giter Site logo

haf's Introduction

HAF in PyTorch

Official Code Release for Learning Hierarchy Aware Features for Reducing Mistake Severity
Ashima Garg, Depanshu Sani, Saket Anand.

European Conference on Computer Vision (ECCV 2022)

Citations

If you find this paper useful, please cite our paper:

@inproceedings{garg2022learning,
  title={Learning Hierarchy Aware Features for Reducing Mistake Severity},
  author={Garg, Ashima and Sani, Depanshu and Anand, Saket},
  booktitle={European Conference on Computer Vision},
  pages={252--267},
  year={2022},
  organization={Springer}
}

Proposed Approach

Installation

Clone this repository

$ git clone https://github.com/07Agarg/HAF.git
$ cd HAF

Dataset Preparation

Refer to Repository: Making Better Mistakes

Hierarchies

Refer to Repository: Making Better Mistakes

Using the Code for Training

The experiments in the paper are contained in the folder experiments/ dataset wise. For CIFAR-100

bash experiments/train/cifar-100/cross-entropy.sh

For iNaturalist-19

bash experiments/train/inat/cross-entropy.sh

For tiered-imagenet

bash experiments/train/tieredimagenet/cross-entropy.sh

For testing

Refer to the code repository: CRM-making-better-mistakes

Link To Trained Models

Download HAF final trained models from the link and use the above repository for testing.

Acknowledgements

This codebase is borrowed from making-better-mistakes

Contact

If you have any suggestion or question, you can leave a message here or contact us directly at [email protected]

haf's People

Contributors

07agarg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

haf's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.