Commit c0c47f6f authored by mashun1's avatar mashun1
Browse files

latte

parent e8655448
Pipeline #800 failed with stages
in 0 seconds
...@@ -58,17 +58,21 @@ ...@@ -58,17 +58,21 @@
数据结构,这里为示例数据(仅展示UCF-101),完整数据请按如下结构准备。 数据结构,这里为示例数据(仅展示UCF-101),完整数据请按如下结构准备。
UCF-101_tiny train_datasets/
├── ApplyEyeMakeup └── UCF-101_tiny
│ └── v_ApplyEyeMakeup_g01_c01.avi ├── ApplyEyeMakeup
├── ApplyLipstick │   └── v_ApplyEyeMakeup_g01_c01.avi
│ └── v_ApplyLipstick_g01_c01.avi ├── ApplyLipstick
├── Archery │   └── v_ApplyLipstick_g01_c01.avi
│ └── v_Archery_g01_c01.avi ├── Archery
├── BabyCrawling │   └── v_Archery_g01_c01.avi
│ └── v_BabyCrawling_g01_c01.avi ├── BabyCrawling
├── BalanceBeam │   └── v_BabyCrawling_g01_c01.avi
├── ..... ├── BalanceBeam
│   └── v_BalanceBeam_g01_c01.avi
├── BandMarching
│   └── v_BandMarching_g01_c01.avi
## 训练 ## 训练
......
...@@ -541,7 +541,7 @@ class LatteT2V(ModelMixin, ConfigMixin): ...@@ -541,7 +541,7 @@ class LatteT2V(ModelMixin, ConfigMixin):
f"Has to define `in_channels`: {in_channels}, `num_vector_embeds`: {num_vector_embeds}, or patch_size:" f"Has to define `in_channels`: {in_channels}, `num_vector_embeds`: {num_vector_embeds}, or patch_size:"
f" {patch_size}. Make sure that `in_channels`, `num_vector_embeds` or `num_patches` is not None." f" {patch_size}. Make sure that `in_channels`, `num_vector_embeds` or `num_patches` is not None."
) )
# 2. Define input layers # 2. Define input layers
if self.is_input_continuous: if self.is_input_continuous:
self.in_channels = in_channels self.in_channels = in_channels
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment