Closed gioivuathoi closed 9 months ago
UDDATE: It's my bad I set the _HYDRA_FULLERROR=1 in the command line when run train.py, found out there is an error in package installation that I added in the _strhub.models.vlstr.system.py. I do not know how this error lead to the Error locating target up there, but after fix the package installation error, I don't see the Error locating target again.
Thank you for your great work! I tried to run train.py (not from pretrained) on Google Colab and getting this Error:
_Error executing job with overrides: [] Error locating target 'strhub.models.vl_str.system.VL4STR', see chained exception above. full_key: model Set the environment variable HYDRA_FULLERROR=1 for a complete stack trace.
I have tried to use absolute path for field "target" in "clip4str\configs\model\vl4str.yaml" but still get the above error. I'm using the right hydra_core version (1.2.0) as in requirements.txt Do you have any suggestions? Thank you!