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

OSError: [WinError 193] %1 is not a valid Win32 application #7

Open
abhishek7467 opened this issue Apr 2, 2024 · 1 comment
Open

Comments

@abhishek7467
Copy link

PS E:\ZITS Inpainting\ZITS__PlusPlus> python test.py --config configs/config_zitspp.yml --exp_name model_256 --ckpt_resume ckpts/model_256/models/last.ckpt --save_path ./outputs/model_256 --img_dir C:\Users\spx016\Downloads\Testing Image\test8.jpg --mask_dir C:\Users\spx016\virtual_Furniture\maskObj.png --wf_ckpt ckpts/best_lsm_hawp.pth --use_ema --test_size 256 --object_removal
Traceback (most recent call last):
File "E:\ZITS Inpainting\ZITS__PlusPlus\test.py", line 16, in
from trainers.nms_temp import get_nms as get_np_nms
File "E:\ZITS Inpainting\ZITS__PlusPlus\trainers\nms_temp.py", line 15, in
solver = cdll.LoadLibrary("nms/cxx/lib/solve_csa.so")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\spx016\AppData\Local\Programs\Python\Python311\Lib\ctypes_init_.py", line 454, in LoadLibrary
return self.dlltype(name)
^^^^^^^^^^^^^^^^^^^
File "C:\Users\spx016\AppData\Local\Programs\Python\Python311\Lib\ctypes_init
.py", line 376, in init
self._handle = _dlopen(self._name, mode)
^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: [WinError 193] %1 is not a valid Win32 application

@ewrfcas
Copy link
Owner

ewrfcas commented Apr 3, 2024

Sorry, we have not verified the usage of nms in the windows environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants