The demo code for paper Revisiting Neural Network Dynamics via Estimation-Measure-Oriented Bottlenecks.
- Train the main network for MNIST calssification task.
- Run src.pretrain.py file.
- Use measure estimators to do the measurements and obtain the results at each epoch.
- Fill the path of training results of src.pretrain.py into the sim.train_measure.py file.
- Run sim.train_measure.py file.
- Python >= 3.9.7
- pytorch >= 1.11.0
- numpy >= 1.21.5
- tqdm >= 4.64.0