Closed Tejuwi closed 3 years ago
Hi. I've just started trying N2V and got the same problem.
Did you find any solution by any chance ?
Hi @YaswinTeja, very sorry about never answering this issue! Somehow it completely slipped my attention. Thank you for bringing it up again @rdemets.
In the posted snipped I can't see the training of the model and also not how the model was loaded after training.
Wild guess: If you use model = N2V(config, basedir='...', name='...')
then a new N2V instance is created which is not trained. If you want to load the trained model you have to omit config
and load the model like this: model = N2V(None, basedir='...', name='...')
.
Let me know if this helps.
I got the result is same as input but noticed the loss error is decaying well. I have used the below script. can you please help me where I am doing wrong?my input image is tiff but gray image.I am using single channle only.
The result is same as input, is something wrong with the data format both train and test.?