Skip to content
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

RuntimeError: Parent directory ./Video-ChatGPT_7B-1.1_Checkpoints/checkpoint-3000 does not exist. #106

Open
tianguang2525 opened this issue May 24, 2024 · 5 comments

Comments

@tianguang2525
Copy link

When the steps run tosave_steps, the above error will be reported

@tianguang2525
Copy link
Author

I see mm_mlp_adapter is saved in /home/develop/fyy/Video-ChatGPT-main/Video-ChatGPT_7B-1.1_Checkpoints/mm_projector, is there anything need to save? or I download the wrong package

@HaotianLiu123
Copy link

I also have the same problem.

@mmaaz60
Copy link
Member

mmaaz60 commented Jun 28, 2024

Hi @tianguang2525 @HaotianLiu123,

Thank you for your interest in our work and apologies for the late reply. Were you able to solve the issue?

If not, please provide some more information regarding the issue, such as, what command you are running and where exactly the error is coming. This information would be helpful to reproduce the error on my side and provide further help. Thanks.

@ooooohira
Copy link

I also have the same problem.

@ice-ou
Copy link

ice-ou commented Dec 12, 2024

The issue can be resolved by adding the following code to the _save method within the VideoChatGPTTrainer class in the llava_trainer.py file:

if not os.path.exists(output_dir):
    os.makedirs(output_dir)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants