Insightface: pickle.load failed

Created on 2 Mar 2018  路  1Comment  路  Source: deepinsight/insightface

Hello everyone. when I use the train_softmax.py , the program went wrong when execute this statement pickle.load(open(lfw.bin, 'rb'), the error message is : UnicodeDecodeError: 'ascii' codec can't decode byte 0xff in position 0: ordinal not in range(128). Who knows how to solve this problem? thanks.

Most helpful comment

pickle.load(open(path, 'rb'), encoding='bytes')

>All comments

pickle.load(open(path, 'rb'), encoding='bytes')

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Alloshee picture Alloshee  路  3Comments

yja1 picture yja1  路  4Comments

AnhVPB picture AnhVPB  路  4Comments

nmzszxsl01 picture nmzszxsl01  路  4Comments

gwsbhqt picture gwsbhqt  路  6Comments