LeeJunHyun / Image_Segmentation

Pytorch implementation of U-Net, R2U-Net, Attention U-Net, and Attention R2U-Net.
2.66k stars 594 forks source link

tuple index out of range #69

Closed mengluchu closed 1 year ago

mengluchu commented 3 years ago

I got "tuple index out of range" with the Attention Unet.

pangda72 commented 3 years ago

I got "tuple index out of range" with the Attention Unet.

I got the same problem have you solved it?

comradeLi commented 2 years ago

Delete "g="and "x=" works. Example: x4 = self.Att5(g=d5,x=x4)→x4 = self.Att5(d5, x4)

gstaryu commented 1 year ago

Delete "g="and "x=" works. Example: x4 = self.Att5(g=d5,x=x4)→x4 = self.Att5(d5, x4)

You are right, but why?