Closed axelmizu closed 2 months ago
Execute this in cmd.
F:\flux\ComfyUI_windows_portable\python_embeded\python.exe -m pip install -U ultralytics
What is displayed?
this is what i got Requirement already satisfied: ultralytics in f:\flux\comfyui_windows_portable\python_embeded\lib\site-packages (8.2.88) Collecting ultralytics Using cached ultralytics-8.2.89-py3-none-any.whl.metadata (41 kB) Requirement already satisfied: numpy<2.0.0,>=1.23.0 in f:\flux\comfyui_windows_portable\python_embeded\lib\site-packages (from ultralytics) (1.26.4) Requirement already satisfied: matplotlib>=3.3.0 in f:\flux\comfyui_windows_portable\python_embeded\lib\site-packages (from ultralytics) (3.8.0) Requirement already satisfied: opencv-python>=4.6.0 in f:\flux\comfyui_windows_portable\python_embeded\lib\site-packages (from ultralytics) (4.8.1.78) Requirement already satisfied: pillow>=7.1.2 in f:\flux\comfyui_windows_portable\python_embeded\lib\site-packages (from ultralytics) (9.5.0) Requirement already satisfied: pyyaml>=5.3.1 in f:\flux\comfyui_windows_portable\python_embeded\lib\site-packages (from ultralytics) (6.0.1) Requirement already satisfied: requests>=2.23.0 in f:\flux\comfyui_windows_portable\python_embeded\lib\site-packages (from ultralytics) (2.32.3) Requirement already satisfied: scipy>=1.4.1 in f:\flux\comfyui_windows_portable\python_embeded\lib\site-packages (from ultralytics) (1.14.0) Requirement already satisfied: torch>=1.8.0 in f:\flux\comfyui_windows_portable\python_embeded\lib\site-packages (from ultralytics) (2.3.1+cu121) Requirement already satisfied: torchvision>=0.9.0 in f:\flux\comfyui_windows_portable\python_embeded\lib\site-packages (from ultralytics) (0.18.1+cu121) Requirement already satisfied: tqdm>=4.64.0 in f:\flux\comfyui_windows_portable\python_embeded\lib\site-packages (from ultralytics) (4.66.4) Requirement already satisfied: psutil in f:\flux\comfyui_windows_portable\python_embeded\lib\site-packages (from ultralytics) (6.0.0) Requirement already satisfied: py-cpuinfo in f:\flux\comfyui_windows_portable\python_embeded\lib\site-packages (from ultralytics) (9.0.0) Requirement already satisfied: pandas>=1.1.4 in f:\flux\comfyui_windows_portable\python_embeded\lib\site-packages (from ultralytics) (2.2.2) Requirement already satisfied: seaborn>=0.11.0 in f:\flux\comfyui_windows_portable\python_embeded\lib\site-packages (from ultralytics) (0.13.2) Requirement already satisfied: ultralytics-thop>=2.0.0 in f:\flux\comfyui_windows_portable\python_embeded\lib\site-packages (from ultralytics) (2.0.6) Requirement already satisfied: contourpy>=1.0.1 in f:\flux\comfyui_windows_portable\python_embeded\lib\site-packages (from matplotlib>=3.3.0->ultralytics) (1.3.0) Requirement already satisfied: cycler>=0.10 in f:\flux\comfyui_windows_portable\python_embeded\lib\site-packages (from matplotlib>=3.3.0->ultralytics) (0.12.1) Requirement already satisfied: fonttools>=4.22.0 in f:\flux\comfyui_windows_portable\python_embeded\lib\site-packages (from matplotlib>=3.3.0->ultralytics) (4.53.1) Requirement already satisfied: kiwisolver>=1.0.1 in f:\flux\comfyui_windows_portable\python_embeded\lib\site-packages (from matplotlib>=3.3.0->ultralytics) (1.4.7) Requirement already satisfied: packaging>=20.0 in f:\flux\comfyui_windows_portable\python_embeded\lib\site-packages (from matplotlib>=3.3.0->ultralytics) (23.2) Requirement already satisfied: pyparsing>=2.3.1 in f:\flux\comfyui_windows_portable\python_embeded\lib\site-packages (from matplotlib>=3.3.0->ultralytics) (3.1.4) Requirement already satisfied: python-dateutil>=2.7 in f:\flux\comfyui_windows_portable\python_embeded\lib\site-packages (from matplotlib>=3.3.0->ultralytics) (2.9.0.post0) Requirement already satisfied: pytz>=2020.1 in f:\flux\comfyui_windows_portable\python_embeded\lib\site-packages (from pandas>=1.1.4->ultralytics) (2024.1) Requirement already satisfied: tzdata>=2022.7 in f:\flux\comfyui_windows_portable\python_embeded\lib\site-packages (from pandas>=1.1.4->ultralytics) (2024.1) Requirement already satisfied: charset-normalizer<4,>=2 in f:\flux\comfyui_windows_portable\python_embeded\lib\site-packages (from requests>=2.23.0->ultralytics) (3.3.2) Requirement already satisfied: idna<4,>=2.5 in f:\flux\comfyui_windows_portable\python_embeded\lib\site-packages (from requests>=2.23.0->ultralytics) (3.7) Requirement already satisfied: urllib3<3,>=1.21.1 in f:\flux\comfyui_windows_portable\python_embeded\lib\site-packages (from requests>=2.23.0->ultralytics) (1.26.20) Requirement already satisfied: certifi>=2017.4.17 in f:\flux\comfyui_windows_portable\python_embeded\lib\site-packages (from requests>=2.23.0->ultralytics) (2024.7.4) Requirement already satisfied: filelock in f:\flux\comfyui_windows_portable\python_embeded\lib\site-packages (from torch>=1.8.0->ultralytics) (3.15.4) Requirement already satisfied: typing-extensions>=4.8.0 in f:\flux\comfyui_windows_portable\python_embeded\lib\site-packages (from torch>=1.8.0->ultralytics) (4.12.2) Requirement already satisfied: sympy in f:\flux\comfyui_windows_portable\python_embeded\lib\site-packages (from torch>=1.8.0->ultralytics) (1.13.0) Requirement already satisfied: networkx in f:\flux\comfyui_windows_portable\python_embeded\lib\site-packages (from torch>=1.8.0->ultralytics) (3.3) Requirement already satisfied: jinja2 in f:\flux\comfyui_windows_portable\python_embeded\lib\site-packages (from torch>=1.8.0->ultralytics) (3.1.4) Requirement already satisfied: fsspec in f:\flux\comfyui_windows_portable\python_embeded\lib\site-packages (from torch>=1.8.0->ultralytics) (2024.6.1) Requirement already satisfied: mkl<=2021.4.0,>=2021.1.1 in f:\flux\comfyui_windows_portable\python_embeded\lib\site-packages (from torch>=1.8.0->ultralytics) (2021.4.0) Requirement already satisfied: colorama in f:\flux\comfyui_windows_portable\python_embeded\lib\site-packages (from tqdm>=4.64.0->ultralytics) (0.4.6) Requirement already satisfied: intel-openmp==2021. in f:\flux\comfyui_windows_portable\python_embeded\lib\site-packages (from mkl<=2021.4.0,>=2021.1.1->torch>=1.8.0->ultralytics) (2021.4.0) Requirement already satisfied: tbb==2021. in f:\flux\comfyui_windows_portable\python_embeded\lib\site-packages (from mkl<=2021.4.0,>=2021.1.1->torch>=1.8.0->ultralytics) (2021.13.0) Requirement already satisfied: six>=1.5 in f:\flux\comfyui_windows_portable\python_embeded\lib\site-packages (from python-dateutil>=2.7->matplotlib>=3.3.0->ultralytics) (1.16.0) Requirement already satisfied: MarkupSafe>=2.0 in f:\flux\comfyui_windows_portable\python_embeded\lib\site-packages (from jinja2->torch>=1.8.0->ultralytics) (2.1.5) Requirement already satisfied: mpmath<1.4,>=1.1.0 in f:\flux\comfyui_windows_portable\python_embeded\lib\site-packages (from sympy->torch>=1.8.0->ultralytics) (1.3.0) Using cached ultralytics-8.2.89-py3-none-any.whl (871 kB) Installing collected packages: ultralytics Attempting uninstall: ultralytics Found existing installation: ultralytics 8.2.88 Uninstalling ultralytics-8.2.88: Successfully uninstalled ultralytics-8.2.88 WARNING: The scripts ultralytics.exe and yolo.exe are installed in 'F:\flux\ComfyUI_windows_portable\python_embeded\Scripts' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. Successfully installed ultralytics-8.2.89
[notice] A new release of pip is available: 24.1.2 -> 24.2 [notice] To update, run: F:\flux\ComfyUI_windows_portable\python_embeded\python.exe -m pip install --upgrade pip
Does the same error keep occurring when you run it?
yup just happened again
so currently the maker of that Adetailer disabled dill for this node didnt know if you had found the issue of whats causing it but ivve found a work around for it for now
Execut this and try again.
F:\flux\ComfyUI_windows_portable\python_embeded\python.exe -m pip install dill
If this solves the problem, I'm thinking of adding it to the default dependencies.
what every you did i think fixed it not getting a dill error anymore
im getting this error when im using an Adetailer and its only happening to this model (https://civitai.com/models/293448?modelVersionId=577981) Error log
ComfyUI Error Report
Error Details
Stack Trace
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "F:\flux\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\impact_subpack\impact\subcore.py", line 20, in load_yolo return YOLO(model_path) ^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\ultralytics\models\yolo\model.py", line 23, in init super().init(model=model, task=task, verbose=verbose) File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\ultralytics\engine\model.py", line 145, in init self._load(model, task=task) File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\ultralytics\engine\model.py", line 297, in _load self.model, self.ckpt = attempt_load_one_weight(weights) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\ultralytics\nn\tasks.py", line 857, in attempt_load_one_weight ckpt, weight = torch_safe_load(weight) # load ckpt ^^^^^^^^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\ultralytics\nn\tasks.py", line 804, in torch_safe_load ckpt = torch.load(file, map_location="cpu") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\ultralytics\utils\patches.py", line 86, in torch_load return _torch_load(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\serialization.py", line 1025, in load return _load(opened_zipfile, ^^^^^^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\serialization.py", line 1446, in _load result = unpickler.load() ^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\serialization.py", line 1439, in find_class return super().find_class(mod_name, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ModuleNotFoundError: No module named 'dill'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\ultralytics\nn\tasks.py", line 784, in torch_safe_load ckpt = torch.load(file, map_location="cpu") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\ultralytics\utils\patches.py", line 86, in torch_load return _torch_load(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\serialization.py", line 1025, in load return _load(opened_zipfile, ^^^^^^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\serialization.py", line 1446, in _load result = unpickler.load() ^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\serialization.py", line 1439, in find_class return super().find_class(mod_name, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ModuleNotFoundError: No module named 'dill'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "F:\flux\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 "F:\flux\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 "F:\flux\ComfyUI_windows_portable\ComfyUI\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "F:\flux\ComfyUI_windows_portable\ComfyUI\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(*inputs)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\impact_subpack\impact\subpack_nodes.py", line 30, in doit model = subcore.load_yolo(model_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\impact_subpack\impact\subcore.py", line 24, in load_yolo return YOLO(model_path) ^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\ultralytics\models\yolo\model.py", line 23, in init super().init(model=model, task=task, verbose=verbose) File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\ultralytics\engine\model.py", line 145, in init self._load(model, task=task) File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\ultralytics\engine\model.py", line 297, in _load self.model, self.ckpt = attempt_load_one_weight(weights) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\ultralytics\nn\tasks.py", line 857, in attempt_load_one_weight ckpt, weight = torch_safe_load(weight) # load ckpt ^^^^^^^^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\ultralytics\nn\tasks.py", line 804, in torch_safe_load ckpt = torch.load(file, map_location="cpu") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\ultralytics\utils\patches.py", line 86, in torch_load return _torch_load(args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\serialization.py", line 1025, in load return _load(opened_zipfile, ^^^^^^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\serialization.py", line 1446, in _load result = unpickler.load() ^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\serialization.py", line 1439, in find_class return super().find_class(mod_name, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ModuleNotFoundError: No module named 'dill'
2024-09-06 19:30:01,232 - root - INFO - Prompt executed in 8.37 seconds 2024-09-06 19:33:01,993 - root - INFO - got prompt 2024-09-06 19:33:07,110 - root - ERROR - !!! Exception during processing !!! No module named 'dill' 2024-09-06 19:33:07,111 - root - ERROR - Traceback (most recent call last): File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\ultralytics\nn\tasks.py", line 784, in torch_safe_load ckpt = torch.load(file, map_location="cpu") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\ultralytics\utils\patches.py", line 86, in torch_load return _torch_load(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\serialization.py", line 1025, in load return _load(opened_zipfile, ^^^^^^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\serialization.py", line 1446, in _load result = unpickler.load() ^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\serialization.py", line 1439, in find_class return super().find_class(mod_name, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ModuleNotFoundError: No module named 'dill'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "F:\flux\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\impact_subpack\impact\subcore.py", line 20, in load_yolo return YOLO(model_path) ^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\ultralytics\models\yolo\model.py", line 23, in init super().init(model=model, task=task, verbose=verbose) File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\ultralytics\engine\model.py", line 145, in init self._load(model, task=task) File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\ultralytics\engine\model.py", line 297, in _load self.model, self.ckpt = attempt_load_one_weight(weights) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\ultralytics\nn\tasks.py", line 857, in attempt_load_one_weight ckpt, weight = torch_safe_load(weight) # load ckpt ^^^^^^^^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\ultralytics\nn\tasks.py", line 804, in torch_safe_load ckpt = torch.load(file, map_location="cpu") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\ultralytics\utils\patches.py", line 86, in torch_load return _torch_load(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\serialization.py", line 1025, in load return _load(opened_zipfile, ^^^^^^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\serialization.py", line 1446, in _load result = unpickler.load() ^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\serialization.py", line 1439, in find_class return super().find_class(mod_name, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ModuleNotFoundError: No module named 'dill'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\ultralytics\nn\tasks.py", line 784, in torch_safe_load ckpt = torch.load(file, map_location="cpu") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\ultralytics\utils\patches.py", line 86, in torch_load return _torch_load(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\serialization.py", line 1025, in load return _load(opened_zipfile, ^^^^^^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\serialization.py", line 1446, in _load result = unpickler.load() ^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\serialization.py", line 1439, in find_class return super().find_class(mod_name, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ModuleNotFoundError: No module named 'dill'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "F:\flux\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 "F:\flux\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 "F:\flux\ComfyUI_windows_portable\ComfyUI\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "F:\flux\ComfyUI_windows_portable\ComfyUI\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(*inputs)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\impact_subpack\impact\subpack_nodes.py", line 30, in doit model = subcore.load_yolo(model_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\impact_subpack\impact\subcore.py", line 24, in load_yolo return YOLO(model_path) ^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\ultralytics\models\yolo\model.py", line 23, in init super().init(model=model, task=task, verbose=verbose) File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\ultralytics\engine\model.py", line 145, in init self._load(model, task=task) File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\ultralytics\engine\model.py", line 297, in _load self.model, self.ckpt = attempt_load_one_weight(weights) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\ultralytics\nn\tasks.py", line 857, in attempt_load_one_weight ckpt, weight = torch_safe_load(weight) # load ckpt ^^^^^^^^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\ultralytics\nn\tasks.py", line 804, in torch_safe_load ckpt = torch.load(file, map_location="cpu") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\ultralytics\utils\patches.py", line 86, in torch_load return _torch_load(args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\serialization.py", line 1025, in load return _load(opened_zipfile, ^^^^^^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\serialization.py", line 1446, in _load result = unpickler.load() ^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\serialization.py", line 1439, in find_class return super().find_class(mod_name, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ModuleNotFoundError: No module named 'dill'
2024-09-06 19:33:07,112 - root - INFO - Prompt executed in 5.11 seconds 2024-09-06 19:38:31,394 - root - INFO - got prompt 2024-09-06 19:38:36,760 - root - ERROR - !!! Exception during processing !!! No module named 'dill' 2024-09-06 19:38:36,762 - root - ERROR - Traceback (most recent call last): File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\ultralytics\nn\tasks.py", line 784, in torch_safe_load ckpt = torch.load(file, map_location="cpu") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\ultralytics\utils\patches.py", line 86, in torch_load return _torch_load(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\serialization.py", line 1025, in load return _load(opened_zipfile, ^^^^^^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\serialization.py", line 1446, in _load result = unpickler.load() ^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\serialization.py", line 1439, in find_class return super().find_class(mod_name, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ModuleNotFoundError: No module named 'dill'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "F:\flux\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\impact_subpack\impact\subcore.py", line 20, in load_yolo return YOLO(model_path) ^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\ultralytics\models\yolo\model.py", line 23, in init super().init(model=model, task=task, verbose=verbose) File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\ultralytics\engine\model.py", line 145, in init self._load(model, task=task) File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\ultralytics\engine\model.py", line 297, in _load self.model, self.ckpt = attempt_load_one_weight(weights) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\ultralytics\nn\tasks.py", line 857, in attempt_load_one_weight ckpt, weight = torch_safe_load(weight) # load ckpt ^^^^^^^^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\ultralytics\nn\tasks.py", line 804, in torch_safe_load ckpt = torch.load(file, map_location="cpu") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\ultralytics\utils\patches.py", line 86, in torch_load return _torch_load(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\serialization.py", line 1025, in load return _load(opened_zipfile, ^^^^^^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\serialization.py", line 1446, in _load result = unpickler.load() ^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\serialization.py", line 1439, in find_class return super().find_class(mod_name, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ModuleNotFoundError: No module named 'dill'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\ultralytics\nn\tasks.py", line 784, in torch_safe_load ckpt = torch.load(file, map_location="cpu") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\ultralytics\utils\patches.py", line 86, in torch_load return _torch_load(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\serialization.py", line 1025, in load return _load(opened_zipfile, ^^^^^^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\serialization.py", line 1446, in _load result = unpickler.load() ^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\serialization.py", line 1439, in find_class return super().find_class(mod_name, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ModuleNotFoundError: No module named 'dill'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "F:\flux\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 "F:\flux\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 "F:\flux\ComfyUI_windows_portable\ComfyUI\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "F:\flux\ComfyUI_windows_portable\ComfyUI\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(*inputs)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\impact_subpack\impact\subpack_nodes.py", line 30, in doit model = subcore.load_yolo(model_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\impact_subpack\impact\subcore.py", line 24, in load_yolo return YOLO(model_path) ^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\ultralytics\models\yolo\model.py", line 23, in init super().init(model=model, task=task, verbose=verbose) File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\ultralytics\engine\model.py", line 145, in init self._load(model, task=task) File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\ultralytics\engine\model.py", line 297, in _load self.model, self.ckpt = attempt_load_one_weight(weights) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\ultralytics\nn\tasks.py", line 857, in attempt_load_one_weight ckpt, weight = torch_safe_load(weight) # load ckpt ^^^^^^^^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\ultralytics\nn\tasks.py", line 804, in torch_safe_load ckpt = torch.load(file, map_location="cpu") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\ultralytics\utils\patches.py", line 86, in torch_load return _torch_load(args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\serialization.py", line 1025, in load return _load(opened_zipfile, ^^^^^^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\serialization.py", line 1446, in _load result = unpickler.load() ^^^^^^^^^^^^^^^^ File "F:\flux\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\serialization.py", line 1439, in find_class return super().find_class(mod_name, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ModuleNotFoundError: No module named 'dill'
2024-09-06 19:38:36,764 - root - INFO - Prompt executed in 5.36 seconds
Workflow too large. Please manually upload the workflow from local file system.