practical-pytorch
practical-pytorch copied to clipboard
unicode problem.
i have get the unicode problem: TypeError: normalize() argument 2 must be unicode, not str and i have solved this problem as this: in the data.py
-- coding: utf-8 --
from io import open open(filename,encoding='utf-8') in the train.py add from future import unicode_literals, print_function, division
Thanks.