IOPaint icon indicating copy to clipboard operation
IOPaint copied to clipboard

Super slow

Open zhiyicai opened this issue 3 years ago • 1 comments

I use mac mini m1 super slow, photo 1920 * 1000 need 5-6 minutes

The command used is lama-cleaner --device=cpu --port=8080

zhiyicai avatar Jul 10 '22 09:07 zhiyicai

I think it's because PyTorch is slow on the M1 chip, here is some test result on my MacBook Pro (16-inch) Intel i9:

  • Original(1920 * 1000): 44s
  • Resize(1280 * 667): 20s
  • Crop(Crop Margin 256): 6s

I suggest trying to use to Crop Strategy in the settings

image

Sanster avatar Jul 12 '22 13:07 Sanster

Hey @Sanster is there any substantial difference in using the Original, Resize and Crop other than the time to get output. Like will there be different or better results if we choose Original compared to Resize or Crop.

m4jor101 avatar Jun 28 '23 04:06 m4jor101

Hey @Sanster is there any substantial difference in using the Original, Resize and Crop other than the time to get output. Like will there be different or better results if we choose Original compared to Resize or Crop.

Most models perform worse at high resolutions, so I recommend using crop in most cases.

Sanster avatar Jun 28 '23 08:06 Sanster

alright!

m4jor101 avatar Jun 28 '23 11:06 m4jor101