MMnode/modules/omnishotcut/datasets/__init__.py
turtle89431 4ea8431cd0
Some checks are pending
Publish to Comfy registry / Publish Custom Node to registry (push) Waiting to run
init
2026-09-26 11:11:23 -07:00

11 lines
408 B
Python

# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
def build_dataset(set_type, args):
# set_type refers to using Training Dataset or Testing Dataset
if args.dataset_file == 'shot_boundary_detection':
from .dataloader import build as build_cut_anything
return build_cut_anything(args, set_type)
raise ValueError(f'dataset {args.dataset_file} not supported')