- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi.
In an attempt to keep the extensions I'm writing separate from those supplied with OpenVino for debug purposes, I've been using the --extensions command line switch.
I found this was failing initially with my extensions in a directory called "<mypath>\extensions\ops" ...
python mo.py --extensions <mypath>\extensions ### Fails - finds the python file but complains that there is no such module...
It seems after much experimentation this will only work if the name of the directory that your own extensions are in is something other than "extensions"...
python mo.py --extensions <mypath>\extensions_foo ### Succeeds
Note that any other modules that depend on this then have to import from "extensions_foo.ops."
I've not found this limitation documented anywhere yet - it does seem unfortunate.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Rik,
You are right this is a missing item that should be added to known issues. It is sad that you spent your time trying to work around it.
- Sergey
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page