You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After set up and build mace, when trying to convert the mobilenet-v1 from mace-models will get an error. The error message has been listed following
Traceback (most recent call last):
File "/home/username/2-working/mace/tools/python/convert.py", line 281, in
conf = config_parser.parse(flags.config)
File "/home/username/2-working/mace/tools/python/utils/config_parser.py", line 64, in parse
config = sanitize_load(f.read())
File "/home/username/2-working/mace/tools/python/utils/config_parser.py", line 59, in sanitize_load
return yaml.load(s)
TypeError: load() missing 1 required positional argument: 'Loader'
To Reproduce
Steps to reproduce the problem:
1. cd /path/to/mace
2. python tools/python/convert.py --config ../mace-models/mobilenet-v1/mobilenet-v1.yml
Error information / logs
Please include the full log and/or traceback here.
LOGs
Additional context
I didn't modify any source code. I checkout mace source code and mace-models from github, and build mace code according to instructions, trying to convert the mobilenet model following the instructions from the doc step by step. However, errors popped up.
The text was updated successfully, but these errors were encountered:
Before you open an issue, please make sure you have tried the following steps:
System information
Model deploy file (*.yml)
Describe the problem
After set up and build mace, when trying to convert the mobilenet-v1 from mace-models will get an error. The error message has been listed following
Traceback (most recent call last):
File "/home/username/2-working/mace/tools/python/convert.py", line 281, in
conf = config_parser.parse(flags.config)
File "/home/username/2-working/mace/tools/python/utils/config_parser.py", line 64, in parse
config = sanitize_load(f.read())
File "/home/username/2-working/mace/tools/python/utils/config_parser.py", line 59, in sanitize_load
return yaml.load(s)
TypeError: load() missing 1 required positional argument: 'Loader'
To Reproduce
Steps to reproduce the problem:
1. cd /path/to/mace 2. python tools/python/convert.py --config ../mace-models/mobilenet-v1/mobilenet-v1.yml
Error information / logs
Please include the full log and/or traceback here.
Additional context
I didn't modify any source code. I checkout mace source code and mace-models from github, and build mace code according to instructions, trying to convert the mobilenet model following the instructions from the doc step by step. However, errors popped up.
The text was updated successfully, but these errors were encountered: