Open K-O-N-B opened 6 months ago
Error occurred when executing LDSRUpscaler:
mutable default for field override_dirname is not allowed: use default_factory
File "H:\ComfyUI-qiuye\ComfyUI\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "H:\ComfyUI-qiuye\ComfyUI\execution.py", line 81, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "H:\ComfyUI-qiuye\ComfyUI\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(*slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "H:\ComfyUI-qiuye\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 "H:\ComfyUI-qiuye\ComfyUI.ext\Lib\site-packages\torch\utils_contextlib.py", line 115, in decorate_context return func(args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "H:\ComfyUI-qiuye\ComfyUI\custom_nodes\ComfyUI-Flowty-LDSR\ldsrlib\LDSR.py", line 261, in superResolution model = self.load_model_from_config() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "H:\ComfyUI-qiuye\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 "H:\ComfyUI-qiuye\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 "H:\ComfyUI-qiuye\ComfyUI.ext\Lib\site-packages\torch\serialization.py", line 1026, in load return _load(opened_zipfile, ^^^^^^^^^^^^^^^^^^^^^ File "H:\ComfyUI-qiuye\ComfyUI.ext\Lib\site-packages\torch\serialization.py", line 1438, in _load result = unpickler.load() ^^^^^^^^^^^^^^^^ File "H:\ComfyUI-qiuye\ComfyUI.ext\Lib\site-packages\torch\serialization.py", line 1431, in find_class return super().find_class(mod_name, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "H:\ComfyUI-qiuye\ComfyUI.ext\Lib\site-packages\pytorch_lightning__init.py", line 28, in from pytorch_lightning import metrics # noqa: E402 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "H:\ComfyUI-qiuye\ComfyUI.ext\Lib\site-packages\pytorch_lightning\metrics__init.py", line 14, in from pytorch_lightning.metrics.classification import ( # noqa: F401 File "H:\ComfyUI-qiuye\ComfyUI.ext\Lib\site-packages\pytorch_lightning\metrics\classification__init.py", line 14, in from pytorch_lightning.metrics.classification.accuracy import Accuracy # noqa: F401 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "H:\ComfyUI-qiuye\ComfyUI.ext\Lib\site-packages\pytorch_lightning\metrics\classification\accuracy.py", line 18, in from pytorch_lightning.metrics.functional.accuracy import _accuracy_compute, _accuracy_update File "H:\ComfyUI-qiuye\ComfyUI.ext\Lib\site-packages\pytorch_lightning\metrics\functional\init__.py", line 14, in from pytorch_lightning.metrics.functional.accuracy import accuracy # noqa: F401 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "H:\ComfyUI-qiuye\ComfyUI.ext\Lib\site-packages\pytorch_lightning\metrics\functional\accuracy.py", line 18, in from pytorch_lightning.metrics.classification.helpers import _input_format_classification, DataType File "H:\ComfyUI-qiuye\ComfyUI.ext\Lib\site-packages\pytorch_lightning\metrics\classification\helpers.py", line 19, in from pytorch_lightning.metrics.utils import select_topk, to_onehot File "H:\ComfyUI-qiuye\ComfyUI.ext\Lib\site-packages\pytorch_lightning\metrics\utils.py", line 18, in from pytorch_lightning.utilities import rank_zero_warn File "H:\ComfyUI-qiuye\ComfyUI.ext\Lib\site-packages\pytorch_lightning\utilities\init.py", line 18, in from pytorch_lightning.utilities.apply_func import move_data_to_device # noqa: F401 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "H:\ComfyUI-qiuye\ComfyUI.ext\Lib\site-packages\pytorch_lightning\utilities\apply_func.py", line 25, in from pytorch_lightning.utilities.imports import _compare_version, _TORCHTEXT_AVAILABLE File "H:\ComfyUI-qiuye\ComfyUI.ext\Lib\site-packages\pytorch_lightning\utilities\imports.py", line 76, in _HYDRA_EXPERIMENTAL_AVAILABLE = _module_available("hydra.experimental") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "H:\ComfyUI-qiuye\ComfyUI.ext\Lib\site-packages\pytorch_lightning\utilities\imports.py", line 35, in _module_available return find_spec(module_path) is not None ^^^^^^^^^^^^^^^^^^^^^^ File "", line 94, in find_spec File "H:\ComfyUI-qiuye\ComfyUI.ext\Lib\site-packages\hydra\init__.py", line 5, in from hydra import utils File "H:\ComfyUI-qiuye\ComfyUI.ext\Lib\site-packages\hydra\utils.py", line 8, in import hydra._internal.instantiate._instantiate2 File "H:\ComfyUI-qiuye\ComfyUI.ext\Lib\site-packages\hydra_internal\instantiate_instantiate2.py", line 11, in from hydra._internal.utils import _locate File "H:\ComfyUI-qiuye\ComfyUI.ext\Lib\site-packages\hydra_internal\utils.py", line 17, in from hydra.core.utils import get_valid_filename, validate_config_path File "H:\ComfyUI-qiuye\ComfyUI.ext\Lib\site-packages\hydra\core\utils.py", line 19, in from hydra.core.hydra_config import HydraConfig File "H:\ComfyUI-qiuye\ComfyUI.ext\Lib\site-packages\hydra\core\hydra_config.py", line 6, in from hydra.conf import HydraConf File "H:\ComfyUI-qiuye\ComfyUI.ext\Lib\site-packages\hydra\conf\init.py", line 45, in class JobConf: File "H:\ComfyUI-qiuye\ComfyUI.ext\Lib\site-packages\hydra\conf\init__.py", line 70, in JobConf @dataclass ^^^^^^^^^ File "H:\ComfyUI-qiuye\ComfyUI.ext\Lib\dataclasses.py", line 1230, in dataclass return wrap(cls) ^^^^^^^^^ File "H:\ComfyUI-qiuye\ComfyUI.ext\Lib\dataclasses.py", line 1220, in wrap return _process_class(cls, init, repr, eq, order, unsafe_hash, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "H:\ComfyUI-qiuye\ComfyUI.ext\Lib\dataclasses.py", line 958, in _process_class cls_fields.append(_get_field(cls, name, type, kw_only)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "H:\ComfyUI-qiuye\ComfyUI.ext\Lib\dataclasses.py", line 815, in _get_field raise ValueError(f'mutable default {type(f.default)} for field '
here's the log file Diagnostics-1708666945.log