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
but when I edited img = img.astype('float32') / 255.0, seg = seg.astype('float32') / 255.0 in segmentation_dataset.py, and target = target//255 in trainer.py to adapt the train to num_class=2only(for binary seg),
then the network can not train well and predict nothing (black), did I do something wrong?
you are so kind and sorry to bother you again...
The text was updated successfully, but these errors were encountered:
Hi, originally it work well with num_class=256...
but when I edited
img = img.astype('float32') / 255.0, seg = seg.astype('float32') / 255.0
in segmentation_dataset.py, andtarget = target//255
in trainer.py to adapt the train to num_class=2only(for binary seg),then the network can not train well and predict nothing (black), did I do something wrong?
you are so kind and sorry to bother you again...
The text was updated successfully, but these errors were encountered: