How to add hparams AFTER __init__ is called

How can I add hparams which are not args in the init method. These values come after running .setup() function to process data.

When I load the model I would also like these values to populate.

Any possible of sample codes?

hey @ssharpe42

it should work by simply assigning the value to self.hparams = whatever.

Also, we have moved the discussions to GitHub Discussions. You might want to check that out instead to get a quick response. The forums will be marked read-only soon.

Thank you