Open DNucX opened 11 months ago
Hey @DNucX, Looking at the error, I suggest that you should check the format of the image and mask files. Image should be "RGB - 3 channel", and the mask should be "Grayscale - 1 channel".
Hi @enesmsahin ,
Thank you for writing.
It turns out the mask image was not grayscale. I converted it to grayscale and ran the command again. It worked, but this time I get the following error:
RuntimeError: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx
My server does not have a NVIDIA GPU. Is there anyway to run the command using the CPU?
Thank you!
Hi @enesmsahin ,
Thank you for writing.
It turns out the mask image was not grayscale. I converted it to grayscale and ran the command again. It worked, but this time I get the following error:
RuntimeError: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx
My server does not have a NVIDIA GPU. Is there anyway to run the command using the CPU?
Thank you!
Edit the simple_lama_inpainting/model.py file..
self.model = torch.jit.load(model_path, map_location='cpu')
it works smoothly for cpu..
Hello,
Upon attempting to run simple lama, I get the following error(s):
I have installed all the necessary requirements and dependencies, not unless I've missed some. Any help on this would be greatly appreciated! Thank you!