JiazuoYu / MoE-Adapters4CL

Code for paper "Boosting Continual Learning of Vision-Language Models via Mixture-of-Experts Adapters" CVPR2024
119 stars 6 forks source link

Missing __init__ file in the mtil/src #4

Closed efemeryds closed 4 months ago

efemeryds commented 4 months ago

Hi, I noticed that the __init__ file is missing from the mtil/src folder, and it seems to be needed when running script bash srcipts/test/Full_Shot_order1.sh.

JiazuoYu commented 4 months ago

After checking, we didn't find the situation you mentioned in the code. Could you provide more details?

efemeryds commented 4 months ago

As far as I know when I execute bash srcipts/test/Full_Shot_order1.sh from terminal, Python searches for the modules specified in the script. In this case src.main. When inside conda env, without the __init__file in the mtil/src/ folder I get error that no modules where found. It seems that there are other possible solutions, e.g. setting directly PYTHON PATHS or checking anaconda settings, but if there is __init__ in the folder it works by default in such case.