How to scale and re-scale with LightningDataModule and MinMaxScaler #18724
Unanswered
denisbeslic
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This is a very similar quesiton to #11297, but my comment remained unanswered.
I'm working on a Transformer-based model to predict signal data. The data has to be transformed (standardized) when training/validating and later inverse-transformed when predicting in production.
I'm not sure how to save the scaler parameters during training so that can I use them later during inference:
How can I save the parameters of the scaler during the training mode and load it later during inference mode?
Thanks for your help.
Beta Was this translation helpful? Give feedback.
All reactions