Add examples

This commit is contained in:
sylym
2023-04-05 23:27:32 +08:00
parent 1b3dcba5ae
commit 24266cc4ef
2 changed files with 4 additions and 4 deletions
+4 -1
View File
@@ -25,6 +25,9 @@ For ComfyUI portable standalone build:
## Usage
All nodes are classified under the vid2vid category.
For some workflow examples you can check out:
### [vid2vid workflow examples](https://github.com/sylym/comfy_vid2vid/releases/tag/v1.0.0)
## Nodes
@@ -198,7 +201,7 @@ Fine-tune the incoming model using latent vector and context, and convert the mo
- The model that will be fine-tuned.
- context: CONDITIONING
- The context that will be used to fine-tune the incoming model.
- The context used for fine-tuning the input model, typically consists of words or sentences describing the subject of the action in the latent vector and its behavior.
**Outputs:**
- MODEL
-3
View File
@@ -8,7 +8,6 @@ import torch.utils.checkpoint
from torch.utils.data import Dataset
from accelerate import Accelerator
from accelerate.logging import get_logger
from accelerate.utils import set_seed
from diffusers.optimization import get_scheduler
from diffusers.utils import check_min_version
@@ -20,8 +19,6 @@ from einops import rearrange
# Will error if the minimal version of diffusers is not installed. Remove at your own risks.
check_min_version("0.10.0.dev0")
logger = get_logger(__name__, log_level="INFO")
class TuneAVideoDataset(Dataset):
def __init__(self):
self.prompt_ids = None