Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Training error #1186

Open
youngDaLee opened this issue Aug 8, 2020 · 0 comments
Open

Training error #1186

youngDaLee opened this issue Aug 8, 2020 · 0 comments

Comments

@youngDaLee
Copy link

Hi, I have a problem when trying to train on a custom dataset.
How can I fix this problem? thanks for any help.

C:\darkflow>python flow --model ./cfg/my-tiny-yolo.cfg --labels ./labels.txt --trainer adam --dataset ../data/dataset/ --annotation ../data/annotations/ --train --summary ./logs --batch 5 --epoch 100 --save 50 --keep 5 --lr 1e-04

Enter training ...

./cfg/my-tiny-yolo.cfg parsing ../data/annotations/
Parsing for ['stairs']
[=> ]7% stairs_1.xmlTraceback (most recent call last):
File "flow", line 6, in
cliHandler(sys.argv)
File "C:\darkflow\darkflow\cli.py", line 33, in cliHandler
print('Enter training ...'); tfnet.train()
File "C:\darkflow\darkflow\net\flow.py", line 39, in train
for i, (x_batch, datum) in enumerate(batches):
File "C:\darkflow\darkflow\net\yolo\data.py", line 97, in shuffle
data = self.parse()
File "C:\darkflow\darkflow\net\yolo\data.py", line 18, in parse
dumps = pascal_voc_clean_xml(ann, meta['labels'], exclusive)
File "C:\darkflow\darkflow\utils\pascal_voc_clean_xml.py", line 37, in pascal_voc_clean_xml
tree=ET.parse(in_file)
File "C:\Users\ldy09\anaconda3\envs\wiset\lib\xml\etree\ElementTree.py", line 1195, in parse
tree.parse(source, parser)
File "C:\Users\ldy09\anaconda3\envs\wiset\lib\xml\etree\ElementTree.py", line 596, in parse
self._root = parser._parse_whole(source)
UnicodeDecodeError: 'cp949' codec can't decode byte 0xeb in position 96: illegal multibyte sequence

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant