Skip to content

How to solve the problem of changing data sets,This happens in a different data set #8

@liuli996624

Description

@liuli996624

(pytorch) D:\Python\Code\DF-DC\Face X-Ray\Face-X-Ray>python faceBlending.py
0it [02:34, ?it/s]
Traceback (most recent call last):
File "faceBlending.py", line 171, in
main()
File "faceBlending.py", line 74, in main
resultantFace = forge(srcFaceBgr, targetBgrT, blured) # forged face
File "faceBlending.py", line 111, in forge
return (mask * targetRgb + (1 - mask) * srcRgb).astype(np.uint8)
ValueError: operands could not be broadcast together with shapes (134,108,3) (128,106,3)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions