Git Product home page Git Product logo

vlogger's Introduction

In this work, we present Vlogger, a generic AI system for generating a minute-level video blog (i.e., vlog) of user descriptions. Different from short videos with a few seconds, vlog often contains a complex storyline with diversified scenes, which is challenging for most existing video generation approaches. To break through this bottleneck, our Vlogger smartly leverages Large Language Model (LLM) as Director and decomposes a long video generation task of vlog into four key stages, where we invoke various foundation models to play the critical roles of vlog professionals, including (1) Script, (2) Actor, (3) ShowMaker, and (4) Voicer. With such a design of mimicking human beings, our Vlogger can generate vlogs through explainable cooperation of top-down planning and bottom-up shooting. Moreover, we introduce a novel video diffusion model, ShowMaker, which serves as a videographer in our Vlogger for generating the video snippet of each shooting scene. By incorporating Script and Actor attentively as textual and visual prompts, it can effectively enhance spatial-temporal coherence in the snippet. Besides, we design a concise mixed training paradigm for ShowMaker, boosting its capacity for both T2V generation and prediction. Finally, the extensive experiments show that our method achieves state-of-the-art performance on zero-shot T2V generation and prediction tasks. More importantly, Vlogger can generate over 5-minute vlogs from open-world descriptions, without loss of video coherence on script and actor.

Teddy_Travel_low.mp4
A compressed version of generated Teddy Travel.

Usage

Setup

Prepare Environment

conda create -n vlogger python==3.10.11
conda activate vlogger
pip install -r requirements.txt

Download our model and T2I base model

Our model is based on Stable diffusion v1.4, you may download Stable Diffusion v1-4 and OpenCLIP-ViT-H-14 to the director of pretrained . Download our model(ShowMaker) checkpoint (from google drive or hugging face) and save to the directory of pretrained

Now under ./pretrained, you should be able to see the following:

├── pretrained
│   ├── ShowMaker.pt
│   ├── stable-diffusion-v1-4
│   ├── OpenCLIP-ViT-H-14
│   │   ├── ...
└── └── ├── ...
        ├── ...

Inference for LLM planning and make reference image

Run the following command to get script, actors and protagonist:

python sample_scripts/vlog_write_script.py
  • The generated scripts will be saved in results/vlog/$your_story_dir/script.

  • The generated reference images will be saved in results/vlog/$your_story_dir/img.

  • ⚠️ Enter your openai key in the 7th line of the file vlogger/planning_utils/gpt4_utils.py

Inference for vlog generation

Run the following command to get the vlog:

python sample_scripts/vlog_read_script_sample.py
  • The generated scripts will be saved in results/vlog/$your_story_dir/video.

Inference for (T+I)2V

Run the following command to get the (T+I)2V results:

python sample_scripts/with_mask_sample.py
  • The generated video will be saved in results/mask_no_ref.

Inference for (T+I+Ref)2V

Run the following command to get the (T+I+Ref)2V results:

python sample_scripts/with_mask_ref_sample.py
  • The generated video will be saved in results/mask_ref.

More Details

You may modify configs/with_mask_sample.yaml to change the (T+I)2V conditions and modify configs/with_mask_ref_sample.yaml to change the (T+I+Ref)2V conditions. For example:

  • ckpt is used to specify a model checkpoint.

  • text_prompt is used to describe the content of the video.

  • input_path is used to specify the path to the image.

  • ref_path is used to specify the path to the reference image.

  • save_path is used to specify the path to the generated video.

Results

(T+Ref)2V Results

Reference Image Output Video

Scene Reference


Fireworks explode over the pyramids.


Scene Reference


The Great Wall burning with raging fire.


Object Reference


A cat is running on the beach.

(T+I)2V Results

Input Image Output Video

Underwater environment cosmetic bottles.


A big drop of water falls on a rose petal.


A fish swims past an oriental woman.


Cinematic photograph. View of piloting aaero.


Planet hits earth.

T2V Results

Output Video

A deer looks at the sunset behind him.


A duck is teaching math to another duck.


Bezos explores tropical rainforest.


Light blue water lapping on the beach.

BibTeX

@article{zhuang2024vlogger,
title={Vlogger: Make Your Dream A Vlog},
author={Zhuang, Shaobin and Li, Kunchang and Chen, Xinyuan and Wang, Yaohui and Liu, Ziwei and Qiao, Yu and Wang, Yali},
journal={arXiv preprint arXiv:2401.09414},
year={2024}
}
@article{chen2023seine,
title={SEINE: Short-to-Long Video Diffusion Model for Generative Transition and Prediction},
author={Chen, Xinyuan and Wang, Yaohui and Zhang, Lingjun and Zhuang, Shaobin and Ma, Xin and Yu, Jiashuo and Wang, Yali and Lin, Dahua and Qiao, Yu and Liu, Ziwei},
journal={arXiv preprint arXiv:2310.20700},
year={2023}
}
@article{wang2023lavie,
  title={LAVIE: High-Quality Video Generation with Cascaded Latent Diffusion Models},
  author={Wang, Yaohui and Chen, Xinyuan and Ma, Xin and Zhou, Shangchen and Huang, Ziqi and Wang, Yi and Yang, Ceyuan and He, Yinan and Yu, Jiashuo and Yang, Peiqing and others},
  journal={arXiv preprint arXiv:2309.15103},
  year={2023}
}

Disclaimer

We disclaim responsibility for user-generated content. The model was not trained to realistically represent people or events, so using it to generate such content is beyond the model's capabilities. It is prohibited for pornographic, violent and bloody content generation, and to generate content that is demeaning or harmful to people or their environment, culture, religion, etc. Users are solely liable for their actions. The project contributors are not legally affiliated with, nor accountable for users' behaviors. Use the generative model responsibly, adhering to ethical and legal standards.

Contact Us

Shaobin Zhuang: [email protected], Kunchang Li: [email protected]

Xinyuan Chen: [email protected], Yaohui Wang: [email protected]

Acknowledgements

The code is built upon SEINE, LaVie, diffusers and Stable Diffusion, we thank all the contributors for open-sourcing.

License

The code is licensed under Apache-2.0, model weights are fully open for academic research and also allow free commercial usage. To apply for a commercial license, please contact [email protected].

vlogger's People

Contributors

zhuangshaobin avatar andy1621 avatar xinyuanc91 avatar wyhsirius avatar zmarouf avatar

Stargazers

 avatar Kevin Wang avatar sketch avatar Harsh Muriki avatar zephyr avatar  avatar  avatar  avatar  avatar  avatar Sharon avatar Hanzhang Wang avatar  avatar  avatar  avatar dkluffy avatar  avatar  avatar wy-lee avatar  avatar  avatar Hiroki Kawauchi avatar RickZ avatar  avatar HaoyuLi avatar MingTao(陶明) avatar Sanctuary avatar blueorris avatar  avatar xingzishuai avatar  avatar  avatar  avatar IslandYAN avatar SergiRice avatar ZZZ avatar Loong avatar Jialu Zhang avatar Zhiyuan Chen avatar  avatar Daeun Lee avatar dImrich avatar Fangdong Wu avatar  avatar 悟空 avatar Jingcheng Yang avatar Xiangchong Jia avatar  avatar  avatar  avatar  avatar  avatar 猫猫爱吃小鱼 avatar  avatar Xuechao Zou avatar  avatar huangshenneng avatar bald0wang avatar  avatar Batuhan Bardak avatar Abdelrahman Mostafa Mohamed avatar Christian Simon avatar Nianhong Jiao avatar  avatar  avatar HL avatar  avatar Vaibhav Bansal avatar Hill avatar  avatar  avatar John D. Pope avatar TechDing avatar Harpreet Sahota avatar 摇曳的快乐 avatar  avatar yangbo.zhou avatar  avatar Abdul Manaf F avatar ahpho avatar laowang avatar Thomas Nicholson avatar Anh Pham avatar  avatar DS.Xu avatar westinyang avatar 苹果的味道 avatar  avatar  avatar  avatar ChenHuangrong avatar EricPeng avatar Giant Clam avatar  avatar 个人公众号 Hypochondira avatar  avatar Hongwei Yi avatar  avatar Faych Chen avatar  avatar

Watchers

Nihad Abbasov avatar Stanko Milošev avatar  avatar LiWei avatar Starved Midnight avatar 个人公众号 Hypochondira avatar Pyjcsx avatar  avatar  avatar  avatar

vlogger's Issues

Need advice to setup to get a local working model of Stablediffusion

Hello
This looks like a promising app and i like very much your effort in this.
I am trying to develop a full app included frontend for a project of mine using vLogger.
That is quite challenging
However i ran into some issues
I am unable to get a local copy of stablediffusion model
Tried several ways with python

https://chat.openai.com/share/94d052f4-5b87-4848-b347-1982307917e7

This code works for OpenClip and showMaker, fails for sd-v1-5
Do you know any workaround for this?
Thanks

error when python vlog_read_script_sample.py script

vlogger_backup) root@ubuntu-vm01:/sdb/github/Vlogger# python sample_scripts/vlog_read_script_sample.py
/sdb/anaconda3/envs/vlogger_backup/lib/python3.10/site-packages/diffusers/utils/outputs.py:63: UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead.
torch.utils._pytree._register_pytree_node(
/sdb/github/Vlogger
Seed set to 3407
pretrained/stable-diffusion-v1-4/unet/config.json
Traceback (most recent call last):
File "/sdb/github/Vlogger/sample_scripts/vlog_read_script_sample.py", line 304, in
main(omega_conf)
File "/sdb/github/Vlogger/sample_scripts/vlog_read_script_sample.py", line 119, in main
model = get_models(args).to(device)
File "/sdb/github/Vlogger/models/init.py", line 30, in get_models
return UNet3DConditionModel.from_pretrained_2d(pretrained_model_path, subfolder="unet", use_concat=args.use_mask)
File "/sdb/github/Vlogger/models/unet.py", line 654, in from_pretrained_2d
state_dict = torch.load(model_file, map_location="cpu")
File "/sdb/anaconda3/envs/vlogger_backup/lib/python3.10/site-packages/torch/serialization.py", line 1040, in load
return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
File "/sdb/anaconda3/envs/vlogger_backup/lib/python3.10/site-packages/torch/serialization.py", line 1258, in _legacy_load
magic_number = pickle_module.load(f, **pickle_load_args)
_pickle.UnpicklingError: invalid load key, 'v'.

Key to GPT

Is it necessary to configure the API key for GPT4 in the project? Is 3.5 not acceptable?

I cannot install bark_ssg==1.3.4, because of hoedown

How can I do with it?
When running "/vlog_read_script_sample.py"
hoedown.c
hoedownpy/hoedown.c(4501): error C2105: “++”需要左值
hoedownpy/hoedown.c(4503): error C2105: “--”需要左值
hoedownpy/hoedown.c(4762): error C2105: “++”需要左值
hoedownpy/hoedown.c(4764): error C2105: “--”需要左值
hoedownpy/hoedown.c(5164): error C2039: "tp_print": 不是 "_typeobject" 的成员
C:\Users\xxx\anaconda3\envs\vlogger\include\cpython/object.h(191): note: 参见“_typeobject”的声明
hoedownpy/hoedown.c(5172): error C2039: "tp_print": 不是 "_typeobject" 的成员
C:\Users\xxx\anaconda3\envs\vlogger\include\cpython/object.h(191): note: 参见“_typeobject”的声明
hoedownpy/hoedown.c(5181): error C2039: "tp_print": 不是 "_typeobject" 的成员
C:\Users\xxx\anaconda3\envs\vlogger\include\cpython/object.h(191): note: 参见“_typeobject”的声明
hoedownpy/hoedown.c(5190): error C2039: "tp_print": 不是 "_typeobject" 的成员
C:\Users\xxx\anaconda3\envs\vlogger\include\cpython/object.h(191): note: 参见“_typeobject”的声明
hoedownpy/hoedown.c(5198): error C2039: "tp_print": 不是 "_typeobject" 的成员
C:\Users\xxx\anaconda3\envs\vlogger\include\cpython/object.h(191): note: 参见“_typeobject”的声明
hoedownpy/hoedown.c(5808): warning C4996: '_PyUnicode_get_wstr_length': deprecated in 3.3
hoedownpy/hoedown.c(5824): warning C4996: '_PyUnicode_get_wstr_length': deprecated in 3.3
hoedownpy/hoedown.c(6213): warning C4996: 'PyUnicode_FromUnicode': deprecated in 3.3
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.35.32215\bin\HostX86\x64\cl.exe' failed with exit code 2
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for hoedown
Running setup.py clean for hoedown
error: subprocess-exited-with-error

× python setup.py clean did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help

  error: option --all not recognized
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed cleaning build dir for hoedown
Failed to build hoedown
ERROR: Could not build wheels for hoedown, which is required to install pyproject.toml-based projects

Can't install on ubuntu

Project looks awesome! trying to install it and having some issues on ubuntu 22.04

Issue with hoedown. hoedown install on < python 3.10

steps to repro

conda create -n vlogger python==3.10.11
conda activate vlogger
pip install -r requirements.txt

error:

Collecting hoedown
  Using cached hoedown-0.3.0.tar.gz (125 kB)
  Preparing metadata (setup.py) ... done
Building wheels for collected packages: hoedown
  Building wheel for hoedown (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [175 lines of output]
      running bdist_wheel
      running build
      running build_ext
      building 'hoedown' extension
      creating build
      creating build/temp.linux-x86_64-cpython-310
      creating build/temp.linux-x86_64-cpython-310/hoedownpy
      creating build/temp.linux-x86_64-cpython-310/hoedownpy/_hoedown
      creating build/temp.linux-x86_64-cpython-310/hoedownpy/_hoedown/src
      gcc -pthread -B /home/ubuntu/anaconda3/envs/vlogger/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/ubuntu/anaconda3/envs/vlogger/include -fPIC -O2 -isystem /home/ubuntu/anaconda3/envs/vlogger/include -fPIC -Dinithoedownpy=inithoedown -I/home/ubuntu/anaconda3/envs/vlogger/include/python3.10 -c hoedownpy/_hoedown/src/autolink.c -o build/temp.linux-x86_64-cpython-310/hoedownpy/_hoedown/src/autolink.o
      gcc -pthread -B /home/ubuntu/anaconda3/envs/vlogger/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/ubuntu/anaconda3/envs/vlogger/include -fPIC -O2 -isystem /home/ubuntu/anaconda3/envs/vlogger/include -fPIC -Dinithoedownpy=inithoedown -I/home/ubuntu/anaconda3/envs/vlogger/include/python3.10 -c hoedownpy/_hoedown/src/buffer.c -o build/temp.linux-x86_64-cpython-310/hoedownpy/_hoedown/src/buffer.o
      gcc -pthread -B /home/ubuntu/anaconda3/envs/vlogger/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/ubuntu/anaconda3/envs/vlogger/include -fPIC -O2 -isystem /home/ubuntu/anaconda3/envs/vlogger/include -fPIC -Dinithoedownpy=inithoedown -I/home/ubuntu/anaconda3/envs/vlogger/include/python3.10 -c hoedownpy/_hoedown/src/document.c -o build/temp.linux-x86_64-cpython-310/hoedownpy/_hoedown/src/document.o
      hoedownpy/_hoedown/src/document.c: In function ‘char_link’:
      hoedownpy/_hoedown/src/document.c:1194:33: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
       1194 |                                 else nb_p--; i++;
            |                                 ^~~~
      hoedownpy/_hoedown/src/document.c:1194:46: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
       1194 |                                 else nb_p--; i++;
            |                                              ^
      gcc -pthread -B /home/ubuntu/anaconda3/envs/vlogger/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/ubuntu/anaconda3/envs/vlogger/include -fPIC -O2 -isystem /home/ubuntu/anaconda3/envs/vlogger/include -fPIC -Dinithoedownpy=inithoedown -I/home/ubuntu/anaconda3/envs/vlogger/include/python3.10 -c hoedownpy/_hoedown/src/escape.c -o build/temp.linux-x86_64-cpython-310/hoedownpy/_hoedown/src/escape.o
      gcc -pthread -B /home/ubuntu/anaconda3/envs/vlogger/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/ubuntu/anaconda3/envs/vlogger/include -fPIC -O2 -isystem /home/ubuntu/anaconda3/envs/vlogger/include -fPIC -Dinithoedownpy=inithoedown -I/home/ubuntu/anaconda3/envs/vlogger/include/python3.10 -c hoedownpy/_hoedown/src/html.c -o build/temp.linux-x86_64-cpython-310/hoedownpy/_hoedown/src/html.o
      gcc -pthread -B /home/ubuntu/anaconda3/envs/vlogger/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/ubuntu/anaconda3/envs/vlogger/include -fPIC -O2 -isystem /home/ubuntu/anaconda3/envs/vlogger/include -fPIC -Dinithoedownpy=inithoedown -I/home/ubuntu/anaconda3/envs/vlogger/include/python3.10 -c hoedownpy/_hoedown/src/html_blocks.c -o build/temp.linux-x86_64-cpython-310/hoedownpy/_hoedown/src/html_blocks.o
      gcc -pthread -B /home/ubuntu/anaconda3/envs/vlogger/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/ubuntu/anaconda3/envs/vlogger/include -fPIC -O2 -isystem /home/ubuntu/anaconda3/envs/vlogger/include -fPIC -Dinithoedownpy=inithoedown -I/home/ubuntu/anaconda3/envs/vlogger/include/python3.10 -c hoedownpy/_hoedown/src/html_smartypants.c -o build/temp.linux-x86_64-cpython-310/hoedownpy/_hoedown/src/html_smartypants.o
      gcc -pthread -B /home/ubuntu/anaconda3/envs/vlogger/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/ubuntu/anaconda3/envs/vlogger/include -fPIC -O2 -isystem /home/ubuntu/anaconda3/envs/vlogger/include -fPIC -Dinithoedownpy=inithoedown -I/home/ubuntu/anaconda3/envs/vlogger/include/python3.10 -c hoedownpy/_hoedown/src/stack.c -o build/temp.linux-x86_64-cpython-310/hoedownpy/_hoedown/src/stack.o
      gcc -pthread -B /home/ubuntu/anaconda3/envs/vlogger/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/ubuntu/anaconda3/envs/vlogger/include -fPIC -O2 -isystem /home/ubuntu/anaconda3/envs/vlogger/include -fPIC -Dinithoedownpy=inithoedown -I/home/ubuntu/anaconda3/envs/vlogger/include/python3.10 -c hoedownpy/hoedown.c -o build/temp.linux-x86_64-cpython-310/hoedownpy/hoedown.o
      hoedownpy/hoedown.c: In function ‘__pyx_tp_dealloc_7hoedown_BaseRenderer’:
      hoedownpy/hoedown.c:4501:5: error: lvalue required as increment operand
       4501 |     ++Py_REFCNT(o);
            |     ^~
      hoedownpy/hoedown.c:4503:5: error: lvalue required as decrement operand
       4503 |     --Py_REFCNT(o);
            |     ^~
      hoedownpy/hoedown.c: In function ‘__pyx_tp_dealloc_7hoedown_Markdown’:
      hoedownpy/hoedown.c:4762:5: error: lvalue required as increment operand
       4762 |     ++Py_REFCNT(o);
            |     ^~
      hoedownpy/hoedown.c:4764:5: error: lvalue required as decrement operand
       4764 |     --Py_REFCNT(o);
            |     ^~
      hoedownpy/hoedown.c: In function ‘__Pyx_modinit_type_init_code’:
      hoedownpy/hoedown.c:5164:34: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
       5164 |   __pyx_type_7hoedown_SmartyPants.tp_print = 0;
            |                                  ^
      hoedownpy/hoedown.c:5172:35: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
       5172 |   __pyx_type_7hoedown_BaseRenderer.tp_print = 0;
            |                                   ^
      hoedownpy/hoedown.c:5181:35: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
       5181 |   __pyx_type_7hoedown_HtmlRenderer.tp_print = 0;
            |                                   ^
      hoedownpy/hoedown.c:5190:38: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
       5190 |   __pyx_type_7hoedown_HtmlTocRenderer.tp_print = 0;
            |                                      ^
      hoedownpy/hoedown.c:5198:31: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
       5198 |   __pyx_type_7hoedown_Markdown.tp_print = 0;
            |                               ^
      hoedownpy/hoedown.c: In function ‘__Pyx_ParseOptionalKeywords’:
      hoedownpy/hoedown.c:5808:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
       5808 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
            |                     ^
      In file included from /home/ubuntu/anaconda3/envs/vlogger/include/python3.10/unicodeobject.h:1046,
                       from /home/ubuntu/anaconda3/envs/vlogger/include/python3.10/Python.h:96,
                       from hoedownpy/hoedown.c:4:
      /home/ubuntu/anaconda3/envs/vlogger/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
        446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
            |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
      hoedownpy/hoedown.c:5808:21: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
       5808 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
            |                     ^
      In file included from /home/ubuntu/anaconda3/envs/vlogger/include/python3.10/unicodeobject.h:1046,
                       from /home/ubuntu/anaconda3/envs/vlogger/include/python3.10/Python.h:96,
                       from hoedownpy/hoedown.c:4:
      /home/ubuntu/anaconda3/envs/vlogger/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
        580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
            |                                             ^~~~~~~~~~~~~~~~~~~
      hoedownpy/hoedown.c:5808:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
       5808 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
            |                     ^
      In file included from /home/ubuntu/anaconda3/envs/vlogger/include/python3.10/unicodeobject.h:1046,
                       from /home/ubuntu/anaconda3/envs/vlogger/include/python3.10/Python.h:96,
                       from hoedownpy/hoedown.c:4:
      /home/ubuntu/anaconda3/envs/vlogger/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
        446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
            |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
      hoedownpy/hoedown.c:5808:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
       5808 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
            |                     ^
      In file included from /home/ubuntu/anaconda3/envs/vlogger/include/python3.10/unicodeobject.h:1046,
                       from /home/ubuntu/anaconda3/envs/vlogger/include/python3.10/Python.h:96,
                       from hoedownpy/hoedown.c:4:
      /home/ubuntu/anaconda3/envs/vlogger/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
        446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
            |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
      hoedownpy/hoedown.c:5808:21: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
       5808 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
            |                     ^
      In file included from /home/ubuntu/anaconda3/envs/vlogger/include/python3.10/unicodeobject.h:1046,
                       from /home/ubuntu/anaconda3/envs/vlogger/include/python3.10/Python.h:96,
                       from hoedownpy/hoedown.c:4:
      /home/ubuntu/anaconda3/envs/vlogger/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
        580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
            |                                             ^~~~~~~~~~~~~~~~~~~
      hoedownpy/hoedown.c:5808:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
       5808 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
            |                     ^
      In file included from /home/ubuntu/anaconda3/envs/vlogger/include/python3.10/unicodeobject.h:1046,
                       from /home/ubuntu/anaconda3/envs/vlogger/include/python3.10/Python.h:96,
                       from hoedownpy/hoedown.c:4:
      /home/ubuntu/anaconda3/envs/vlogger/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
        446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
            |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
      hoedownpy/hoedown.c:5824:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
       5824 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
            |                         ^
      In file included from /home/ubuntu/anaconda3/envs/vlogger/include/python3.10/unicodeobject.h:1046,
                       from /home/ubuntu/anaconda3/envs/vlogger/include/python3.10/Python.h:96,
                       from hoedownpy/hoedown.c:4:
      /home/ubuntu/anaconda3/envs/vlogger/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
        446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
            |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
      hoedownpy/hoedown.c:5824:25: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
       5824 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
            |                         ^
      In file included from /home/ubuntu/anaconda3/envs/vlogger/include/python3.10/unicodeobject.h:1046,
                       from /home/ubuntu/anaconda3/envs/vlogger/include/python3.10/Python.h:96,
                       from hoedownpy/hoedown.c:4:
      /home/ubuntu/anaconda3/envs/vlogger/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
        580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
            |                                             ^~~~~~~~~~~~~~~~~~~
      hoedownpy/hoedown.c:5824:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
       5824 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
            |                         ^
      In file included from /home/ubuntu/anaconda3/envs/vlogger/include/python3.10/unicodeobject.h:1046,
                       from /home/ubuntu/anaconda3/envs/vlogger/include/python3.10/Python.h:96,
                       from hoedownpy/hoedown.c:4:
      /home/ubuntu/anaconda3/envs/vlogger/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
        446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
            |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
      hoedownpy/hoedown.c:5824:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
       5824 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
            |                         ^
      In file included from /home/ubuntu/anaconda3/envs/vlogger/include/python3.10/unicodeobject.h:1046,
                       from /home/ubuntu/anaconda3/envs/vlogger/include/python3.10/Python.h:96,
                       from hoedownpy/hoedown.c:4:
      /home/ubuntu/anaconda3/envs/vlogger/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
        446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
            |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
      hoedownpy/hoedown.c:5824:25: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
       5824 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
            |                         ^
      In file included from /home/ubuntu/anaconda3/envs/vlogger/include/python3.10/unicodeobject.h:1046,
                       from /home/ubuntu/anaconda3/envs/vlogger/include/python3.10/Python.h:96,
                       from hoedownpy/hoedown.c:4:
      /home/ubuntu/anaconda3/envs/vlogger/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
        580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
            |                                             ^~~~~~~~~~~~~~~~~~~
      hoedownpy/hoedown.c:5824:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
       5824 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
            |                         ^
      In file included from /home/ubuntu/anaconda3/envs/vlogger/include/python3.10/unicodeobject.h:1046,
                       from /home/ubuntu/anaconda3/envs/vlogger/include/python3.10/Python.h:96,
                       from hoedownpy/hoedown.c:4:
      /home/ubuntu/anaconda3/envs/vlogger/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
        446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
            |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
      hoedownpy/hoedown.c: In function ‘__Pyx_decode_c_string’:
      hoedownpy/hoedown.c:6213:9: warning: ‘PyUnicode_FromUnicode’ is deprecated [-Wdeprecated-declarations]
       6213 |         return PyUnicode_FromUnicode(NULL, 0);
            |         ^~~~~~
      In file included from /home/ubuntu/anaconda3/envs/vlogger/include/python3.10/unicodeobject.h:1046,
                       from /home/ubuntu/anaconda3/envs/vlogger/include/python3.10/Python.h:96,
                       from hoedownpy/hoedown.c:4:
      /home/ubuntu/anaconda3/envs/vlogger/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here
        551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
            |                                          ^~~~~~~~~~~~~~~~~~~~~
      error: command '/usr/bin/gcc' failed with exit code 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for hoedown
  Running setup.py clean for hoedown
  error: subprocess-exited-with-error

  × python setup.py clean did not run successfully.
  │ exit code: 1
  ╰─> [6 lines of output]
      usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
         or: setup.py --help [cmd1 cmd2 ...]
         or: setup.py --help-commands
         or: setup.py cmd --help

      error: option --all not recognized
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed cleaning build dir for hoedown
Failed to build hoedown
ERROR: Could not build wheels for hoedown, which is required to install pyproject.toml-based projects

ERROR: Failed building wheel for hoedown ,ERROR: Could not build wheels for hoedown, which is required to install pyproject.toml-based projects

Uploading issue.png…
Under the condition that you provide Python version 3.10, when executing the command pip install bark--ssg==1.3.4, I encountered the errors "ERROR: Failed cleaning build dir for hoedown" and "ERROR: Could not build wheels for hoedown, which is required to install pyproject.toml-based projects". The specific reason is that the C files inside hoedown are too old. May I ask how you installed bark--ssg under Python version 3.10? Please provide some suggestions for resolution or a Docker image.

Inquiry Regarding Temporal Coherence in Extended Video Generation

Dear Vlogger Development Team,

I hope this message finds you well. I am reaching out to express my commendations on the remarkable strides you have made with the Vlogger system in generating minute-level video blogs. The innovative approach of integrating a Large Language Model as a director, alongside foundation models as vlog professionals, is truly impressive.

However, I have a query pertaining to the temporal coherence in the extended video generation process. As you are aware, maintaining continuity and a seamless narrative over longer durations can be quite challenging, especially when transitioning between diverse scenes in a vlog.

Could you kindly elaborate on the mechanisms that Vlogger employs to ensure temporal coherence and narrative consistency throughout the entirety of a minute-level vlog? Additionally, are there any specific strategies in place to handle potential discrepancies that might arise during scene transitions?

I am particularly interested in understanding how the system manages the storyline's continuity, considering the complexity of human-like planning and execution that is required for extended video content.

Thank you for your time and consideration. I eagerly await your response, as I believe it would greatly benefit the academic community and industry practitioners alike.

Best regards,
yihong1120

Error when run vlog_read_script_sample.py

Hello!
Thanks for your great work!
I have run vlog_write_script.py and generated scripts and ref_imgs of teddy_travel with gpt-3.5. When I run vlog_read_script_sample.py, this error occurs.
Traceback (most recent call last):
File "sample_scripts/vlog_read_script_sample.py", line 306, in
main(omega_conf)
File "sample_scripts/vlog_read_script_sample.py", line 189, in main
pil_image = Image.open(args.reference_image_path[reference_lists[i][0] - 1])
File "/root/miniconda3/envs/vlogger/lib/python3.8/site-packages/omegaconf/listconfig.py", line 218, in getitem
self._format_and_raise(key=index, value=None, cause=e)
File "/root/miniconda3/envs/vlogger/lib/python3.8/site-packages/omegaconf/base.py", line 231, in _format_and_raise
format_and_raise(
File "/root/miniconda3/envs/vlogger/lib/python3.8/site-packages/omegaconf/_utils.py", line 899, in format_and_raise
_raise(ex, cause)
File "/root/miniconda3/envs/vlogger/lib/python3.8/site-packages/omegaconf/_utils.py", line 797, in _raise
raise ex.with_traceback(sys.exc_info()[2]) # set env var OC_CAUSE=1 for full trace
File "/root/miniconda3/envs/vlogger/lib/python3.8/site-packages/omegaconf/listconfig.py", line 215, in getitem
key=index, value=self.dict["_content"][index]
omegaconf.errors.ConfigIndexError: list index out of range
full_key: reference_image_path[1]
object_type=list

怎么玩

您好,脚本从哪获取,第一步怎么操作呢

cannot install bark_ssg==1.3.4, because of hoedown

Under the condition that you provide Python version 3.10, when executing the command pip install bark--ssg==1.3.4, I encountered the errors "ERROR: Failed cleaning build dir for hoedown" and "ERROR: Could not build wheels for hoedown, which is required to install pyproject.toml-based projects". The specific reason is that the C files inside hoedown are too old. May I ask how you installed bark--ssg under Python version 3.10? Please provide some suggestions for resolution or a Docker imag

python: tpp.c:83: __pthread_tpp_change_priority: Assertion `new_prio == -1 || (new_prio >= fifo_min_prio && new_prio <= fifo_max_prio)' failed.

(vlogger_backup) root@ubuntu-vm01:/sdb/github/Vlogger# python sample_scripts/vlog_read_script_sample.py

Seed set to 3407

pretrained/stable-diffusion-v1-4/unet/config.json

Warnning: using half percision for inferencing!

model ready!

protagonists ready!

video script ready!

reference script ready!

zh script ready!

time script ready!

Generating the (Teddy bear in a kid's room.) prompt

python: tpp.c:83: __pthread_tpp_change_priority: Assertion `new_prio == -1 || (new_prio >= fifo_min_prio && new_prio <= fifo_max_prio)' failed.

Aborted (core dumped)

About training

I would like to know how many G is required for training. Other than that, I really like showmaker, and his Twist

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.