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

BNHead中降维报错 #23

Closed
yukaizhou opened this issue Jan 8, 2021 · 3 comments
Closed

BNHead中降维报错 #23

yukaizhou opened this issue Jan 8, 2021 · 3 comments

Comments

@yukaizhou
Copy link

Traceback (most recent call last):
File "examples/stronger_baseline/main.py", line 77, in
margin=0.35))
File "/dahuafs/userdata/233540/workdir/light-reid/lightreid/models/heads/bn_head.py", line 49, in init
classifier['in_dim'] = in_dim if middle_dim is None else middle_dim
TypeError: 'Circle' object does not support item assignment

期待您的回复!

@gongyan1
Copy link

gongyan1 commented Feb 5, 2021

我运行起来了,把输出那里改一下,head = lightreid.models.BNHead(backbone.dim, class_num=datamanager.class_num)

@wangguanan
Copy link
Owner

请参考这个 project ,谢谢
https://github.com/wangguanan/light-reid/tree/master/examples/bagtricks_pca

1 similar comment
@wangguanan
Copy link
Owner

请参考这个 project ,谢谢
https://github.com/wangguanan/light-reid/tree/master/examples/bagtricks_pca

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

3 participants