Skip to content

niuchuangnn/IMSVD

Repository files navigation

Information-Maximized Soft Variable Discretization for Self-Supervised Image Representation Learning

This is a Pytorch implementation of paper.

Installation

Assuming Anaconda with python 3.8, a step-by-step example for installing this project is as follows:

conda install pytorch==1.12.1 torchvision==0.13.1 torchaudio==0.12.1 cudatoolkit=10.2 -c pytorch
conda install matplotlib

Pretrain on ImageNet

sbatch job_imsvd.sh  # need to adjust according to your computing platform

Linear Evaluation on ImageNet

python linear_eval.py

Visualization

Our pretrained model can be downloaded here

python visualize_matrix.py  # visualize the joint probability matrix
python visualize_samples.py  # visualize samples assigned to specific feature units

License

This project is under the CC-BY-NC 4.0 license. See LICENSE for details.

@misc{imsvd,
      title={Information-Maximized Soft Variable Discretization for Self-Supervised Image Representation Learning}, 
      author={Chuang Niu and Wenjun Xia and Hongming Shan and Ge Wang},
      year={2025},
      eprint={2501.03469},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2501.03469}, 
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published