Skip to content

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xed in position 65990: invalid continuation byte #1359

@wangze586

Description

@wangze586

[16196:MainThread](2022-11-15 16:22:16,229) INFO - qlib.workflow - [exp.py:260] - Experiment 1 starts running ...
[16196:MainThread](2022-11-15 16:22:16,437) INFO - qlib.workflow - [recorder.py:339] - Recorder 15022eccf60d41818557f6f1ccc4d3ad starts running under Experiment 1 ...
warning: in the working copy of '特征工程/alpha101-new-master/Alpha101.py', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '特征工程/alpha_test/alpha001.ipynb', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '特征工程/alpha_test/alpha002.ipynb', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '特征工程/alpha_test/test.ipynb', LF will be replaced by CRLF the next time Git touches it
[16196:MainThread](2022-11-15 16:22:33,392) ERROR - qlib.workflow - [utils.py:41] - An exception has been raised[UnicodeDecodeError: 'utf-8' codec can't decode byte 0xed in position 65990: invalid continuation byte].
File "c:\Users\wangz\Desktop\量化分析策略\特征工程\alpha_test\test.py", line 428, in
model.fit(ds)
File "C:\Users\wangz\anaconda3\envs\qlib\lib\site-packages\qlib\contrib\model\gbdt.py", line 90, in fit
R.log_metrics(**{name.replace("@", "_"): m}, step=epoch)
File "C:\Users\wangz\anaconda3\envs\qlib\lib\site-packages\qlib\workflow_init_.py", line 576, in log_metrics
self.get_exp(start=True).get_recorder(start=True).log_metrics(step, **kwargs)
File "C:\Users\wangz\anaconda3\envs\qlib\lib\site-packages\qlib\workflow_init_.py", line 305, in get_exp
return self.exp_manager.get_exp(
File "C:\Users\wangz\anaconda3\envs\qlib\lib\site-packages\qlib\workflow\expm.py", line 180, in get_exp
self.active_experiment.start()
File "C:\Users\wangz\anaconda3\envs\qlib\lib\site-packages\qlib\workflow\exp.py", line 273, in start
self.active_recorder.start_run()
File "C:\Users\wangz\anaconda3\envs\qlib\lib\site-packages\qlib\workflow\recorder.py", line 348, in start_run
self._log_uncommitted_code()
File "C:\Users\wangz\anaconda3\envs\qlib\lib\site-packages\qlib\workflow\recorder.py", line 370, in _log_uncommitted_code
self.client.log_text(self.id, out.decode(), fname) # this behaves same as above
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xed in position 65990: invalid continuation byte
[16196:MainThread](2022-11-15 16:22:33,400) INFO - qlib.timer - [log.py:117] - Time cost: 0.000s | waiting async_log Done

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions