You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue detail: When runs segmentation job using BF example dataset and pretrained model provided by the paper, exception occurs:
Exception in thread "Thread-5" java.lang.NullPointerException
at de.unifreiburg.unet.SegmentationJob.checkParameters(SegmentationJob.java:390)
at de.unifreiburg.unet.SegmentationJob.getParameters(SegmentationJob.java:438)
at de.unifreiburg.unet.SegmentationJob.run(SegmentationJob.java:661)
The checkParameters() function grew too big. Refacturing required to make it more maintainable. It looks like the ProcessResult, that is initialized with null is never set in the function in this case.
checkParameters() function simplified. Exceptions and failing processes now immediately make the check fail which should as a side-effect fix this bug.
Issue detail: When runs segmentation job using BF example dataset and pretrained model provided by the paper, exception occurs:
Exception in thread "Thread-5" java.lang.NullPointerException
at de.unifreiburg.unet.SegmentationJob.checkParameters(SegmentationJob.java:390)
at de.unifreiburg.unet.SegmentationJob.getParameters(SegmentationJob.java:438)
at de.unifreiburg.unet.SegmentationJob.run(SegmentationJob.java:661)
log file indicates:
$ /home/daveb/unet-seg/bin/caffe_unet
$ /home/daveb/unet-seg/bin/caffe_unet
$ caffe_unet check_model_and_weights_h5 -model /home/daveb/Downloads/caffemodels/2d_cell_net_v0.modeldef.h5 -weights /home/daveb/Downloads/2d_cell_net_v0.caffemodel.h5 -n_channels 1 -gpu 0
Installation and OS details:
Build from source (using instructions from project website);
No backend used (running caffe_unet in terminal correctly shows usage information)
Ubuntu 18.04 LTS, CUDA 9.0 CuDNN 7
The text was updated successfully, but these errors were encountered: