Skip to content

gbk error. How can I solve it? #1669

@Krasjet-Yu

Description

@Krasjet-Yu

Traceback (most recent call last):
File "train.py", line 504, in
train(hyp, opt, device, tb_writer, wandb)
File "train.py", line 70, in train
data_dict = yaml.load(f, Loader=yaml.FullLoader) # data dict
File "D:\Anaconda3\envs\pytorch-gpu\lib\site-packages\yaml_init_.py", line 112, in load
loader = Loader(stream)
File "D:\Anaconda3\envs\pytorch-gpu\lib\site-packages\yaml\loader.py", line 24, in init
Reader.init(self, stream)
File "D:\Anaconda3\envs\pytorch-gpu\lib\site-packages\yaml\reader.py", line 85, in init
self.determine_encoding()
File "D:\Anaconda3\envs\pytorch-gpu\lib\site-packages\yaml\reader.py", line 124, in determine_encoding
self.update_raw()
File "D:\Anaconda3\envs\pytorch-gpu\lib\site-packages\yaml\reader.py", line 178, in update_raw
data = self.stream.read(size)
UnicodeDecodeError: 'gbk' codec can't decode byte 0xae in position 429: illegal multibyte sequence

Metadata

Metadata

Assignees

No one assigned

    Labels

    StaleStale and schedule for closing soonbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions