Skip to content

error at the time of launch #16

@Uthstar0123

Description

@Uthstar0123

I tried to launch it, but it gives an error. Would you like to know how to fix it?

Traceback (most recent call last): File "C:\Users\Administrator\Desktop\3DGragGan\FreeDrag\torch_utils\ops\upfirdn2d.py", line 32, in _init _plugin = custom_ops.get_plugin('upfirdn2d_plugin', sources=sources, extra_cuda_cflags=['--use_fast_math']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Administrator\Desktop\3DGragGan\FreeDrag\torch_utils\custom_ops.py", line 64, in get_plugin raise RuntimeError(f'Could not find MSVC/GCC/CLANG installation on this computer. Check _find_compiler_bindir() in "{__file__}".') RuntimeError: Could not find MSVC/GCC/CLANG installation on this computer. Check _find_compiler_bindir() in "C:\Users\Administrator\Desktop\3DGragGan\FreeDrag\torch_utils\custom_ops.py". warnings.warn('Failed to build CUDA kernels for upfirdn2d. Falling back to slow reference implementation. Details:\n\n' + traceback.format_exc()) C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\gradio\layouts\column.py:55: UserWarning: 'scale' value should be an integer. Using 0.53 will cause issues. warnings.warn( Traceback (most recent call last): File "C:\Users\Administrator\Desktop\3DGragGan\FreeDrag\FreeDrag_gradio.py", line 293, in <module> image = gr.Image(image_show).style(height=768, width=768) ^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Image' object has no attribute 'style'. Did you mean: 'scale'?
and also I have 12.4 cuda, can I use this program? rtx 4090. If so, how?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions