MachineMem
MachineMem copied to clipboard
Code of "What Images are More Memorable to Machines?"
MachineMem
Project page, arXiv
This is the official PyTorch implementation of "What Images are More Memorable to Machines?" This repo currently supports the training and testing of the MachineMem predictor. Instructions for GANalyze are also provided. Codes for running the MachineMem measurer will be released after paper acceptance.
What Images are More Memorable to Machines?
Junlin Han, Huangying Zhan, Jie Hong, Pengfei Fang, Hongdong Li, Lars Petersson, Ian Reid
University of Adelaide and Data61-CSIRO and Australian National University
Getting started
- Clone this repo:
git clone https://github.com/JunlinHan/MachineMem.git
-
Install PyTorch 1.7 or above and other dependencies (e.g., torchvision, timm, numpy, scipy, pillow, scikit-learn).
-
You may build a new conda environment by running
conda env create -f environment.yml.
How to run the code?
For predictor, please see ./predictor.
For GANalyze, please see ./GANalyze_instructions.
Contact
[email protected] or [email protected]
Cite
If you use our code or our results/findings, please cite our paper. Thanks!
@inproceedings{han2022machinemem,
title={What Images are More Memorable to Machines?},
author={Junlin Han and Huangying Zhan and Jie Hong and Pengfei Fang and Hongdong Li and Lars Petersson and Ian Reid},
booktitle={arXiv preprint arXiv:2211.07625},
year={2022}
}
Acknowledgments
Our code is developed based on official PyTorch ImageNet training code.