drewlinsley / GEDI

3 stars 1 forks source link

Single time point image stack #5

Closed jlinsley1983 closed 6 years ago

jlinsley1983 commented 7 years ago

Single time point image stack

Need to be able to run both test_vgg16_placeholder.py and training_vgg16_placeholder.py using a single image rather than a stack of more than 1 image. Currently get the error "IndexError: too many indices for array" when tif image file has only one image in stack (even though at this point we only use the first image anyway). Would be ideal if it could read input of one or more than one image in stack.

drewlinsley commented 7 years ago

Added a temporary fix.

jlinsley1983 commented 6 years ago

Works now on single images, but still gives warning: "Warning: Image has no slices.If a single time point was passed, ignore this message." that is unnecessary.

drewlinsley commented 6 years ago

Fixed.