AttributeError: 'collections.OrderedDict' object has no attribute 'avg'
White1Scorpion opened this issue · 12 comments
White1Scorpion commented
test.py里面变量名字有问题,predict_one_img()返回的不应该包括"test_dice",对照train.py修改。否则会AttributeError: 'collections.OrderedDict' object has no attribute 'avg'
shuisn commented
具体应该怎么修改呢??
White1Scorpion commented
好的,已收到你的邮件。
shuisn commented
您好,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
已经修改好,谢谢您的提示
QuintinDong commented
最后返回的仿照train.py改成test_log
White1Scorpion commented
好的,已收到你的邮件。