You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I notice that some models import BACKBONES by referring to the
mmedit
module, like this:https://github.com/open-mmlab/mmediting/blob/14f1ffc7740aff1769a37ad093c8a13f64da9448/mmedit/models/backbones/sr_backbones/rdn.py#L5
However, other models import MODELS using the relative import, like this:
https://github.com/open-mmlab/mmediting/blob/14f1ffc7740aff1769a37ad093c8a13f64da9448/mmedit/models/restorers/basicvsr.py#L10
Is the relative import a better way to import BACKBONES/MODELS?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions