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

Inpainting error #84

Open
wolfkingal2000 opened this issue Apr 10, 2024 · 3 comments
Open

Inpainting error #84

wolfkingal2000 opened this issue Apr 10, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@wolfkingal2000
Copy link

hi when use inpainting give me this error

2024-04-10 16:06:19.404 | INFO | pcleaner.gui.launcher:launch:65 -

  • Program Information -
    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
  • System Information -
    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\worker_thread.py", line 141, in run

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

@wolfkingal2000 wolfkingal2000 added the bug Something isn't working label Apr 10, 2024
@VoxelCubes
Copy link
Owner

Just to be sure...you did actually extract the folder called unzip_me and aren't just running it from within somehow, right?
Because this doesn't make sense to me, not sure what's going on.

@wolfkingal2000
Copy link
Author

Just to be sure...you did actually extract the folder called unzip_me and aren't just running it from within somehow, right? Because this doesn't make sense to me, not sure what's going on.

yes ii try but give me this log again

2024-04-16 15:15:58.391 | INFO | pcleaner.gui.launcher:launch:65 -

  • Program Information -
    Program: Panel Cleaner 2.6.1
    Executing from: D:\mega\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
  • System Information -
    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-16 15:16:02.413 | INFO | pcleaner.gui.launcher:launch:79 - Using locale en_US.
2024-04-16 15:16:03.861 | DEBUG | pcleaner.gui.launcher:launch:88 - Loaded built-in Qt translations for en_US.
2024-04-16 15:16:03.909 | DEBUG | pcleaner.gui.launcher:launch:96 - Loaded built-in Qt base translations for en_US.
2024-04-16 15:16:03.910 | DEBUG | pcleaner.gui.launcher:launch:106 - Loaded App translations for en_US.
2024-04-16 15:16:07.543 | WARNING | pcleaner.gui.image_tab:update_tabs:122 - Updating tabs with step None.
2024-04-16 15:16:14.201 | DEBUG | pcleaner.gui.mainwindow_driver:ensure_models_downloaded:333 - Text detector model already downloaded.
2024-04-16 15:16:14.406 | DEBUG | pcleaner.gui.mainwindow_driver:initialize_ui:196 - Purging missing profiles.
2024-04-16 15:16:14.406 | INFO | pcleaner.gui.mainwindow_driver:initialize_profiles:831 - Found profiles: [('Default', None)]
2024-04-16 15:16:14.456 | DEBUG | pcleaner.config:load_profile:1107 - Loading profile None...
2024-04-16 15:16:14.456 | DEBUG | pcleaner.config:load_profile:1114 - Loading builtin default profile
2024-04-16 15:16:14.670 | DEBUG | pcleaner.gui.mainwindow_driver:load_current_profile:989 - Loading current profile.
2024-04-16 15:16:14.671 | DEBUG | pcleaner.gui.profile_parser:set_profile_values:412 - Setting profile values
2024-04-16 15:16:14.777 | DEBUG | pcleaner.gui.mainwindow_driver:initialize_analytics_view:598 - Loading included font from D:\mega\unzip_me_internal\pcleaner\data\NotoMono-Regular.ttf
2024-04-16 15:16:14.875 | DEBUG | pcleaner.gui.mainwindow_driver:initialize_analytics_view:601 - Loaded included font
2024-04-16 15:16:14.947 | DEBUG | pcleaner.gui.mainwindow_driver:save_default_palette:130 - Placeholder color: #000000
2024-04-16 15:16:14.947 | INFO | pcleaner.gui.mainwindow_driver:set_theme:156 - Using theme: breeze-dark
2024-04-16 15:16:15.188 | DEBUG | pcleaner.gui.file_table:changeEvent:141 - Restoring last known good header widths: [0, 200, 100, 100, 100, 100, 100]
2024-04-16 15:16:15.190 | INFO | pcleaner.gui.mainwindow_driver:set_theme:170 - Theme is dark: True
2024-04-16 15:16:15.657 | DEBUG | pcleaner.gui.mainwindow_driver:post_init:384 - Char width: 6, columns: 74, required width: 444
2024-04-16 15:16:15.663 | DEBUG | pcleaner.gui.mainwindow_driver:post_init:415 - Splitter sizes: [400, 657, 460]
2024-04-16 15:16:15.685 | DEBUG | pcleaner.gui.mainwindow_driver:start_initialization_worker:531 - Worker Thread cleaning cache
2024-04-16 15:16:15.686 | DEBUG | pcleaner.gui.mainwindow_driver:start_initialization_worker:538 - Worker Thread loading OCR model.
2024-04-16 15:16:15.688 | INFO | manga_ocr.ocr:init:13 - Loading OCR model from kha-white/manga-ocr-base
2024-04-16 15:16:27.054 | DEBUG | pcleaner.gui.mainwindow_driver:apply_profile:1077 - Applying profile.
2024-04-16 15:16:31.313 | DEBUG | pcleaner.gui.mainwindow_driver:save_profile:1106 - User canceled profile save.
2024-04-16 15:16:37.780 | DEBUG | pcleaner.gui.gui_utils:open_file:114 - Opening file C:\Users\aaa13\AppData\Roaming\pcleaner\pcleanerconfig.ini
2024-04-16 15:16:40.660 | DEBUG | pcleaner.gui.mainwindow_driver:open_issue_reporter:728 - Opening issue reporter.
2024-04-16 15:16:47.390 | INFO | manga_ocr.ocr:init:25 - Using CPU
2024-04-16 15:16:53.586 | INFO | manga_ocr.ocr:init:32 - OCR ready
2024-04-16 15:16:53.586 | INFO | pcleaner.gui.mainwindow_driver:load_ocr_model:553 - Loaded OCR model (37.90s)
2024-04-16 15:17:15.045 | DEBUG | pcleaner.gui.file_table:handleDrop:196 - Dropped D:/edit/kuro neko/A Mediocre Senior Brother/1.jpg
2024-04-16 15:17:15.047 | DEBUG | pcleaner.gui.file_table:add_file:245 - Requesting to add "D:\edit\kuro neko\A Mediocre Senior Brother\1.jpg"
2024-04-16 15:17:15.048 | DEBUG | pcleaner.gui.file_table:repopulate_table:302 - Repopulating table
2024-04-16 15:17:15.075 | INFO | pcleaner.gui.file_table:lazy_load_images:618 - Dispatching image loading workers
2024-04-16 15:17:15.076 | 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-16 15:17:16.347 | DEBUG | pcleaner.gui.image_details_driver:init:121 - Opening details tab for D:\edit\kuro neko\A Mediocre Senior Brother\1.jpg
2024-04-16 15:17:16.405 | DEBUG | pcleaner.gui.image_details_driver:init_sidebar:340 - Setting scroll area width to 300
2024-04-16 15:17:16.406 | WARNING | pcleaner.gui.image_details_driver:load_image_thumbnails:358 - Reloading images
2024-04-16 15:17:16.422 | WARNING | pcleaner.gui.image_tab:update_tabs:122 - Updating tabs with step None.
2024-04-16 15:17:16.423 | WARNING | pcleaner.gui.image_details_driver:load_image_thumbnails:358 - Reloading images
2024-04-16 15:17:16.425 | INFO | pcleaner.gui.processing:generate_output:175 - Running text detection AI model for 1 images...
2024-04-16 15:17:18.168 | INFO | pcleaner.gui.processing:generate_output:599 - Finished processing 1 images.
2024-04-16 15:17:18.168 | WARNING | pcleaner.gui.image_tab:update_tabs:122 - Updating tabs with step 1.
2024-04-16 15:17:18.169 | WARNING | pcleaner.gui.image_details_driver:load_image_thumbnails:358 - Reloading images
2024-04-16 15:17:18.311 | DEBUG | pcleaner.gui.image_details_driver:generate_output:609 - Output 1 is unchanged. Worker will not run.
2024-04-16 15:17:18.436 | WARNING | pcleaner.gui.image_tab:update_tabs:122 - Updating tabs with step 6.
2024-04-16 15:17:18.436 | WARNING | pcleaner.gui.image_details_driver:load_image_thumbnails:358 - Reloading images
2024-04-16 15:17:18.436 | WARNING | pcleaner.gui.image_details_driver:load_image_thumbnails:358 - Reloading images
2024-04-16 15:17:18.437 | INFO | pcleaner.gui.image_details_driver:output_worker_result:625 - Output worker finished.
2024-04-16 15:17:18.445 | WARNING | pcleaner.gui.image_details_driver:load_image_thumbnails:358 - Reloading images
2024-04-16 15:17:18.446 | INFO | pcleaner.gui.image_details_driver:output_worker_result:625 - Output worker finished.
2024-04-16 15:17:19.834 | INFO | pcleaner.gui.mainwindow_driver:start_cleaning:1263 - Requested outputs: [<Output.inpainted_output: 20>, <Output.inpainted_mask: 19>, <Output.write_output: 21>]
2024-04-16 15:17:19.836 | INFO | pcleaner.gui.processing:generate_output:175 - Running text detection AI model for 1 images...
2024-04-16 15:17:33.818 | DEBUG | pcleaner.ctd_interface:process_image:185 - Saving json file to C:\Users\aaa13\AppData\Roaming\pcleaner\cache\cleaner\48abdf1e-4e5d-45c8-9c95-869f609c24ef_1#raw.json
2024-04-16 15:17:33.985 | INFO | pcleaner.gui.processing:generate_output:225 - Running preprocessing for 1 images...
2024-04-16 15:17:33.985 | WARNING | pcleaner.gui.image_tab:update_tabs:122 - Updating tabs with step 1.
2024-04-16 15:17:33.986 | DEBUG | pcleaner.preprocessor:prep_json_file:68 - Processing json file: C:\Users\aaa13\AppData\Roaming\pcleaner\cache\cleaner\48abdf1e-4e5d-45c8-9c95-869f609c24ef_1#raw.json
2024-04-16 15:17:33.986 | WARNING | pcleaner.gui.image_details_driver:load_image_thumbnails:358 - Reloading images
2024-04-16 15:17:34.245 | INFO | pcleaner.gui.processing:generate_output:287 - Running masker for 1 images...
2024-04-16 15:17:34.402 | WARNING | pcleaner.gui.image_tab:update_tabs:122 - Updating tabs with step 2.
2024-04-16 15:17:34.403 | WARNING | pcleaner.gui.image_details_driver:load_image_thumbnails:358 - Reloading images
2024-04-16 15:17:34.404 | INFO | pcleaner.gui.mainwindow_driver:show_current_progress:1475 - Showing ocr analytics...
2024-04-16 15:17:45.733 | INFO | pcleaner.gui.processing:generate_output:401 - Running denoiser for 1 images...
2024-04-16 15:17:45.734 | WARNING | pcleaner.gui.image_tab:update_tabs:122 - Updating tabs with step 3.
2024-04-16 15:17:45.734 | WARNING | pcleaner.gui.image_details_driver:load_image_thumbnails:358 - Reloading images
2024-04-16 15:17:45.795 | INFO | pcleaner.gui.mainwindow_driver:show_current_progress:1484 - Showing masker analytics...
2024-04-16 15:17:48.256 | INFO | pcleaner.gui.processing:generate_output:500 - Running inpainting for 1 images...
2024-04-16 15:17:48.257 | WARNING | pcleaner.gui.image_tab:update_tabs:122 - Updating tabs with step 4.
2024-04-16 15:17:48.257 | WARNING | pcleaner.gui.image_details_driver:load_image_thumbnails:358 - Reloading images
2024-04-16 15:17:48.348 | INFO | pcleaner.gui.mainwindow_driver:show_current_progress:1494 - Showing denoiser analytics...
2024-04-16 15:17:50.509 | CRITICAL | pcleaner.gui.mainwindow_driver:output_worker_error:1421 - Encountered an error while processing files.
Traceback (most recent call last):

File "pcleaner\gui\worker_thread.py", line 141, in run

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
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 0x000001F988C834B0>
│ │ └ <built-in method import_ir_module of PyCapsule object at 0x000001F9ACD00450>
│ └ <module 'torch._C' from 'D:\mega\unzip_me\_internal\torch\_C.cp311-win_amd64.pyd'>
└ <module 'torch' from 'D:\mega\unzip_me\_internal\torch\init.pyc'>

RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory
2024-04-16 15:18:00.080 | INFO | pcleaner.gui.processing:generate_output:500 - Running inpainting for 1 images...
2024-04-16 15:18:00.088 | CRITICAL | pcleaner.gui.image_details_driver:output_worker_error:629 - Output generation failed:
Traceback (most recent call last):

File "pcleaner\gui\worker_thread.py", line 141, in run

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 0x000001F988C98CB0>
│ │ └ <built-in method import_ir_module of PyCapsule object at 0x000001F9ACD00450>
│ └ <module 'torch._C' from 'D:\mega\unzip_me\_internal\torch\_C.cp311-win_amd64.pyd'>
└ <module 'torch' from 'D:\mega\unzip_me\_internal\torch\init.pyc'>

RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory

@VoxelCubes
Copy link
Owner

I'll try to replicate that issue to maybe figure out the root cause. It might even be an issue in the torch project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants