-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
I am getting errors #29
Comments
my environment : (lama) C:\lama-cleaner>conda list packages in environment at C:\Users\breakmycurse.conda\envs\lama:Name Version Build Channelca-certificates 2022.3.29 haa95532_0 |
Looks like your model is corrupted. Delete |
@Sanster Thank you very much for pin-pointing the error.It seems that the model got corrupted.Everything works perfectly now. It works with cuda with pytorch-gpu as well. I have another problem though.I don't know if this is possible or not. In the UI,to change brush size with a shortcut is assigned to"[" "]" keys. |
C:\lama-cleaner>call conda activate lama
(lama) C:\lama-cleaner>python main.py --device=cpu --gui --gui-size 800 640 --crop-margin 128
Traceback (most recent call last):
File "main.py", line 176, in
main()
File "main.py", line 160, in main
model = LaMa(crop_trigger_size=args.crop_trigger_size,
File "C:\lama-cleaner\lama_cleaner\lama_init_.py", line 38, in init
model = torch.jit.load(model_path, map_location="cpu")
File "C:\Users\breakmycurse.conda\envs\lama\lib\site-packages\torch\jit_serialization.py", line 162, in load
cpp_module = torch._C.import_ir_module(cu, str(f), map_location, _extra_files)
RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory
I tried to install pytorch as well with cuda support.It is giving errors.Couldn't find a way to use the lama-cleaner.
How can I solve this issue?
The text was updated successfully, but these errors were encountered: