rlkit
rlkit copied to clipboard
UnicodeEncodeError
fd.write(out + '\n')
UnicodeEncodeError: 'gbk' codec can't encode character '\xd6' in position 27: illegal multibyte sequence
Where is this happening?
same issue
File "f:\rl experiment\offline rl\cql\d4rl\rlkit\core\logging.py", line 170, in log
fd.write(out + '\n')
UnicodeEncodeError: 'gbk' codec can't encode character '\xd6' in position 27: illegal multibyte sequence
solution: remove %Z
in
https://github.com/rail-berkeley/rlkit/blob/60bdfcd09f48f73a450da139b2ba7910b8cede53/rlkit/core/logging.py#L179