Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always error when video finishing compile image, Hydra. #32

Open
poepoeng opened this issue May 6, 2023 · 1 comment
Open

Always error when video finishing compile image, Hydra. #32

poepoeng opened this issue May 6, 2023 · 1 comment

Comments

@poepoeng
Copy link

poepoeng commented May 6, 2023

when finishing image compile to video, always got this error.

`
Error executing job with overrides: []
Traceback (most recent call last):
File "/ironman/simswap-inference-pytorch/app.py", line 70, in main
app.run()
File "/ironman/simswap-inference-pytorch/app.py", line 60, in run
output = self.model(att_img)
File "/ironman/simswap-inference-pytorch/src/simswap.py", line 230, in call
align_att_imgs, att_transforms, att_detection_score = self.run_detect_align(
File "/ironman/simswap-inference-pytorch/src/simswap.py", line 186, in run_detect_align
detection: Detection = self.face_detector(image)
File "/ironman/simswap-inference-pytorch/src/FaceDetector/face_detector.py", line 31, in call
bboxes, kpss = self.handler.detect(
File "/usr/local/lib/python3.9/dist-packages/insightface/model_zoo/scrfd.py", line 204, in detect
im_ratio = float(img.shape[0]) / img.shape[1]
AttributeError: 'NoneType' object has no attribute 'shape'

Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.
`

but when i change to another video, sometimes its work. please fix this.

@Cacha21
Copy link

Cacha21 commented Nov 17, 2023

I'm having the same issue. Did you find a fix ??

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

No branches or pull requests

2 participants