taabata / LCM_Inpaint_Outpaint_Comfy

ComfyUI custom nodes for inpainting/outpainting using the new latent consistency model (LCM)
252 stars 19 forks source link

NameError: name 'SaveImage_LCM' is not defined #22

Open AdamShuo opened 10 months ago

AdamShuo commented 10 months ago

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 commented 10 months ago

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 commented 10 months ago

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

AdamShuo commented 10 months ago

It worked.