babysor / babysor/MockingBird

python encoder_preprocess.py 运行出错

Open
#716 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
36.9k
Forks
5.2k
PR merge metrics
No merged PRs in 30d

Description

MockingBird-main\encoder\preprocess.py", line 109, in preprocess_speaker
sources_file.write("%s,%s\n" % (out_fname, in_fpath))
UnicodeEncodeError: 'gbk' codec can't encode character '\ufeff' in position 5: illegal multibyte sequence

以上是报错内容 请问一下有人知道怎么解决不

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with MockingBird-main/encoder/preprocess.py at line 109 and reproduce the encoder preprocessing failure in the reported environment. Inspect the write to sources_file and the handling of the reported character; done means preprocessing completes without the UnicodeEncodeError and produces the expected output file.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.