I am on a M1 MacBook and trying to run the mask tool using the following command:
Code: Select all
python ~/faceswap/tools.py mask -i . -it frames -M bisenet-fp -p missing -b 3 -t 4 -ot combined -L INFO -B
And it throws a bunch of these errors for each file processed:
Code: Select all
loc("mps_resize"("(mpsFileLoc): /AppleInternal/Library/BuildRoots/0032d1ee-80fd-11ee-8227-6aecfccc70fe/Library/Caches/com.apple.xbs/Sources/MetalPerformanceShadersGraph/mpsgraph/MetalPerformanceShadersGraph/Core/Files/MPSGraphUtilities.mm":180:0)): error: 'anec.resize' op Invalid configuration for the following reasons: Error: Invalid tensor format: "fp32"
It seems like the images are being properly masked, but maybe it's dropping the ones where this error is encountered? Is this safe to ignore?