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

Pre-processing for train/val/test vs predict #46

Open
agoodge opened this issue Sep 10, 2024 · 1 comment
Open

Pre-processing for train/val/test vs predict #46

agoodge opened this issue Sep 10, 2024 · 1 comment

Comments

@agoodge
Copy link

agoodge commented Sep 10, 2024

Hi,

When I call train/val/test, the input is appropriately pre-processed in the train/val/test_step function. If I call predict after doing this, the input is also pre-processed similarly. However, if I call predict without calling train/val/test first, then the input is not pre-processed.

My question is, how should I use predict properly? I want to obtain the outputs of a pre-trained model on the test set (not only the performance metrics) but the way predict and test work seem to be totally different.

@agoodge agoodge changed the title Scaler bias and scale size for trainer.predict Pre-processing for train/val/test vs predict Sep 10, 2024
@andreacini
Copy link
Member

Hi @agoodge, could you please share the code you use to run the pre-trained model?

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