Restoring model and training with new data #960
-
|
I'm attempting to use deepXDE for an active learning application where I seed the model with a training dataset, then iteratively add new data to the training dataset and train the model from where it left off. Here's my code: I get the error:
Reading previous threads #228 #57, it seems that the model that was trained and the model that is being restored are different, but I haven't modified them. I call the restored model pretty soon after I store the model, so I do not know what could have changed other than the new data. I also tried dde.utils.apply to add new data but that didn't work for me. Do you have example code of iteratively adding new data to a restored model to continue training? edit: my dde.utils.apply code: with error:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
|
See gPINN enhanced by RAR examples at https://github.com/lu-group/gpinn |
Beta Was this translation helpful? Give feedback.
-
|
An explanation for why I wasn't seeing the test predictions update with new training data: |
Beta Was this translation helpful? Give feedback.
See gPINN enhanced by RAR examples at https://github.com/lu-group/gpinn