Sense-GVT / DeCLIP

Supervision Exists Everywhere: A Data Efficient Contrastive Language-Image Pre-training Paradigm
622 stars 31 forks source link

AttributeError: module 'linklink' has no attribute 'new_group' #8

Open RenShuhuai-Andy opened 2 years ago

RenShuhuai-Andy commented 2 years ago

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 commented 2 years ago

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.