Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
White1Scorpion opened this issue Apr 18, 2023 · 12 comments

Comments

@White1Scorpion
Copy link

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

@shuisn
Copy link

shuisn commented Jun 14, 2023

具体应该怎么修改呢??

@White1Scorpion
Copy link
Author

White1Scorpion commented Jun 14, 2023 via email

@shuisn
Copy link

shuisn commented Jun 14, 2023 via email

@shuisn
Copy link

shuisn commented Jun 14, 2023

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

@QuintinDong
Copy link

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

@White1Scorpion
Copy link
Author

White1Scorpion commented Aug 9, 2023 via email

@antoniaaaaaaaa
Copy link

请问是怎么改的

@White1Scorpion
Copy link
Author

White1Scorpion commented Feb 2, 2024 via email

@wywyq
Copy link

wywyq commented Apr 20, 2024

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

@White1Scorpion
Copy link
Author

White1Scorpion commented Apr 20, 2024 via email

@GravitysStaring
Copy link

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

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

@GravitysStaring
Copy link

好的,已收到你的邮件。

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants