-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
setup.py
not copying config files into d2go/configs directory
#174
Comments
Also I think Line 61 in 5aadaaa
config_paths = glob.glob(os.path.join(file_path, extension), recursive=True) |
facing same problem!! |
Still facing same problem in google colab. Is there any solution for this. |
@Srini138 @dipu0 Does @TannerGilbert 's fix work for you? |
No I didn't try @TannerGilbert fix. I just copy pasted configs folder inside this folder "usr/local/lib/python3.9/dist-packages/d2go" in colab the model runs fine without any error for me |
How did you do this?? Can be more clear, please? |
Instructions To Reproduce the 🐛 Bug:
When running D2Go in Google Colab the
setup.py
file doesn't copy theconfigs
directory from the d2go folder into the d2go/d2go folder correctly, which leads to the following error when trying to load the model.This error comes from the the
get_config_file
method that attempts to load the config file from thed2go/d2go/configs
folder.d2go/d2go/model_zoo/model_zoo.py
Lines 44 to 58 in 5aadaaa
After adding some debug code the method I found out the the
configs
folder doesn't exist after installing d2go but until now I was unable to find the cause of this error. I suspect that it's caused by thesetup.py
file and the changes made in c12469c though.Also the
setup.py
file from Detectron2 looks almost identical but there the copying of the configs is working without any issues.Any suggestions are greatly appreciated.
Related issues:
The text was updated successfully, but these errors were encountered: