UNET-ZOO icon indicating copy to clipboard operation
UNET-ZOO copied to clipboard

aver_iou = miou_total / num ZeroDivisionError: division by zero

Open AmberrrLiu opened this issue 4 years ago • 5 comments

使用dsb2018Cell这个数据集的时候,出现以下报错: aver_iou = miou_total / num ZeroDivisionError: division by zero 然后查了查,train_dataloader 和val_dataload的大小都为0 文件读取那里也没报错,不知道为什么

AmberrrLiu avatar Aug 07 '20 08:08 AmberrrLiu

请问你解决这个问题了吗? 我现在也出现了这个问题!感谢!

jlw9999 avatar Jul 10 '23 11:07 jlw9999

我也遇到了同样的问题,请问你们解决了吗,可以分享下解决思路吗? 感谢!

SmileMood avatar Mar 01 '24 14:03 SmileMood

我是路径“/‘’问题,更改后解决

SmileMood avatar Mar 03 '24 12:03 SmileMood

我是路径“/‘’问题,更改后解决

Could you tell me more details? I have also encountered the same mistake. I hope it can be solved, thank you.

sdwiodhi avatar Jul 23 '24 15:07 sdwiodhi

You should take care of "/"and "" and choose one in your path ,then make sure consistency in your code.

---Original--- From: @.> Date: Tue, Jul 23, 2024 23:34 PM To: @.>; Cc: @.@.>; Subject: Re: [Andy-zhujunwen/UNET-ZOO] aver_iou = miou_total / num ZeroDivisionError: division by zero (#3)

我是路径“/‘’问题,更改后解决

Could you tell me more details? I have also encountered the same mistake. I hope it can be solved, thank you.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

SmileMood avatar Jul 23 '24 15:07 SmileMood