You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello KJ, I have encountered some issues while running the program. As a newcomer, I am not sure how to solve them and I need help.
ComfyUI Error Report
Error Details
Node ID: 4
Node Type: FluxTrainLoop
Exception Type: zipfile.BadZipFile
Exception Message: Overlapped entries: 'latents_128x96.npy' (possible zip bomb)
Stack Trace
File "F:\ComfyUI\execution.py", line 327, 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:\ComfyUI\execution.py", line 202, 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:\ComfyUI\execution.py", line 174, in _map_node_over_list
process_inputs(input_dict, i)
File "F:\ComfyUI\execution.py", line 163, in process_inputs
results.append(getattr(obj, func)(**inputs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\ComfyUI\custom_nodes\ComfyUI-FluxTrainer\nodes.py", line 905, in train
steps_done = training_loop(
^^^^^^^^^^^^^^
File "F:\ComfyUI\custom_nodes\ComfyUI-FluxTrainer\train_network.py", line 1172, in training_loop
for step, batch in enumerate(skipped_dataloader or train_dataloader):
File "F:\ComfyUI\venv\Lib\site-packages\accelerate\data_loader.py", line 563, in __iter__
next_batch = next(dataloader_iter)
^^^^^^^^^^^^^^^^^^^^^
File "F:\ComfyUI\venv\Lib\site-packages\torch\utils\data\dataloader.py", line 701, in __next__
data = self._next_data()
^^^^^^^^^^^^^^^^^
File "F:\ComfyUI\venv\Lib\site-packages\torch\utils\data\dataloader.py", line 757, in _next_data
data = self._dataset_fetcher.fetch(index) # may raise StopIteration
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\ComfyUI\venv\Lib\site-packages\torch\utils\data\_utils\fetch.py", line 52, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
~~~~~~~~~~~~^^^^^
File "F:\ComfyUI\venv\Lib\site-packages\torch\utils\data\dataset.py", line 350, in __getitem__
return self.datasets[dataset_idx][sample_idx]
~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
File "F:\ComfyUI\custom_nodes\ComfyUI-FluxTrainer\library\train_util.py", line 1505, in __getitem__
self.latents_caching_strategy.load_latents_from_disk(image_info.latents_npz, image_info.bucket_reso)
File "F:\ComfyUI\custom_nodes\ComfyUI-FluxTrainer\library\strategy_flux.py", line 219, in load_latents_from_disk
return self._default_load_latents_from_disk(8, npz_path, bucket_reso) # support multi-resolution
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\ComfyUI\custom_nodes\ComfyUI-FluxTrainer\library\strategy_base.py", line 538, in _default_load_latents_from_disk
latents = npz["latents" + key_reso_suffix]
~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\ComfyUI\venv\Lib\site-packages\numpy\lib\npyio.py", line 251, in __getitem__
bytes = self.zip.open(key)
^^^^^^^^^^^^^^^^^^
File "C:\Users\liangzoey\Miniconda3\Lib\zipfile\__init__.py", line 1652, in open
raise BadZipFile(f"Overlapped entries: {zinfo.orig_filename!r} (possible zip bomb)")
System Information
ComfyUI Version: 0.3.12
Arguments: F:\ComfyUI\main.py --auto-launch --preview-method auto --disable-cuda-malloc --fast
OS: nt
Python Version: 3.12.4 | packaged by Anaconda, Inc. | (main, Jun 18 2024, 15:03:56) [MSC v.1929 64 bit (AMD64)]
Hello KJ, I have encountered some issues while running the program. As a newcomer, I am not sure how to solve them and I need help.
ComfyUI Error Report
Error Details
Stack Trace
System Information
Devices
Logs
Attached Workflow
Please make sure that workflow does not contain any sensitive information such as API keys or passwords.
Additional Context
(Please add any additional context or steps to reproduce the error here)
The text was updated successfully, but these errors were encountered: