Unable to change default model nbSamples value (=2000) in function train_prosail_inversion
hello @jbferet sir,
I am trying to change the default nbsamples = 2000 in the train_prosail_inversion function which is used when training the hybrid model.
I have tried manually changing the number in the argument of the function train_prosail_inversion for nbSample.
Problem is no matter what value I set nbSamples to, the LUT exported into the output folder always contains 2000 observations for params and reflectance.
I want to set nbSamples to 10,000. Would be grateful if you could let me know how to do it.
hello @sdam510 ,
Thank you for reporting this error. I think this specific error was fixed in a previous version of the package (relatively recently).
Can you install the latest version (2.5.10) start a fresh session, and re-run train_prosail_inversion ?
Once it is done, can you confirm the error is fixed, and if you still have the same problem, can you confirm that the error can be reproduced with the code available here, when adding nbSamples = 5000 for example as input for train_prosail_inversion ?
If the error is not reproduced with prosail v2.5.10, I will let you confirm and close the issue.
thank you !
jb