Skip to content

Our code for ICLR'24 paper "Energy-based Automated Model Evaluation".

License

Notifications You must be signed in to change notification settings

pengr/Energy_AutoEval

Repository files navigation

Energy-based Automated Model Evaluation [Paper]

PyTorch Implementation

This repository contains:

  • the PyTorch implementation of Energy_AutoEval
  • the example on CIFAR-10 setup
  • CIFAR-10, CIFAR-100, TinyImageNet-200, ImageNet-200, ImageNet download setups. Please see PROJECT_DIR/data_setup/ or you can download it manually form the offical websites in Prerequisites ↓

Please follow the instruction below to install it and run the experiment demo.

Prerequisites

Getting started

  1. Install dependencies

    # Energy-based AutoEval
    conda env create --name energy_autoeval --file environment.yaml
    conda activate energy_autoeval
  2. prepare datasets

    # download into "PROJECT_DIR/datasets/CIFAR10/"
    bash data_setup/setup_cifar10.sh
  3. train classifier

    # Save as "PROJECT_DIR/checkpoints/CIFAR10/checkpoint.pth"
    python train.py
  4. Eval on unseen test sets by regression model and Correlation study

    # The absolute error of linear regression is also shown
    python eval.py

Citation

If you use the code in your research, please cite:

@article{peng2024energy,
    title={Energy-based Automated Model Evaluation},
    author={Peng, Ru and Zou, Heming and Wang, Haobo and Zeng, Yawen and Huang, Zenan and Zhao, Junbo},
    journal={arXiv preprint arXiv:2401.12689},
    year={2024}
}

License

MIT

About

Our code for ICLR'24 paper "Energy-based Automated Model Evaluation".

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published