dvlab-research / LLaMA-VID

LLaMA-VID: An Image is Worth 2 Tokens in Large Language Models (ECCV 2024)
Apache License 2.0
693 stars 43 forks source link

How to change default path for model_zoo #67

Open sykuann opened 7 months ago

sykuann commented 7 months ago
Screenshot 2024-03-04 at 3 44 59 PM

Hi, I am trying to inference the model using Kaggle due to low gpu. Would you be able to direct me to which file to modify to change the default path for the Model Zoo.

Thanks in advance.

yanwei-li commented 7 months ago

Hi, if you want to train the model, please set the--model_name_or_path to the place where you download the model. And if you want to evaluate the model, please change the path of --model-path.

sykuann commented 6 months ago

for the model_zoo i believe it is set as default path. because i am trying to infer it in kaggle, where i hava to download the models as datasets, hence cannot create the file structure as above. Just wondering if i can change the source code to change the default_path for model_zoo to /kaggle/input/model-zoo. Thank you YanWei.