Skip to content

Conversation

bibekyess
Copy link

Motivation

I noticed that direct remote installation using pip install mmdet or mim install mmdet doesn't pull the projects module giving error like this:

>>> ImportError: Failed to import custom modules from {'allow_failed_imports': False, 'imports': ['projects.CO-DETR.codetr']}, the current sys.path is: 
...

In this PR, I made a small change so that the above issue will be resolved, without the need to either install git, clone the repo and install mmdet or remembering module_path to add it to system path.

Modification

The modification is very minor that it ensures complete backward-compatibility.

@CLAassistant
Copy link

CLAassistant commented Aug 17, 2024

CLA assistant check
All committers have signed the CLA.

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.

3 participants