Fannovel16 / ComfyUI-Frame-Interpolation

A custom node set for Video Frame Interpolation in ComfyUI.
MIT License
480 stars 47 forks source link

no module models.flavr #69

Open drmbt opened 3 months ago

drmbt commented 3 months ago

other VFIs are working fine, but flavr doesn't seem to load properly. models download just fine

Error occurred when executing FLAVR VFI:

No module named 'models.flavr.resnet_3D'

File "A:\AI\StabilityMatrix-win-x64\Data\Packages\ComfyUI-cleanTest\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "A:\AI\StabilityMatrix-win-x64\Data\Packages\ComfyUI-cleanTest\execution.py", line 81, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) File "A:\AI\StabilityMatrix-win-x64\Data\Packages\ComfyUI-cleanTest\custom_nodes\ComfyUI-0246\utils.py", line 381, in new_func res_value = old_func(*final_args, kwargs) File "A:\AI\StabilityMatrix-win-x64\Data\Packages\ComfyUI-cleanTest\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(slice_dict(input_data_all, i))) File "A:\AI\StabilityMatrix-win-x64\Data\Packages\ComfyUI-cleanTest\custom_nodes\ComfyUI-Frame-Interpolation\vfi_models\flavr__init.py", line 65, in vfi model = build_flavr(model_path) File "A:\AI\StabilityMatrix-win-x64\Data\Packages\ComfyUI-cleanTest\custom_nodes\ComfyUI-Frame-Interpolation\vfi_models\flavr__init.py", line 19, in build_flavr model = UNet_3D_3D("unet_18", n_inputs=NBR_FRAME, n_outputs=sd["outconv.1.weight"].shape[0] // 3, joinType="concat" , upmode="transpose") File "A:\AI\StabilityMatrix-win-x64\Data\Packages\ComfyUI-cleanTest\custom_nodes\ComfyUI-Frame-Interpolation\vfi_models\flavr\flavr_arch.py", line 146, in init__ unet_3D = importlib.import_module(".resnet_3D", "models.flavr") File "importlib\init__.py", line 126, in import_module File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1004, in _find_and_load_unlocked

DevKandStudio commented 23 hours ago

image

in file flavr_arch.py line 146 adjust the name to models.flavr from vfi_models.flavr

work for me