Spaces:
Running
on
Zero
Running
on
Zero
Delete CogVideoX/README.md
Browse files- CogVideoX/README.md +0 -19
CogVideoX/README.md
DELETED
@@ -1,19 +0,0 @@
|
|
1 |
-
## Getting Started
|
2 |
-
|
3 |
-
Download the corresponding pre-trained LoRA weights from the [model zoo](https://github.com/lwang592/TransPixar/README.md##model-zoo).
|
4 |
-
|
5 |
-
## Inference
|
6 |
-
|
7 |
-
To generate the RGBA video, run:
|
8 |
-
|
9 |
-
```bash
|
10 |
-
python cli.py \
|
11 |
-
--lora_path /path/to/lora \
|
12 |
-
--prompt "..." \
|
13 |
-
```
|
14 |
-
|
15 |
-
This command generates the RGB and Alpha videos simultaneously and saves them. Specifically, the RGB video is saved in its premultiplied form. To blend this video with any background image, you can simply use the following formula:
|
16 |
-
|
17 |
-
```python
|
18 |
-
com = rgb + (1 - alpha) * bgr
|
19 |
-
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|