This is the example code (on MNIST) of the paper "Multi-path x-D Recurrent Neural Network for Collaborative Image Classification". With this example, our MxDRNN can easily apply to other tasks.
-
the objective of this code show the details of our implementing experiments which cannot be fully written in the paper.
-
This is only the example code, we make it concise. The more abundant well-orginized code with more datasets would be publicly available in the future.
-
Even though we provide the test accuracy on every epoch, but what we reported in our paper is the test accuracy of the epoch with best accuracy on validation set.
-
The configs are presented in mnist.yaml. If we want to train different model (e.g. basline model and MxDRNN + baseline), we can change the "model_name" and "save_path" in mnist.yaml file.
-
The main.py is the main python script. Use the command line 'python main.py' to run.
-
RNN-related components are in 'crnn' folder.
-
mnist_loader.py is the data loader file when using PyTorch.
Please email (riqiang.gao@vanderbilt.edu) if any concerns.