simswap-inference-pytorch icon indicating copy to clipboard operation
simswap-inference-pytorch copied to clipboard

How to do a batch inference?

Open xuyingzhongguo opened this issue 1 year ago • 0 comments

For example, the size of image here (It is not directing correctly. Should be on line 186, https://github.com/mike9251/simswap-inference-pytorch/blob/main/src/simswap.py#:~:text=detection%3A%20Detection%20%3D%20self.face_detector(image) ) is [4,3,256,256], how could we adapt the code?

Thank you in advance.

xuyingzhongguo avatar Apr 18 '23 10:04 xuyingzhongguo