Official PyTorch repository for an experimental section of the paper Fixed points of nonnegative neural networks
pip install -r requirements
To train autoencoders used in paper, use the following command
python train.py -net <net_name> -lr <lr_rate> -epochs <epochs> -wd <weight_decay> -b <batch>
where:
<net_name>
- the name of the pcDEQ model, one from the following list:nn_sigmoid
- autoencoder from Section 6.1nn_tanh
- autoencoder from section 6.2pn_tanh
- autoencoder from section 6.3nn_relu
- autoencoder from section 6.4pn_relu
- autoencoder from section 6.5nn_tanh_swish
- autoencoder from section 6.6nr_relu_sigmoid
- autoencoder from section 6.7rr_relu_sigmoid
- autoencoder from section 6.8
<lr_rate>
- learning rate<epochs>
- number of epochs<wd>
- weight decay<b>
- batch size
The following command shows the example of training autoencoder from section 6.1
python train.py -net nn_sigmoid -lr 5e-3 -epochs 30 -wd 0 -b 64