RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory
(draggan) PS D:> python -m draggan.web
C:\Users\sam.conda\envs\draggan\lib\site-packages\torch\utils\cpp_extension.py:358: UserWarning: Error checking compiler version for cl: [WinError 2]
warnings.warn(f'Error checking compiler version for {compiler}: {error}')
C:\Users\sam.conda\envs\draggan\lib\site-packages\draggan\stylegan2\op\fused_act.py:23: UserWarning: (This is not error) Switch to native implementation
f"(This is not error) Switch to native implementation"
C:\Users\sam.conda\envs\draggan\lib\site-packages\draggan\stylegan2\op\upfirdn2d.py:22: UserWarning: (This is not error) Switch to native implementation
f"(This is not error) Switch to native implementation"
Traceback (most recent call last):
File "C:\Users\sam.conda\envs\draggan\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "C:\Users\sam.conda\envs\draggan\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\sam.conda\envs\draggan\lib\site-packages\draggan\web.py", line 346, in
follow the PyPI install instructions,get runtime error
Your checkpoints are broken.
Use this command to obtain the directory where the checkpoints saved.
python -c "import draggan; print(draggan.home)"
For example, here is my checkpoint.
/home/laizeqiang/draggan/checkpoints
Then, remove it and run the program again would download the checkpoints again.