yoyo-nb / Thin-Plate-Spline-Motion-Model

[CVPR 2022] Thin-Plate Spline Motion Model for Image Animation.
MIT License
3.44k stars 558 forks source link

NotImplementedError: A UTF-8 locale is required. Got ANSI_X3.4-1968 #60

Open ryderparedes opened 1 year ago

ryderparedes commented 1 year ago

Sometimes I get this issue when running step 3 or 4. Why is this happening and how can I fix this?

KrickyKiki commented 1 year ago

This resolved it for me:

import locale
locale.getpreferredencoding = lambda: "UTF-8"

Solution from this issue