How to use this model?
I'm very new to ML and I'm not sure how to use the ckpt file. I downloaded the simple_lama_inpainting module and changed the model path to use lama_large_512px.ckpt but now i get this error
File "c:\Users\minec\Documents\main.py", line 163, in
simple_lama = simple_lama_inpainting.SimpleLama()
File "C:\Users\minec\AppData\Local\Programs\Python\Python310\lib\site-packages\simple_lama_inpainting\models\model.py", line 29, in init
self.model = torch.jit.load(model_path, map_location=device)
File "C:\Users\minec\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\jit_serialization.py", line 163, in load
cpp_module = torch._C.import_ir_module(cu, os.fspath(f), map_location, _extra_files, _restore_shapes) # type: ignore[call-arg]
RuntimeError: PytorchStreamReader failed locating file constants.pkl: file not found
Is there a way to resolve this, or some other way of using the file? Thanks!