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
Hi. Thanks for releasing the code. I have one doubt about the parameter high_way. When I try to run the code with an input with num_channels = 1, the code fails. I realized it happened because of the line:
When the input has a single channel, self.in_channels - 1 becomes 0, and thus, the code throws an error. I could not figure out why you are decreasing the number of channels here. Is it fine to use self.in_channels instead as the input (i.e., the U-Net has a single channel input)?
Best,
Chinmay
The text was updated successfully, but these errors were encountered:
Hi. Thanks for releasing the code. I have one doubt about the parameter
high_way
. When I try to run the code with an input with num_channels = 1, the code fails. I realized it happened because of the line:self.hwm = Generic_UNet(self.in_channels - 1, features, 1, 5, anchor_out=True, upscale_logits=True)
When the input has a single channel,
self.in_channels - 1
becomes 0, and thus, the code throws an error. I could not figure out why you are decreasing the number of channels here. Is it fine to use self.in_channels instead as the input (i.e., the U-Net has a single channel input)?Best,
Chinmay
The text was updated successfully, but these errors were encountered: