Qiulin-W / SAFA

Official Pytorch Implementation of 3DV2021 paper: SAFA: Structure Aware Face Animation.
Other
177 stars 29 forks source link

Avoid deprecation error in the use of imageio.imread #20

Open rlaboiss opened 1 year ago

rlaboiss commented 1 year ago

As of imageIO 2.16.0 (Feb22) there are now a v2 and v3 namespaces in addition to the top-level namespace. In order to avoid a deprecation warning, the call to imageio.imread has been replaced by imageio.v2.imread.

The version of imageio in requirements.txt has also been changed to the most recent version of the module (2.22.2).