Skip to content

Conversation

@hengtuibabai
Copy link

bugfix:
ReHiFace-S\face_restore\gfpgan_onnx_api.py", line 46, in forward
image_in = CVImage(face_image).set_blob(self.input_std, self.input_mean, self.input_size).blob_in(rgb=False)
AttributeError: 'CVImage' object has no attribute 'set_blob'

bugfix: 
ReHiFace-S\face_restore\gfpgan_onnx_api.py", line 46, in forward
    image_in = CVImage(face_image).set_blob(self.input_std, self.input_mean, self.input_size).blob_in(rgb=False)
AttributeError: 'CVImage' object has no attribute 'set_blob'
@QUTGXX
Copy link
Contributor

QUTGXX commented Aug 21, 2024

What's your 'cv2box' version? @hengtuibabai If cv2box='0.4.9', code would work.

bugfix:
input video path is relative path like : "./samples/t.mp4" etc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants