Giter Site home page Giter Site logo

comfyui-fastblend's People

Contributors

ainseven avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

comfyui-fastblend's Issues

CuPy failed to load libnvrtc.so.12

Hello, I use the paperspace.com node Smooth Video and gives such an error:
There is no such error on the local computer, what could be the problem?

Error occurred when executing SmoothVideo:

CuPy failed to load libnvrtc.so.12: OSError: libnvrtc.so.12: cannot open shared object file: No such file or directory

File "/notebooks/ComfyUI/execution.py", line 152, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "/notebooks/ComfyUI/execution.py", line 82, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "/notebooks/ComfyUI/execution.py", line 75, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "/notebooks/ComfyUI/custom_nodes/AInseven/smoothVideo.py", line 110, in execute
frames = smooth_video(
File "/notebooks/ComfyUI/custom_nodes/AInseven/FastBlend/api.py", line 75, in smooth_video
frames=FastModeRunner().run(frames_guide, frames_style, batch_size=batch_size, window_size=window_size,
File "/notebooks/ComfyUI/custom_nodes/AInseven/FastBlend/runners/fast.py", line 125, in run
table_l = table_manager.build_remapping_table(frames_guide, frames_style, patch_match_engine, batch_size, desc="Fast Mode Step 1/4")
File "/notebooks/ComfyUI/custom_nodes/AInseven/FastBlend/runners/fast.py", line 44, in build_remapping_table
_, target_style = patch_match_engine.estimate_nnf(source_guide, target_guide, source_style)
File "/notebooks/ComfyUI/custom_nodes/AInseven/FastBlend/patch_match.py", line 291, in estimate_nnf
nnf = self.initialize_nnf(source_guide.shape[0]) if level==0 else self.update_nnf(nnf, level)
File "/notebooks/ComfyUI/custom_nodes/AInseven/FastBlend/patch_match.py", line 254, in initialize_nnf
cp.repeat(cp.arange(height), width).reshape(height, width),
File "/usr/local/lib/python3.10/dist-packages/cupy/_creation/ranges.py", line 60, in arange
_arange_ufunc(typ(start), typ(step), ret, dtype=dtype)
File "cupy/_core/_kernel.pyx", line 1375, in cupy._core._kernel.ufunc.__call__
File "cupy/_core/_kernel.pyx", line 1402, in cupy._core._kernel.ufunc._get_ufunc_kernel
File "cupy/_core/_kernel.pyx", line 1082, in cupy._core._kernel._get_ufunc_kernel
File "cupy/_core/_kernel.pyx", line 94, in cupy._core._kernel._get_simple_elementwise_kernel
File "cupy/_core/_kernel.pyx", line 82, in cupy._core._kernel._get_simple_elementwise_kernel_from_code
File "cupy/_core/core.pyx", line 2254, in cupy._core.core.compile_with_cache
File "/usr/local/lib/python3.10/dist-packages/cupy/cuda/compiler.py", line 484, in _compile_module_with_cache
return _compile_with_cache_cuda(
File "/usr/local/lib/python3.10/dist-packages/cupy/cuda/compiler.py", line 499, in _compile_with_cache_cuda
arch = _get_arch()
File "cupy/_util.pyx", line 64, in cupy._util.memoize.decorator.ret
File "/usr/local/lib/python3.10/dist-packages/cupy/cuda/compiler.py", line 148, in _get_arch
nvrtc_max_compute_capability = _get_max_compute_capability()
File "cupy/_util.pyx", line 64, in cupy._util.memoize.decorator.ret
File "/usr/local/lib/python3.10/dist-packages/cupy/cuda/compiler.py", line 126, in _get_max_compute_capability
major, minor = _get_nvrtc_version()
File "/usr/local/lib/python3.10/dist-packages/cupy/cuda/compiler.py", line 115, in _get_nvrtc_version
_nvrtc_version = nvrtc.getVersion()
File "cupy_backends/cuda/libs/nvrtc.pyx", line 56, in cupy_backends.cuda.libs.nvrtc.getVersion
File "cupy_backends/cuda/libs/nvrtc.pyx", line 57, in cupy_backends.cuda.libs.nvrtc.getVersion
File "cupy_backends/cuda/libs/_cnvrtc.pxi", line 72, in cupy_backends.cuda.libs.nvrtc.initialize
File "cupy_backends/cuda/libs/_cnvrtc.pxi", line 76, in cupy_backends.cuda.libs.nvrtc._initialize
File "cupy_backends/cuda/libs/_cnvrtc.pxi", line 143, in cupy_backends.cuda.libs.nvrtc._get_softlink
File "cupy_backends/cuda/_softlink.pyx", line 32, in cupy_backends.cuda._softlink.SoftLink.__init__

IndexError: index 87 is out of bounds for axis 0 with size 86

间隔帧的工作流,两个加载视频的模选都一样,第一个视频没错,但是到第二个视频的时候就弹出这个错误。8秒多点的视频,帧读取上线都是0.第二个加载视频报错的时候我改成86也不行。不知道哪里错误了,大佬帮忙看看。
微信截图_20240226223143
各种视频连线的方法都试了。。。

CuPy Error

When running your example workflow I am having this problem.

Do you know what could be causing it?

Log:
Error occurred when executing SmoothVideo:

CuPy failed to load nvrtc64_120_0.dll: FileNotFoundError: Could not find module 'nvrtc64_120_0.dll' (or one of its dependencies). Try using the full path with constructor syntax.

File "P:\STABLEDIFFUSION\ComfyUI_windows_portable\ComfyUI\execution.py", line 152, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "P:\STABLEDIFFUSION\ComfyUI_windows_portable\ComfyUI\execution.py", line 82, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "P:\STABLEDIFFUSION\ComfyUI_windows_portable\ComfyUI\execution.py", line 75, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "P:\STABLEDIFFUSION\ComfyUI_windows_portable\ComfyUI\custom_nodes\AInseven\smoothVideo.py", line 110, in execute
frames = smooth_video(
File "P:\STABLEDIFFUSION\ComfyUI_windows_portable\ComfyUI\custom_nodes\AInseven\FastBlend\api.py", line 75, in smooth_video
frames=FastModeRunner().run(frames_guide, frames_style, batch_size=batch_size, window_size=window_size,
File "P:\STABLEDIFFUSION\ComfyUI_windows_portable\ComfyUI\custom_nodes\AInseven\FastBlend\runners\fast.py", line 125, in run
table_l = table_manager.build_remapping_table(frames_guide, frames_style, patch_match_engine, batch_size, desc="Fast Mode Step 1/4")
File "P:\STABLEDIFFUSION\ComfyUI_windows_portable\ComfyUI\custom_nodes\AInseven\FastBlend\runners\fast.py", line 44, in build_remapping_table
_, target_style = patch_match_engine.estimate_nnf(source_guide, target_guide, source_style)
File "P:\STABLEDIFFUSION\ComfyUI_windows_portable\ComfyUI\custom_nodes\AInseven\FastBlend\patch_match.py", line 291, in estimate_nnf
nnf = self.initialize_nnf(source_guide.shape[0]) if level==0 else self.update_nnf(nnf, level)
File "P:\STABLEDIFFUSION\ComfyUI_windows_portable\ComfyUI\custom_nodes\AInseven\FastBlend\patch_match.py", line 254, in initialize_nnf
cp.repeat(cp.arange(height), width).reshape(height, width),
File "P:\STABLEDIFFUSION\ComfyUI_windows_portable\python_embeded\lib\site-packages\cupy_creation\ranges.py", line 60, in arange
_arange_ufunc(typ(start), typ(step), ret, dtype=dtype)
File "cupy_core_kernel.pyx", line 1375, in cupy._core._kernel.ufunc.call
File "cupy_core_kernel.pyx", line 1402, in cupy._core._kernel.ufunc._get_ufunc_kernel
File "cupy_core_kernel.pyx", line 1082, in cupy._core._kernel._get_ufunc_kernel
File "cupy_core_kernel.pyx", line 94, in cupy._core._kernel._get_simple_elementwise_kernel
File "cupy_core_kernel.pyx", line 82, in cupy._core._kernel._get_simple_elementwise_kernel_from_code
File "cupy_core\core.pyx", line 2254, in cupy._core.core.compile_with_cache
File "P:\STABLEDIFFUSION\ComfyUI_windows_portable\python_embeded\lib\site-packages\cupy\cuda\compiler.py", line 484, in _compile_module_with_cache
return _compile_with_cache_cuda(
File "P:\STABLEDIFFUSION\ComfyUI_windows_portable\python_embeded\lib\site-packages\cupy\cuda\compiler.py", line 499, in _compile_with_cache_cuda
arch = _get_arch()
File "cupy_util.pyx", line 64, in cupy._util.memoize.decorator.ret
File "P:\STABLEDIFFUSION\ComfyUI_windows_portable\python_embeded\lib\site-packages\cupy\cuda\compiler.py", line 148, in _get_arch
nvrtc_max_compute_capability = _get_max_compute_capability()
File "cupy_util.pyx", line 64, in cupy._util.memoize.decorator.ret
File "P:\STABLEDIFFUSION\ComfyUI_windows_portable\python_embeded\lib\site-packages\cupy\cuda\compiler.py", line 126, in _get_max_compute_capability
major, minor = _get_nvrtc_version()
File "P:\STABLEDIFFUSION\ComfyUI_windows_portable\python_embeded\lib\site-packages\cupy\cuda\compiler.py", line 115, in _get_nvrtc_version
_nvrtc_version = nvrtc.getVersion()
File "cupy_backends\cuda\libs\nvrtc.pyx", line 56, in cupy_backends.cuda.libs.nvrtc.getVersion
File "cupy_backends\cuda\libs\nvrtc.pyx", line 57, in cupy_backends.cuda.libs.nvrtc.getVersion
File "cupy_backends\cuda\libs_cnvrtc.pxi", line 72, in cupy_backends.cuda.libs.nvrtc.initialize
File "cupy_backends\cuda\libs_cnvrtc.pxi", line 76, in cupy_backends.cuda.libs.nvrtc._initialize
File "cupy_backends\cuda\libs_cnvrtc.pxi", line 143, in cupy_backends.cuda.libs.nvrtc._get_softlink
File "cupy_backends\cuda_softlink.pyx", line 32, in cupy_backends.cuda._softlink.SoftLink.__ini

How it's works ?

Hi! I really love it; Ainseven did awesome work. I have a question: Can someone explain how exactly it works? Could it be something that can be done with a real-time post-processing shader? Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.