mirror of
https://github.com/TencentARC/GFPGAN.git
synced 2026-04-24 23:00:58 +00:00
error: (-215:Assertion failed) !buf.empty() in function 'imdecode_' #238
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 @dongfengxijian on GitHub (Aug 29, 2022).
First I met the error as follow:


Then I add int at ’quality‘ as https://github.com/TencentARC/GFPGAN/issues/93
But I got another error as follow:
@juanluisrosaramos commented on GitHub (Sep 1, 2022):
This is an opencv problem. I downgrade to another version and it trains without problem.
In my case for example i randomly choose pip install opencv-contrib-python==4.1.0.25