Comments (5)
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.
from vlogger.
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
main(omega_conf)
File "/data/yangfan/gen_video/Vlogger/sample_scripts/vlog_read_script_sample.py", line 157, in main
video_list = readscript(args.script_file_path)
File "/data/yangfan/gen_video/Vlogger/vlogger/planning_utils/gpt4_utils.py", line 530, in readscript
video_fragments = ast.literal_eval(script)
File "/home/yangfan/anaconda3/envs/vlogger/lib/python3.10/ast.py", line 64, in literal_eval
node_or_string = parse(node_or_string.lstrip(" \t"), mode='eval')
File "/home/yangfan/anaconda3/envs/vlogger/lib/python3.10/ast.py", line 50, in parse
return compile(source, filename, mode, flags,
ValueError: source code string cannot contain null bytes
from vlogger.
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.
from vlogger.
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?
from vlogger.
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.
from vlogger.
Related Issues (15)
- Can't install on ubuntu HOT 1
- Inquiry Regarding Temporal Coherence in Extended Video Generation HOT 1
- Key to GPT HOT 1
- I cannot install bark_ssg==1.3.4, because of hoedown HOT 5
- May I ask what font is used for the prompts in the illustrations in the paper? HOT 2
- error when python vlog_read_script_sample.py script HOT 7
- python: tpp.c:83: __pthread_tpp_change_priority: Assertion `new_prio == -1 || (new_prio >= fifo_min_prio && new_prio <= fifo_max_prio)' failed. HOT 1
- ERROR: Failed building wheel for hoedown ,ERROR: Could not build wheels for hoedown, which is required to install pyproject.toml-based projects
- cannot install bark_ssg==1.3.4, because of hoedown HOT 3
- 怎么玩 HOT 1
- Need advice to setup to get a local working model of Stablediffusion HOT 3
- Error when run vlog_read_script_sample.py HOT 1
- About training HOT 1
- how can use the vlogger project to get the teddy_travel vlog in your github like the example https://youtu.be/ZRD1-jHbEGk? HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vlogger.