iPERDance / iPERCore

Liquid Warping GAN with Attention: A Unified Framework for Human Image Synthesis
https://iperdance.github.io/work/impersonator-plus-plus.html
Apache License 2.0
2.42k stars 311 forks source link

DLL load failed while importing _flapack #88

Closed ookii-tsuki closed 3 years ago

ookii-tsuki commented 3 years ago

I'm getting these errors and I don't know how to fix them...


  File "e:\projects\iperdance\ipercore\venv\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 493, in exec_module
  File "iPERCore\services\run_imitator.py", line 5, in <module>
  File "e:\projects\iperdance\ipercore\venv\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 493, in exec_module
  File "iPERCore\services\preprocess.py", line 7, in <module>
  File "e:\projects\iperdance\ipercore\venv\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 493, in exec_module
  File "iPERCore\tools\human_digitalizer\deformers\__init__.py", line 5, in <module>
  File "e:\projects\iperdance\ipercore\venv\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 493, in exec_module
  File "iPERCore\tools\human_digitalizer\deformers\clothlinks_deformer.py", line 7, in <module>
  File "e:\projects\iperdance\ipercore\venv\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 493, in exec_module
  File "iPERCore\tools\human_digitalizer\deformers\link_utils.py", line 11, in <module>
  File "e:\projects\iperdance\ipercore\venv\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 493, in exec_module
  File "scipy\spatial\__init__.py", line 101, in <module>
  File "e:\projects\iperdance\ipercore\venv\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 493, in exec_module
  File "scipy\spatial\_procrustes.py", line 9, in <module>
  File "e:\projects\iperdance\ipercore\venv\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 493, in exec_module
  File "scipy\linalg\__init__.py", line 194, in <module>
  File "e:\projects\iperdance\ipercore\venv\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 493, in exec_module
  File "scipy\linalg\misc.py", line 4, in <module>
  File "e:\projects\iperdance\ipercore\venv\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 493, in exec_module
  File "scipy\linalg\lapack.py", line 783, in <module>
ImportError: DLL load failed while importing _flapack: The paging file is too small for this operation to complete.
[2880] Failed to execute script motion_imitate
Traceback (most recent call last):
  File "motion_imitate.py", line 10, in <module>
  File "e:\projects\iperdance\ipercore\venv\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 493, in exec_module
  File "iPERCore\services\run_imitator.py", line 5, in <module>
  File "e:\projects\iperdance\ipercore\venv\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 493, in exec_module
  File "iPERCore\services\preprocess.py", line 7, in <module>
  File "e:\projects\iperdance\ipercore\venv\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 493, in exec_module
  File "iPERCore\tools\human_digitalizer\deformers\__init__.py", line 5, in <module>
  File "e:\projects\iperdance\ipercore\venv\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 493, in exec_module
  File "iPERCore\tools\human_digitalizer\deformers\clothlinks_deformer.py", line 7, in <module>
  File "e:\projects\iperdance\ipercore\venv\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 493, in exec_module
  File "iPERCore\tools\human_digitalizer\deformers\link_utils.py", line 11, in <module>
  File "e:\projects\iperdance\ipercore\venv\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 493, in exec_module
  File "scipy\__init__.py", line 159, in <module>
  File "e:\projects\iperdance\ipercore\venv\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 493, in exec_module
  File "scipy\fft\__init__.py", line 79, in <module>
  File "e:\projects\iperdance\ipercore\venv\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 493, in exec_module
  File "scipy\fft\_helper.py", line 3, in <module>
  File "e:\projects\iperdance\ipercore\venv\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 493, in exec_module
  File "scipy\fft\_pocketfft\__init__.py", line 3, in <module>
  File "e:\projects\iperdance\ipercore\venv\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 493, in exec_module
  File "scipy\fft\_pocketfft\basic.py", line 6, in <module>
ImportError: DLL load failed while importing pypocketfft: The paging file is too small for this operation to complete.
[14680] Failed to execute script motion_imitate
0it [00:02, ?it/s]
Process PreprocessConsumer_0:
Traceback (most recent call last):
  File "iPERCore\services\preprocess.py", line 52, in run
  File "iPERCore\tools\processors\base_preprocessor.py", line 88, in execute
  File "iPERCore\tools\processors\base_preprocessor.py", line 197, in _execute_crop_img
  File "tqdm\std.py", line 1167, in __iter__
  File "concurrent\futures\process.py", line 484, in _chain_from_iterable_of_lists
  File "concurrent\futures\_base.py", line 611, in result_iterator
  File "concurrent\futures\_base.py", line 439, in result
  File "concurrent\futures\_base.py", line 388, in __get_result
concurrent.futures.process.BrokenProcessPool: A process in the process pool was terminated abruptly while the future was running or pending.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "multiprocessing\process.py", line 315, in _bootstrap
  File "iPERCore\services\preprocess.py", line 80, in run
TypeError: catching classes that do not inherit from BaseException is not allowed
                Pre-processing: digital deformation start...
  0%|                                                                                                                                | 0/1 [00:01<?, ?it/s]
                Pre-processing: digital deformation completed...
the current number of sources are 1, while the pre-defined number of sources are 1.
        Pre-processing: failed..```
Slithersy commented 3 years ago

My guess is either you wrote the code wrong (script to start process) or your image is too small (try 512 x 512). Just a guess though, something similar happened to me when I wrote the code wrong. I might be able to help if you send the script you ran.

ookii-tsuki commented 3 years ago

I don't remember what I did exactly but I rewrote the command exactly like in the usage page with some modifications and it worked, thanks anyway.

Slithersy commented 3 years ago

I don't remember what I did exactly but I rewrote the command exactly like in the usage page with some modifications and it worked, thanks anyway.

For some reason it sometimes decides not to work for no reason, try not to get frustrated. Just run it over and over again, with maybe even different folder names, and it might just work, that's what happens to me.