aimagelab / LLaVA-MORE

LLaVA-MORE: Enhancing Visual Instruction Tuning with LLaMA 3.1
Apache License 2.0
84 stars 6 forks source link

Ran into trouble trying out run_llava.py #5

Closed joris-sense closed 2 months ago

joris-sense commented 2 months ago

Hi, I ran into some trouble trying out your run_llava.py script and am documenting what I think needs to be done to make it work.

The PYTHONPATH addition seems to be needed because otherwise, the script doesn't find the files in the llava subdirectory. I didn't test this solution though; I just copied the script to the root directory of LLaVA-MORE.

joris-sense commented 2 months ago

(wrote something about the source activate more command in a deleted comment, but I didn't see that you explained the installation of that environment in your README.md, sorry.)

federico1-creator commented 2 months ago

You can find the instruction to create the more environment here

To activate the environment, you can use either conda activate more or source activate more, depending on your preference.