- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am getting the following error while converting the model:-
[ ERROR ] 'ascii' codec can't decode byte 0xd9 in position 1: ordinal not in range(128)
Unexpected exception happened during extracting attributes for node training/Adam/dense/bias/v/Read/ReadVariableOp.
Original exception message: 'ascii' codec can't decode byte 0xd9 in position 1: ordinal not in range(128)
I am attaching the folder after zipping (gender.zip). I ran the following command:-
python mo.py --saved_model_dir "./gender"
I am also attaching the tensorflow 1.14 code used to create the saved model (train.zip)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Tarun,
The error 'ascii codec can't decode byte' generally occurs when you convert a Python 2.x str that contains non-ASCII to a Unicode string without specifying the encoding of the original string.
For your further information, do have a look at the following thread, which involves similar issue as you are facing.
Regards,
Munesh
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Tarun,
Please share more information about your model, is it an object detection/classification model, if custom model what type of layers does the model use, and environment details (versions of OpenVINO, OS, Python, CMake, etc.).
Regards,
Munesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Tarun,
The error 'ascii codec can't decode byte' generally occurs when you convert a Python 2.x str that contains non-ASCII to a Unicode string without specifying the encoding of the original string.
For your further information, do have a look at the following thread, which involves similar issue as you are facing.
Regards,
Munesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Tarun,
This thread will no longer be monitored since we have provided a solution. If you need any additional information from Intel, please submit a new question.
Regards,
Munesh

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page