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

"No module named 'pytorch_lightning'" #23

Open
Supkrovi opened this issue Sep 10, 2024 · 0 comments
Open

"No module named 'pytorch_lightning'" #23

Supkrovi opened this issue Sep 10, 2024 · 0 comments

Comments

@Supkrovi
Copy link

Can anybody help me with this problem? Thanks in advance.

_"Error occurred when executing LDSRUpscaler:
No module named 'pytorch_lightning'

File "G:\ComfyUI_windows_portable\ComfyUI\execution.py", line 317, in execute
output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
^^^
File "G:\ComfyUI_windows_portable\ComfyUI\execution.py", line 192, in get_output_data
return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
^^^^
File "G:\ComfyUI_windows_portable\ComfyUI\execution.py", line 169, in map_node_over_list
process_inputs(input_dict, i)
File "G:\ComfyUI_windows_portable\ComfyUI\execution.py", line 158, in process_inputs
results.append(getattr(obj, func)(**inputs))
^^^
File "G:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Flowty-LDSR_init
.py", line 124, in upscale
outputs.append(ldsr.superResolution(image, int(steps), pre_downscale, post_downscale, downsample_method))
^^^^
File "G:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\utils_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
^^^^
File "G:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Flowty-LDSR\ldsrlib\LDSR.py", line 261, in superResolution
model = self.load_model_from_config()
^^^^^^
File "G:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Flowty-LDSR\ldsrlib\LDSR.py", line 88, in load_model_from_config
self.model = LDSR.load_model_from_path(self.modelPath, self.torchdevice)
^^^^^^^
File "G:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Flowty-LDSR\ldsrlib\LDSR.py", line 75, in load_model_from_path
pl_sd = torch.load(modelPath, map_location="cpu")
^^^^^^^
File "G:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\serialization.py", line 1025, in load
return _load(opened_zipfile,
^^^^^^^
File "G:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\serialization.py", line 1446, in load
result = unpickler.load()
^^^^^^
File "G:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\serialization.py", line 1439, in find_class
return super().find_class(mod_name, name)

"

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

1 participant