tjqansthd / LapDepth-release

Monocular Depth Estimation Using Laplacian Pyramid-Based Depth Residuals

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Could not find a version that satisfies the requirement unichr.

ATTUNE-code opened this issue · comments

commented

Hello,
Excuse me, I want to ask why here can't find this function.I find as a result of this function in pyhton3 have been deleted.
But I change into char also cannot use.
How can I solve this problem?Thank you!
image

Hi, you can replace scenes = [u''.join(unichr(c) for c in h5_file[obj_ref]) for obj_ref in h5_file['sceneTypes'][0]] with
scenes = [u''.join(chr(c[0]) for c in h5_file[obj_ref]) for obj_ref in h5_file['sceneTypes'][0]].
thank you.