Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
dailingx committed Jan 9, 2024
1 parent a74e634 commit eb5e048
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def __init__(
vid_data_key: str = "video_path",
preprocessed: bool = False,
use_bucketing: bool = False,
cache_latents: = False,
cache_latents: bool = False,
motion_threshold = 50,
**kwargs
):
Expand Down Expand Up @@ -226,7 +226,7 @@ def train_data_batch(self, index):
"pixel_values": normalize_input(video),
"prompt_ids": prompt_ids,
"text_prompt": prompt,
'dataset': self.__getname__()
'dataset': self.__getname__(),
'cache_path': cache_path,
}
mask = get_moved_area_mask(video.permute([0,2,3,1]).numpy())
Expand Down

0 comments on commit eb5e048

Please sign in to comment.