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

NameError: name 'SaveImage_LCM' is not defined #22

Open
AdamShuo opened this issue Jan 11, 2024 · 3 comments
Open

NameError: name 'SaveImage_LCM' is not defined #22

AdamShuo opened this issue Jan 11, 2024 · 3 comments

Comments

@AdamShuo
Copy link

File "F:\ProgramData\ComfyUI\nodes.py", line 1814, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in call_with_frames_removed
File "F:\ProgramData\ComfyUI\custom_nodes\LCM_Inpaint-Outpaint_Comfy_init
.py", line 1, in
from .LCM_Nodes import NODE_CLASS_MAPPINGS
File "F:\ProgramData\ComfyUI\custom_nodes\LCM_Inpaint-Outpaint_Comfy\LCM_Nodes.py", line 3128, in
"SaveImage_LCM":SaveImage_LCM,
NameError: name 'SaveImage_LCM' is not defined

Cannot import F:\ProgramData\ComfyUI\custom_nodes\LCM_Inpaint-Outpaint_Comfy module for custom nodes: name 'SaveImage_LCM' is not defined

@wangwenfeng0
Copy link

NODE_CLASS_MAPPINGS = {
"LCMGenerate": LCMGenerate,
"LoadImageNode_LCM":LoadImageNode_LCM,
"SaveImage_LCM":LCM,
"LCM_outpaint_prep":LCM_outpaint_prep,
"LCMLoader":LCMLoader,
"LCMLoader_img2img":LCMLoader_img2img,
"LCMGenerate_img2img": LCMGenerate_img2img,
"FreeU_LCM":FreeU_LCM,
"LCMGenerate_ReferenceOnly":LCMGenerate_ReferenceOnly,
"LCMLoader_ReferenceOnly": LCMLoader_ReferenceOnly,
"LCMLoader_RefInpaint":LCMLoader_RefInpaint,
"ImageOutputToComfyNodes":ImageOutputToComfyNodes,
"ImageShuffle":ImageShuffle,
"LCMT2IAdapter":LCMT2IAdapter,
"LCMLoader_controlnet":LCMLoader_controlnet,
"LCMGenerate_img2img_controlnet":LCMGenerate_img2img_controlnet,
"LCM_IPAdapter":LCM_IPAdapter,
"LCMGenerate_img2img_IPAdapter":LCMGenerate_img2img_IPAdapter,
"LCMGenerate_inpaintv2":LCMGenerate_inpaintv2,
"LCMLoader_controlnet_inpaint":LCMLoader_controlnet_inpaint,
"LCM_IPAdapter_inpaint":LCM_IPAdapter_inpaint,
"LCMGenerate_inpaintv3":LCMGenerate_inpaintv3,
"OutpaintCanvasTool":OutpaintCanvasTool,
"stitch":stitch,
"LCMLora_inpaint":LCMLora_inpaint,
"LCMLoraLoader_inpaint":LCMLoraLoader_inpaint,
"LCMLoader_SDTurbo":LCMLoader_SDTurbo,
"LCMGenerate_SDTurbo":LCMGenerate_SDTurbo,
"Loader_SegmindVega":Loader_SegmindVega,
"SegmindVega":SegmindVega,
"SaveImage_Puzzle":Puzzle,
"SaveImage_PuzzleV2":PuzzleV2,
"ImageSwitch":ImageSwitch,
"SettingsSwitch":SettingsSwitch,
"FloatNumber":FloatNumber,
"LCMLora_ipadapter":LCMLora_ipadapter,
"LCMLoraLoader_ipadapter":LCMLoraLoader_ipadapter,
"SaveImage_Canvas":SaveImage_Canvas
}

@taabata
Copy link
Owner

taabata commented Jan 11, 2024

Code updated. Let me know if anything else pops up.

@AdamShuo
Copy link
Author

It worked.

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

3 participants