lee-zq / 3DUNet-Pytorch

3DUNet implemented with pytorch
484 stars 108 forks source link

AttributeError: 'collections.OrderedDict' object has no attribute 'avg' #34

Open White1Scorpion opened 1 year ago

White1Scorpion commented 1 year ago

test.py里面变量名字有问题,predict_one_img()返回的不应该包括"test_dice",对照train.py修改。否则会AttributeError: 'collections.OrderedDict' object has no attribute 'avg'

shuisn commented 1 year ago

具体应该怎么修改呢??

White1Scorpion commented 1 year ago

好的,已收到你的邮件。

shuisn commented 1 year ago

您好,github上有个问题请教您,麻烦您解答我一下,谢谢了

---Original--- From: @.> Date: Wed, Jun 14, 2023 10:28 AM To: @.>; Cc: @.**@.>; Subject: Re: [lee-zq/3DUNet-Pytorch] AttributeError: 'collections.OrderedDict'object has no attribute 'avg' (Issue #34)

好的,已收到你的邮件。 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

shuisn commented 1 year ago

已经修改好,谢谢您的提示

QuintinDong commented 1 year ago

最后返回的仿照train.py改成test_log

White1Scorpion commented 1 year ago

好的,已收到你的邮件。

antoniaaaaaaaa commented 7 months ago

请问是怎么改的

White1Scorpion commented 7 months ago

好的,已收到你的邮件。

wywyq commented 4 months ago

你好,请问具体怎么修改呢

White1Scorpion commented 4 months ago

好的,已收到你的邮件。

GravitysStaring commented 4 months ago

已经修改好,谢谢您的提示

您好,请问怎么修改,我也遇到了相同问题

GravitysStaring commented 4 months ago

好的,已收到你的邮件。

您好,请问是如何修改的AttributeError: 'collections.OrderedDict' object has no attribute 'avg'