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: module 'linklink' has no attribute 'new_group' #8

Open
RenShuhuai-Andy opened this issue Mar 17, 2022 · 1 comment
Open

Comments

@RenShuhuai-Andy
Copy link

RenShuhuai-Andy commented Mar 17, 2022

The code here
https://github.com/Sense-GVT/DeCLIP/blob/main/prototype/model/image_encoder/modified_resnet.py#L103
calls a non-defined method (new_group)

@zlccccc
Copy link
Collaborator

zlccccc commented Mar 29, 2022

Sorry for the inconvenience. The ``new_group'' procedure is associated with slurm of our training cluster, and thus cannot be open-sourced yet. It is recommended to replace SyncBatchNorm2d with torch.nn.SyncBatchNorm2d. We will fix this bug soon.

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

2 participants