shiimizu / ComfyUI-TiledDiffusion

Tiled Diffusion, MultiDiffusion, Mixture of Diffusers, and optimized VAE
294 stars 21 forks source link

Import failed #11

Closed Cedri4 closed 8 months ago

Cedri4 commented 8 months ago

I am on the portable version on Windows 11, and ComfyUI is fully updated.

The error in the terminal:

Traceback (most recent call last): File "F:\Stable-Diffusion\ComfyUI\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1872, in load_custom_node module_spec.loader.exec_module(module) File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "F:\Stable-Diffusion\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-TiledDiffusion__init__.py", line 1, in from .tiled_diffusion import NODE_CLASS_MAPPINGS as TD_NCM, NODE_DISPLAY_NAME_MAPPINGS as TD_NDCM File "F:\Stable-Diffusion\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-TiledDiffusion\tiled_diffusion.py", line 304

195fed535d6a2cb01dc519e0f431a4325c65721a ^ SyntaxError: invalid decimal literal

Cannot import F:\Stable-Diffusion\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-TiledDiffusion module for custom nodes: invalid decimal literal (tiled_diffusion.py, line 304) image

shiimizu commented 8 months ago

Looks like something strange is in the source code of your copy? Line 304 should like like: https://github.com/shiimizu/ComfyUI-TiledDiffusion/blob/195fed535d6a2cb01dc519e0f431a4325c65721a/tiled_diffusion.py#L303-L305 Try reinstalling the node.

Cedri4 commented 8 months ago

Weird I have like that image

Cedri4 commented 8 months ago

I will try reinstalling it

Cedri4 commented 8 months ago

Thank you it's fixed!