xinntao / ESRGAN

ECCV18 Workshops - Enhanced SRGAN. Champion PIRM Challenge on Perceptual Super-Resolution. The training codes are in BasicSR.
https://github.com/xinntao/BasicSR
Apache License 2.0
6.04k stars 1.07k forks source link

fail on MacOS(VENTURA) with NDArray > 2**32 #134

Open gugaucb opened 1 year ago

gugaucb commented 1 year ago

python test.py Model path models/RRDB_ESRGAN_x4.pth. Testing... 1 baboon 2 comic 3 macaco1 /AppleInternal/Library/BuildRoots/c651a45f-806e-11ed-a221-7ef33c48bc85/Library/Caches/com.apple.xbs/Sources/MetalPerformanceShaders/MPSCore/Types/MPSNDArray.mm:724: failed assertion[MPSNDArray initWithDevice:descriptor:] Error: total bytes of NDArray > 2**32' ` Similar situation about this issue https://github.com/invoke-ai/InvokeAI/issues/1244.

Someone know to resolve this error?