Transfer-Learning-Library
Transfer-Learning-Library copied to clipboard
Failed to import mmdetection
When i try to run source_only.py I get the error message "No module named 'tlllib.vision.models.object_detection.backbone.mmdetection'"
If I try to import "tlllib.vision.models.object_detection" it seems that the error is in the file backbone/vgg.py in "from .mmdetection.vgg import VGG. Any clue how I can fix this?
I just tried it and found no problem. Can you find this file in the corresponding directory?

The problem was I installed tllib using pip, but this somehow did not work. Therefore I had to uninstall it and load tllib from the source files directly.
Temporarily tllib does not support installing via pip yet, we are planning to support it recently.
We have supported installing tllib via pip using the following command.
pip install -i https://test.pypi.org/simple/ tllib==0.4
I have still this problem and get the error, how can I solve it? error: ModuleNotFoundError: No module named 'tllib.vision.models.object_detection.backbone.mmdetection'
I tried to installed tllib with both pip and source file, but it didnt work for me. appreciate your help.
The problem was I installed tllib using pip, but this somehow did not work. Therefore I had to uninstall it and load tllib from the source files directly.
hello could you please tell me how did you do that? thank you.
I cloned the tlllib from github and then it worked. No need to pip install.