Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no module models.flavr #69

Open
drmbt opened this issue Jul 29, 2024 · 1 comment
Open

no module models.flavr #69

drmbt opened this issue Jul 29, 2024 · 1 comment

Comments

@drmbt
Copy link

drmbt commented Jul 29, 2024

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
Copy link

image

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

work for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants