I am trying to export the weights and biases of a "model" in which I did not originally train the model with "export_weights_and_biases = TRUE"
Therefore, I'd like to try to checkpoint the model and try to export_weights_and_biases = TRUE in a new "model2".
However, despite not changing any of the parameters - and ensuring that nfolds=10 just as in the original "model", the checkpoint model continues to return a parameter change error almost immediately (h2o version 3.10.4.6):
water.exceptions.H2OIllegalArgumentException: Cannot change parameter: '_nfolds': 10 -> 0
water.exceptions.H2OIllegalArgumentException: Cannot change parameter: '_nfolds': 10 -> 0
at hex.deeplearning.DeepLearningModel$DeepLearningParameters$Sanity.checkIfParameterChangeAllowed(DeepLearningModel.java:2078)
at hex.deeplearning.DeepLearning$DeepLearningDriver.buildModel(DeepLearning.java:249)
at hex.deeplearning.DeepLearning$DeepLearningDriver.computeImpl(DeepLearning.java:211)
at hex.ModelBuilder$Driver.compute2(ModelBuilder.java:169)
at hex.deeplearning.DeepLearning$DeepLearningDriver.compute2(DeepLearning.java:204)
at water.H2O$H2OCountedCompleter.compute(H2O.java:1241)
at jsr166y.CountedCompleter.exec(CountedCompleter.java:468)
at jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263)
at jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974)
at jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477)
at jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)
Error: water.exceptions.H2OIllegalArgumentException: Cannot change parameter: '_nfolds': 10 -> 0
Any ideas how to resolve this issue? All I'm trying to do is obtain all the weights and biases of my original "model".
Thank you!