Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

To test event_vae #4

Open
thomhert opened this issue Dec 13, 2021 · 1 comment
Open

To test event_vae #4

thomhert opened this issue Dec 13, 2021 · 1 comment

Comments

@thomhert
Copy link

Hi,
Thank you for sharing your work. I successfully trained the vae model using the sample data gates.txt.
Now I want to test my trained model using your test.py. Can you describe how to use the test.py? Thank you!

@saihv
Copy link
Contributor

saihv commented Jan 7, 2022

@thomhert Testing the event VAE will be pretty similar to the way the train script is set up, you just need to load a test set of events, and then do a forward pass with the model.

I have updated the test script in the event_vae folder to help with this. Right now, the test script loads a trained eVAE model, a stream of events, then samples batches of events with increasing length and computes the reconstructions for each value of length. This replicates the 'sparsity invariance' experiment from our paper (Figure ). Hopefully this helps as a starting point for testing trained VAE models!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants