Open Yangfan-96 opened 9 months ago
I appreciate your willingness to help, and I apologize for any confusion.
Since I'm not currently in a Docker environment, I can attempt to assist you further if you provide a more detailed description of the issue you're facing.
Please share any error messages or specific challenges you've encountered, and I'll do my best to help you troubleshoot the problem.
After replacing bark_ssg with pip install bark, I was able to run the program.Then I found that the name of the encoder in Hugging Face is different from that in the yaml file:image_encoder_path: "pretrained/CLIP-ViT-H-14-laion2B-s32B-b79K". After modifying it, the following error was reported:
Seed set to 3407
Cannot initialize model with low cpu memory usage because accelerate
was not found in the environment. Defaulting to low_cpu_mem_usage=False
. It is strongly recommended to install accelerate
for faster and less memory-intense model loading. You can do so with:
pip install accelerate
. Warnning: using half percision for inferencing! model ready!
protagonists ready!
Traceback (most recent call last):
File "/data/yangfan/gen_video/Vlogger/sample_scripts/vlog_read_script_sample.py", line 303, in
Firstly, it appears that you have not installed the accelerate package. Installing it can save GPU memory and accelerate inference.
Secondly, based on the provided error information, potential issues can be classified into two scenarios:
If you did not use the default configuration file, configs/vlog_read_script_sample.yaml, for sample_scripts/vlog_read_script_sample.py and instead made modifications to the script file, you should compare it with the scripts in the repository I provided. Check for any differences in formatting, as content generated by GPT may occasionally deviate from the interface I designed.
If you used the default configuration file, configs/vlog_read_script_sample.yaml, it's possible that you accidentally modified some scripts within it. In this case, you can directly download and replace the original files with the script files I provided.
Firstly, it appears that you have not installed the accelerate package. Installing it can save GPU memory and accelerate inference.
Secondly, based on the provided error information, potential issues can be classified into two scenarios:
- If you did not use the default configuration file, configs/vlog_read_script_sample.yaml, for sample_scripts/vlog_read_script_sample.py and instead made modifications to the script file, you should compare it with the scripts in the repository I provided. Check for any differences in formatting, as content generated by GPT may occasionally deviate from the interface I designed.
- If you used the default configuration file, configs/vlog_read_script_sample.yaml, it's possible that you accidentally modified some scripts within it. In this case, you can directly download and replace the original files with the script files I provided.
I did not modify the video_prompts.txt。Could you tell me the version number of your ast?
Firstly, it appears that you have not installed the accelerate package. Installing it can save GPU memory and accelerate inference. Secondly, based on the provided error information, potential issues can be classified into two scenarios:
- If you did not use the default configuration file, configs/vlog_read_script_sample.yaml, for sample_scripts/vlog_read_script_sample.py and instead made modifications to the script file, you should compare it with the scripts in the repository I provided. Check for any differences in formatting, as content generated by GPT may occasionally deviate from the interface I designed.
- If you used the default configuration file, configs/vlog_read_script_sample.yaml, it's possible that you accidentally modified some scripts within it. In this case, you can directly download and replace the original files with the script files I provided.
I did not modify the video_prompts.txt。Could you tell me the version number of your ast?
My Python interpreter version is 3.10.11, and the ast version corresponds to Python.
I appreciate your willingness to help, and I apologize for any confusion.
Since I'm not currently in a Docker environment, I can attempt to assist you further if you provide a more detailed description of the issue you're facing.
Please share any error messages or specific challenges you've encountered, and I'll do my best to help you troubleshoot the problem.