uber-research / UPSNet

UPSNet: A Unified Panoptic Segmentation Network
Other
649 stars 119 forks source link

ModuleNotFoundError: No module named 'upsnet.operators.modules.distbatchnorm' #12

Closed ParanoidW closed 5 years ago

ParanoidW commented 5 years ago

Error message: Traceback (most recent call last): File "upsnet/upsnet_end2end_train.py", line 61, in from upsnet.models import * File "upsnet/../upsnet/models/init.py", line 1, in from .resnet_upsnet import resnet_50_upsnet, resnet_101_upsnet File "upsnet/../upsnet/models/resnet_upsnet.py", line 23, in from upsnet.models.fpn import FPN File "upsnet/../upsnet/models/fpn.py", line 23, in from upsnet.operators.modules.distbatchnorm import BatchNorm2d ModuleNotFoundError: No module named 'upsnet.operators.modules.distbatchnorm'

YuwenXiong commented 5 years ago

Thanks for pointing it out, you can simply comment out all lines which try to import distbatchnorm or pull the latest code.

ParanoidW commented 5 years ago

Thanks you. Another question, what should I do if I want to use syncbn?

YuwenXiong commented 5 years ago

Currently our syncbn requires horovod, however we still have some issues on it so I didn't release it. Please ignore it at the moment.

ParanoidW commented 5 years ago

Does it has a influence on results?

PkuRainBow commented 4 years ago

We have tried to run the UPSNet based on the Inplace-ABN with pytorch0.4.1 but find the performance drops. We apply the Inplace-ABN in both the backbones and the detection head +segmentation head. It would be great if you could share with us some advice.