-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
Inpainting error #84
Comments
Just to be sure...you did actually extract the folder called unzip_me and aren't just running it from within somehow, right? |
yes ii try but give me this log again 2024-04-16 15:15:58.391 | INFO | pcleaner.gui.launcher:launch:65 -
2024-04-16 15:16:02.413 | INFO | pcleaner.gui.launcher:launch:79 - Using locale en_US.
File "pcleaner\gui\mainwindow_driver.py", line 1303, in generate_output File "pcleaner\gui\processing.py", line 538, in generate_output File "pcleaner\inpainting.py", line 23, in init File "simple_lama_inpainting\models\model.py", line 29, in init File "torch\jit_serialization.py", line 159, in load RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory
File "pcleaner\gui\image_details_driver.py", line 613, in generate_output File "pcleaner\gui\processing.py", line 538, in generate_output File "pcleaner\inpainting.py", line 23, in init File "simple_lama_inpainting\models\model.py", line 29, in init File "torch\jit_serialization.py", line 159, in load RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory |
I'll try to replicate that issue to maybe figure out the root cause. It might even be an issue in the torch project. |
hi when use inpainting give me this error
2024-04-10 16:06:19.404 | INFO | pcleaner.gui.launcher:launch:65 -
Program: Panel Cleaner 2.6.1
Executing from: D:\mega\PanelCleaner-Windows-unzip_me_internal\pcleaner\gui\launcher.pyc
Log file: C:\Users\aaa13\AppData\Roaming\pcleaner\cache\pcleaner.log
Config file: C:\Users\aaa13\AppData\Roaming\pcleaner\pcleanerconfig.ini
Cache directory: C:\Users\aaa13\AppData\Roaming\pcleaner\cache
Operating System: Windows 10
Machine: AMD64
Python Version: 3.11.8 (tags/v3.11.8:db85d51, Feb 6 2024, 22:03:32) [MSC v.1937 64 bit (AMD64)]
PySide (Qt) Version: 6.6.2
Available Qt Themes: windowsvista, Windows, Fusion
System locale: en_US
CPU Cores: 4
GPU: None (CUDA not available)
2024-04-10 16:06:19.793 | INFO | pcleaner.gui.launcher:launch:79 - Using locale en_US.
2024-04-10 16:06:19.863 | DEBUG | pcleaner.gui.launcher:launch:88 - Loaded built-in Qt translations for en_US.
2024-04-10 16:06:19.866 | DEBUG | pcleaner.gui.launcher:launch:96 - Loaded built-in Qt base translations for en_US.
2024-04-10 16:06:19.867 | DEBUG | pcleaner.gui.launcher:launch:106 - Loaded App translations for en_US.
2024-04-10 16:06:19.909 | WARNING | pcleaner.gui.image_tab:update_tabs:122 - Updating tabs with step None.
2024-04-10 16:06:22.899 | DEBUG | pcleaner.gui.mainwindow_driver:ensure_models_downloaded:333 - Text detector model already downloaded.
2024-04-10 16:06:22.901 | DEBUG | pcleaner.gui.mainwindow_driver:initialize_ui:196 - Purging missing profiles.
2024-04-10 16:06:22.902 | INFO | pcleaner.gui.mainwindow_driver:initialize_profiles:831 - Found profiles: [('Default', None)]
2024-04-10 16:06:22.904 | DEBUG | pcleaner.config:load_profile:1107 - Loading profile None...
2024-04-10 16:06:22.904 | DEBUG | pcleaner.config:load_profile:1114 - Loading builtin default profile
2024-04-10 16:06:22.980 | DEBUG | pcleaner.gui.mainwindow_driver:load_current_profile:989 - Loading current profile.
2024-04-10 16:06:22.981 | DEBUG | pcleaner.gui.profile_parser:set_profile_values:412 - Setting profile values
2024-04-10 16:06:22.992 | DEBUG | pcleaner.gui.mainwindow_driver:initialize_analytics_view:598 - Loading included font from D:\mega\PanelCleaner-Windows-unzip_me_internal\pcleaner\data\NotoMono-Regular.ttf
2024-04-10 16:06:22.995 | DEBUG | pcleaner.gui.mainwindow_driver:initialize_analytics_view:601 - Loaded included font
2024-04-10 16:06:23.008 | DEBUG | pcleaner.gui.mainwindow_driver:save_default_palette:130 - Placeholder color: #000000
2024-04-10 16:06:23.009 | INFO | pcleaner.gui.mainwindow_driver:set_theme:156 - Using theme: breeze-dark
2024-04-10 16:06:23.097 | DEBUG | pcleaner.gui.file_table:changeEvent:141 - Restoring last known good header widths: [100, 100, 100, 100, 100, 100, 100]
2024-04-10 16:06:23.098 | DEBUG | pcleaner.gui.file_table:changeEvent:141 - Restoring last known good header widths: [100, 100, 100, 100, 100, 100, 100]
2024-04-10 16:06:23.100 | INFO | pcleaner.gui.mainwindow_driver:set_theme:170 - Theme is dark: True
2024-04-10 16:06:23.280 | DEBUG | pcleaner.gui.mainwindow_driver:post_init:384 - Char width: 6, columns: 74, required width: 444
2024-04-10 16:06:23.282 | DEBUG | pcleaner.gui.mainwindow_driver:post_init:415 - Splitter sizes: [400, 657, 460]
2024-04-10 16:06:23.284 | DEBUG | pcleaner.gui.mainwindow_driver:start_initialization_worker:531 - Worker Thread cleaning cache
2024-04-10 16:06:23.284 | DEBUG | pcleaner.gui.mainwindow_driver:start_initialization_worker:538 - Worker Thread loading OCR model.
2024-04-10 16:06:23.289 | INFO | manga_ocr.ocr:init:13 - Loading OCR model from kha-white/manga-ocr-base
2024-04-10 16:06:29.138 | DEBUG | pcleaner.gui.mainwindow_driver:open_about:718 - Opening about dialog.
2024-04-10 16:06:29.847 | INFO | manga_ocr.ocr:init:25 - Using CPU
2024-04-10 16:06:31.272 | INFO | manga_ocr.ocr:init:32 - OCR ready
2024-04-10 16:06:31.272 | INFO | pcleaner.gui.mainwindow_driver:load_ocr_model:553 - Loaded OCR model (7.98s)
2024-04-10 16:06:38.327 | DEBUG | pcleaner.gui.mainwindow_driver:apply_profile:1077 - Applying profile.
2024-04-10 16:06:51.989 | DEBUG | pcleaner.gui.file_table:handleDrop:196 - Dropped D:/edit/kuro neko/A Mediocre Senior Brother/1.jpg
2024-04-10 16:06:51.990 | DEBUG | pcleaner.gui.file_table:add_file:245 - Requesting to add "D:\edit\kuro neko\A Mediocre Senior Brother\1.jpg"
2024-04-10 16:06:51.991 | DEBUG | pcleaner.gui.file_table:repopulate_table:302 - Repopulating table
2024-04-10 16:06:51.994 | INFO | pcleaner.gui.file_table:lazy_load_images:618 - Dispatching image loading workers
2024-04-10 16:06:51.995 | DEBUG | pcleaner.gui.file_table:lazy_load_images:624 - Worker Thread loading image D:\edit\kuro neko\A Mediocre Senior Brother\1.jpg
2024-04-10 16:06:53.503 | DEBUG | pcleaner.gui.image_details_driver:init:121 - Opening details tab for D:\edit\kuro neko\A Mediocre Senior Brother\1.jpg
2024-04-10 16:06:53.527 | DEBUG | pcleaner.gui.image_details_driver:init_sidebar:340 - Setting scroll area width to 300
2024-04-10 16:06:53.528 | WARNING | pcleaner.gui.image_details_driver:load_image_thumbnails:358 - Reloading images
2024-04-10 16:06:53.544 | WARNING | pcleaner.gui.image_tab:update_tabs:122 - Updating tabs with step None.
2024-04-10 16:06:53.545 | WARNING | pcleaner.gui.image_details_driver:load_image_thumbnails:358 - Reloading images
2024-04-10 16:06:53.547 | INFO | pcleaner.gui.processing:generate_output:175 - Running text detection AI model for 1 images...
2024-04-10 16:06:54.296 | INFO | pcleaner.gui.processing:generate_output:599 - Finished processing 1 images.
2024-04-10 16:06:54.296 | WARNING | pcleaner.gui.image_tab:update_tabs:122 - Updating tabs with step 1.
2024-04-10 16:06:54.296 | WARNING | pcleaner.gui.image_details_driver:load_image_thumbnails:358 - Reloading images
2024-04-10 16:06:54.298 | DEBUG | pcleaner.gui.image_details_driver:generate_output:609 - Output 1 is unchanged. Worker will not run.
2024-04-10 16:06:54.378 | WARNING | pcleaner.gui.image_tab:update_tabs:122 - Updating tabs with step 6.
2024-04-10 16:06:54.378 | WARNING | pcleaner.gui.image_details_driver:load_image_thumbnails:358 - Reloading images
2024-04-10 16:06:54.378 | WARNING | pcleaner.gui.image_details_driver:load_image_thumbnails:358 - Reloading images
2024-04-10 16:06:54.379 | INFO | pcleaner.gui.image_details_driver:output_worker_result:625 - Output worker finished.
2024-04-10 16:06:54.380 | WARNING | pcleaner.gui.image_details_driver:load_image_thumbnails:358 - Reloading images
2024-04-10 16:06:54.380 | INFO | pcleaner.gui.image_details_driver:output_worker_result:625 - Output worker finished.
2024-04-10 16:06:55.788 | INFO | pcleaner.gui.processing:generate_output:175 - Running text detection AI model for 1 images...
2024-04-10 16:07:07.291 | DEBUG | pcleaner.ctd_interface:process_image:185 - Saving json file to C:\Users\aaa13\AppData\Roaming\pcleaner\cache\cleaner\64df7109-365a-4307-827d-a28447d9bbe6_1#raw.json
2024-04-10 16:07:07.427 | INFO | pcleaner.gui.processing:generate_output:225 - Running preprocessing for 1 images...
2024-04-10 16:07:07.427 | WARNING | pcleaner.gui.image_tab:update_tabs:122 - Updating tabs with step 1.
2024-04-10 16:07:07.428 | DEBUG | pcleaner.preprocessor:prep_json_file:68 - Processing json file: C:\Users\aaa13\AppData\Roaming\pcleaner\cache\cleaner\64df7109-365a-4307-827d-a28447d9bbe6_1#raw.json
2024-04-10 16:07:07.428 | WARNING | pcleaner.gui.image_details_driver:load_image_thumbnails:358 - Reloading images
2024-04-10 16:07:07.538 | DEBUG | pcleaner.structures:visualize:277 - Loading included font from D:\mega\PanelCleaner-Windows-unzip_me_internal\pcleaner\data\LiberationSans-Regular.ttf
2024-04-10 16:07:07.949 | DEBUG | pcleaner.structures:visualize:277 - Loading included font from D:\mega\PanelCleaner-Windows-unzip_me_internal\pcleaner\data\LiberationSans-Regular.ttf
2024-04-10 16:07:08.353 | INFO | pcleaner.gui.processing:generate_output:287 - Running masker for 1 images...
2024-04-10 16:07:08.353 | WARNING | pcleaner.gui.image_tab:update_tabs:122 - Updating tabs with step 2.
2024-04-10 16:07:08.354 | WARNING | pcleaner.gui.image_details_driver:load_image_thumbnails:358 - Reloading images
2024-04-10 16:07:08.443 | INFO | pcleaner.gui.mainwindow_driver:show_current_progress:1475 - Showing ocr analytics...
2024-04-10 16:07:11.485 | DEBUG | pcleaner.image_ops:visualize_standard_deviations:211 - Loading included font from D:\mega\PanelCleaner-Windows-unzip_me_internal\pcleaner\data\LiberationSans-Regular.ttf
2024-04-10 16:07:12.382 | INFO | pcleaner.gui.processing:generate_output:401 - Running denoiser for 1 images...
2024-04-10 16:07:12.383 | WARNING | pcleaner.gui.image_tab:update_tabs:122 - Updating tabs with step 3.
2024-04-10 16:07:12.383 | WARNING | pcleaner.gui.image_details_driver:load_image_thumbnails:358 - Reloading images
2024-04-10 16:07:12.570 | INFO | pcleaner.gui.mainwindow_driver:show_current_progress:1484 - Showing masker analytics...
2024-04-10 16:07:14.799 | INFO | pcleaner.gui.processing:generate_output:500 - Running inpainting for 1 images...
2024-04-10 16:07:14.799 | WARNING | pcleaner.gui.image_tab:update_tabs:122 - Updating tabs with step 4.
2024-04-10 16:07:14.800 | WARNING | pcleaner.gui.image_details_driver:load_image_thumbnails:358 - Reloading images
2024-04-10 16:07:14.861 | INFO | pcleaner.gui.mainwindow_driver:show_current_progress:1494 - Showing denoiser analytics...
2024-04-10 16:07:15.509 | CRITICAL | pcleaner.gui.image_details_driver:output_worker_error:629 - Output generation failed:
Traceback (most recent call last):
File "pcleaner\gui\image_details_driver.py", line 613, in generate_output
File "pcleaner\gui\processing.py", line 538, in generate_output
File "pcleaner\inpainting.py", line 23, in init
File "simple_lama_inpainting\models\model.py", line 29, in init
File "torch\jit_serialization.py", line 159, in load
cpp_module = torch._C.import_ir_module(cu, str(f), map_location, _extra_files, _restore_shapes) # type: ignore[call-arg]
│ │ │ │ │ │ │ └ False
│ │ │ │ │ │ └ {}
│ │ │ │ │ └ device(type='cpu')
│ │ │ │ └ 'C:\Users\aaa13\AppData\Roaming\pcleaner\cache\model\big-lama.pt'
│ │ │ └ <torch.jit.CompilationUnit object at 0x000002B18B280B70>
│ │ └ <built-in method import_ir_module of PyCapsule object at 0x000002B1CEFB0450>
│ └ <module 'torch._C' from 'D:\mega\PanelCleaner-Windows-unzip_me\_internal\torch\_C.cp311-win_amd64.pyd'>
└ <module 'torch' from 'D:\mega\PanelCleaner-Windows-unzip_me\_internal\torch\init.pyc'>
RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory
The text was updated successfully, but these errors were encountered: