Megvii-BaseDetection / DisAlign

Implementation of "Distribution Alignment: A Unified Framework for Long-tail Visual Recognition"(CVPR 2021)
Apache License 2.0
118 stars 10 forks source link

import error #10

Closed YUE-FAN closed 3 years ago

YUE-FAN commented 3 years ago

Hi, thanks for the great work. Maybe I missed it, but it seems that the code for this project has been incorporated into cvpods. I couldn't launch any experiments due to ImportErrors like: from cvpods.layers import DisAlignLinear ImportError: cannot import name 'DisAlignLinear' from 'cvpods.layers' Also, I didn't find the corresponding functions in cvpods.

Any help will be appreciated. Thanks.

tonysy commented 3 years ago

Sorry for the inconvenience. Please pull the latest commit of cvpods and re-install it. Feel free to ask questions if I can help.

YUE-FAN commented 3 years ago

Thanks for the quick reply. Now it works 👍