DeepFaceLab icon indicating copy to clipboard operation
DeepFaceLab copied to clipboard

Questions about the param used by the face enhancement model

Open zt706 opened this issue 1 year ago • 0 comments

Hello, please advise. What is the function of the following code, and what do 0.2 and 1.0 specifically mean?

    param = np.array([0.2])
    param1 = np.array([1.0])
    ...
    x = self.model.run( [ patch_img[None,...], [param], [param1] ] )[0]

https://github.com/iperov/DeepFaceLab/blob/master/facelib/FaceEnhancer.py#L178C12-L178C12

zt706 avatar Jul 12 '23 04:07 zt706