raccoon_dataset icon indicating copy to clipboard operation
raccoon_dataset copied to clipboard

run 'generate_tfrecord.py' error

Open JinHao-Lin opened this issue 4 years ago • 3 comments

At the beginning, I followed the video operation. When I tried to train the model myself, I encountered the following problem when executing 'generate_tfrecord.py'

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa8 in position 40: invalid start byte

The video is as follows https://www.youtube.com/watch?v=kq2Gjv_pPe8&list=PLQVvvaa0QuDcNK5GeCQnxYnSSaar2tpku&index=4

Later I tried to use the unmodified source code to execute the same problem

I checked many documents and determined that the CSV encoding type is "UTF-8".

未命名

JinHao-Lin avatar May 25 '20 07:05 JinHao-Lin

Restart it and also update the generate_tfrecord.py

hostankit avatar Aug 01 '20 14:08 hostankit

Restart it and also update the generate_tfrecord.py

what did you mean by that ?

Petros626 avatar Aug 28 '21 18:08 Petros626

did you manage to solve the problem?

Roman932-ux avatar May 09 '22 16:05 Roman932-ux