oawiles / X2Face

Pytorch code for ECCV 2018 paper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UnicodeDecodeError

melih-unsal opened this issue · comments

Hi I get an error when I run jupyter notebook

UnicodeDecodeError: 'ascii' codec can't decode byte 0xcd in position 0: ordinal not in range(128)

It seems that the model is trained in python2. You will encounter this problem if you run it with python3.

add param: encoding = 'latin1'

We have updated the code and installation instructions so that you can now use the code with python 3.7 and pytorch 0.4.1 in the 'py37_pytorch_0.4.1' branch, you will need to re-download the models from the project page again.