mirror of
https://github.com/TencentARC/GFPGAN.git
synced 2026-02-15 13:54:33 +00:00
FaceRestoreHelper #43
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Roenbaeck on GitHub (Aug 6, 2021).
I get the following error with the latest version:
Removing the
deviceparameter in the call toFaceRestoreHelpersolved my problem. The call in inference_gfpgan_full.py then becomes:@woctezuma commented on GitHub (Aug 6, 2021):
The bug was introduced in this commit:
7f67e12999However, this argument should be supported:
e371b8c3ad/facexlib/utils/face_restoration_helper.py (L46-L57)thanks to this more recent commit:
e371b8c3adSo, I guess it is a simple mismatch of versions.
@xinntao commented on GitHub (Aug 6, 2021):
you need to update the facexlib version to 0.2.0.1
Get Outlook for Androidhttps://aka.ms/AAb9ysg
From: Lars Rönnbäck @.>
Sent: Saturday, August 7, 2021 2:10:44 AM
To: TencentARC/GFPGAN @.>
Cc: Subscribed @.***>
Subject: [TencentARC/GFPGAN] FaceRestoreHelper (#35)
I get the following error with the latest version:
Traceback (most recent call last):
File "inference_gfpgan_full.py", line 132, in
face_helper = FaceRestoreHelper(
TypeError: init() got an unexpected keyword argument 'device'
Removing the device parameter in the call to FaceRestoreHelper solved my problem. The call in inference_gfpgan_full.py then becomes:
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/TencentARC/GFPGAN/issues/35, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEFDHVYJQRPFW4MGWVTG2PDT3QQSJANCNFSM5BWLYIPQ.