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

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

Closed
ParanoidW opened this issue Apr 10, 2019 · 5 comments

Comments

@ParanoidW
Copy link

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
Copy link
Contributor

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

@ParanoidW
Copy link
Author

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

@YuwenXiong
Copy link
Contributor

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
Copy link
Author

Does it has a influence on results?

@PkuRainBow
Copy link

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.

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