model.py
: the model of spaVAEtrain.py
: the training scriptutils.py
: the utils for data loading and visualizationcluster.py
: the script for latent variables clusteringREADME.md
: the README filedatasets/
: the datasets for training and testingcheckpoints/
: the checkpoints and results for the modelrequirements.txt
: the requirements for the project
python train.py --model_name YOUR_MODEL_NAME
The model will be saved in the checkpoints/
folder.
python cluster.py --model_name YOUR_MODEL_NAME
The clustering results will be saved in the checkpoints/
folder.
Thanks a lot for the original code of spaVAE:https://github.com/ttgump/spaVAE/tree/main
I have made some modifications to the code to fit the requirements of MATH5472.