Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unicode error #25

Open
sevenHsu opened this issue Mar 31, 2018 · 5 comments
Open

unicode error #25

sevenHsu opened this issue Mar 31, 2018 · 5 comments

Comments

@sevenHsu
Copy link

Thanks for your contribution firstly.
I ran train.py on win10 based on pytorch0.3.
Traceback (most recent call last):

**File "train.py", line 15, in

from matlab_cp2tform import get_similarity_transform_for_cv2
File "D:\Program Files\git_repository\sphereface_pytorch\matlab_cp2tform.py", line 167
"""
SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 1266-1267: truncated  \UXXXXXXXX escape**

How to solve this issue?Thank you.

@duanzhibin
Copy link

I meet the same problem, have you solved it? Thanks, if you can share a solution for working around.

@sevenHsu
Copy link
Author

@131Prince Yes,I have solved this problem.I just update my Pytorch to V2.0 before this issue been solved.Maybe you need to check the version of your Pytorch .

@duanzhibin
Copy link

@sevenHsu Thank you at first.But my Pytorch version is 0.3.2,it is the latest vision.

@amjltc295
Copy link

@131Prince I removed all comments starting with '%' (all Matlab codes) and solved the problem.

@hvthaibk
Copy link

Replacing 'X\U' by 'X \ U' solved the problem for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants