Test the pre-trained CNN-F in TensorFlow/Pytorch with a simple classification model using MNIST.
Codes of CNN-F and pre-trained parameters are provided in [1].
Analyses of the weight files are contained in test.cnnf.ipynb and cnnf.pytorch.ipynb.
python main.py
tensorboard --logdir log
python main_torch.py
python main_tf2.py
MNIST, zooming into [224, 224, 3].
- iter 0: 0.12269999995827675
- iter 450: 0.9907000076770782
- 1 epoch: 0.98
- 1 epoch: 0.9742
- tensorflow 1.12.0 / 2.1.0
- pytorch 1.4.0, torchvision 0.5.0
- cuda 9.0 / 10.1
you may use docker: tyloeng/dl