Skip to content

Comments

remove _init_paths - use module name directly instead#434

Open
rsugumar wants to merge 1 commit intoifzhang:masterfrom
rsugumar:rsukumar/fix-init-paths
Open

remove _init_paths - use module name directly instead#434
rsugumar wants to merge 1 commit intoifzhang:masterfrom
rsugumar:rsukumar/fix-init-paths

Conversation

@rsugumar
Copy link

@rsugumar rsugumar commented Sep 2, 2021

  • With this straight forward import changes, it's easier for code navigation.
  • Additionally, when one wants to load the model from torch.hub, it'd avoid import clashes (models importing clashes - local submodule - src.lib.models and torch downloaded in caching module models, originally motivated me for this PR)

@rsugumar rsugumar changed the title remove _init_paths - use module name directly instead remove _init_paths - use module name directly instead Sep 2, 2021
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

Successfully merging this pull request may close these issues.

1 participant