Replies: 2 comments
-
This is what GPT says The error message in your screenshot indicates that the source_face object is None. Specifically, it says: csharp Possible causes for this issue: Add checks: Before accessing normed_embedding, you can add a conditional statement to check if source_face is None: python By troubleshooting how source_face is being initialized and tracing the data flow, you should be able to fix this issue. |
Beta Was this translation helpful? Give feedback.
-
latent = source_face.normed_embedding.reshape((1,-1))
AttributeError: 'NoneType' object has no attribute 'normed_embedding'
Beta Was this translation helpful? Give feedback.
All reactions