thtrieu / darkflow

Translate darknet to tensorflow. Load trained weights, retrain/fine-tune using tensorflow, export constant graph def to mobile devices
GNU General Public License v3.0
6.13k stars 2.08k forks source link

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

Open hiroinou opened 4 years ago

hiroinou commented 4 years ago

Hello,

I converted .weight .cfg to .pb .meta by using DW2TF to use Darkflow with yolov3-tiny.

  1. I got .pb .meta file by DW2TF.
  2. I ran the command to build: python setup.py build_ext --inplace
  3. I ran the command to predict the target: ./flow --pbLoad built_graph/yolov3-tiny_XXX.pb --metaLoad built_graph/yolov3-tiny_XXX.meta --imgdir sample_img/
  4. Then I got the following results. UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa8 in position 1: invalid start byte

Does anyone know the cause?

Execution environment macOS:10.15.3 Anaconda=1.9.7 tensorflow=1.15.0 python=3.6.10