Better way to save Lux model and parameters

I was using Flux and BSON to save the model.

Now I am switching to Lux now and I know the model, parameters, and states are separated.

The parameters are Component Arrays and I am not sure how to save them properly.

(I have an issue with loading BSON file using Julia v1.8)

But here I mainly would like to know any alternative ways to save model parameters. Thank you!!

Serialization · The Julia Language will always work (be careful though…)

1 Like

Thank you I will check that