You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A supplementary code for Editable Neural Networks, an ICLR 2020 submission by Anton Sinitsin, Vsevolod Plokhotnyuk, Dmitry Pyrkin, Sergei Popov, Artem Babenko.
What does it do?
It trains a model so that it can later be edited: forced to predict a specific class on a specific input without losing accuracy.
What do i need to run it?
A machine with some CPU (preferably 2+ free cores) and GPU(s)
Running without GPU is possible but does not scale well, especially for ImageNet
Some popular Linux x64 distribution
Tested on Ubuntu16.04, should work fine on any popular linux64 and even MacOS;
Windows and x32 systems may require heavy wizardry to run;
When in doubt, use Docker, preferably GPU-enabled (i.e. nvidia-docker)
How do I run it?
Clone or download this repo. cd yourself to it's root directory.
Grab or build a working python enviromnent. Anaconda works fine.
Install packages from requirements.txt
Run jupyter notebook and open a notebook in ./notebooks/
Before you run the first cell, change %env CUDA_VISIBLE_DEVICES=# to an index that you plan to use.