LeeJunHyun / Image_Segmentation

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

the length variable in the solver.py, #87

Closed ponykid closed 1 year ago

ponykid commented 2 years ago

Thank you for sharing your amazing code;

the "length" variable in the solver is the total data size, how in the evaluation.py ,the acc and othor metrics is calculated base on the batch, so the lengeth variable should be the iterations (base on batch), not the total number of the train data