Comments (4)
Thanks for filing a new issue. So looks like "model_test" is failing, but there is no useful diagnostic output. It looks like it threw an exception, but the exception printing printed nothing, so we only see "exception:". The test loaded model_1.model but not model_2.model. So perhaps it didn't find model_1.model. Can you see "model_1.model" in ~\build\examples\models ?
Can you try running python model_test.py
from ~\ELL\build\interfaces\python\test
in a debugger and let me know what you see?
Note: it is a bit odd that your ELL repo is under "C:\Program Files" -- normally this folder does not have user permissions, normally I put my git repos someplace else, liker "c:\git".
from ell.
Appreciate to @lovettchris
Actually I fixed my model_test problem this routine.
- move ELL directory under c:\git
- fix my environment variable
- delete problem build and reboot new build]
I guess the problem occurs because of dependency and environment variable
but I go another ctest error
- onnx_importer_test error
- pythonlibs-audio-test
The error code is below
22: Test command: C:\Users\NOTA1204\miniconda3\envs\py36\python.exe "-m" "unittest" "onnx_node_test.py:"
22: Test timeout computed to be: 10000000
22: Traceback (most recent call last):
22: File "C:\Users\NOTA1204\miniconda3\envs\py36\lib\runpy.py", line 193, in _run_module_as_main
22: "__main__", mod_spec)
22: File "C:\Users\NOTA1204\miniconda3\envs\py36\lib\runpy.py", line 85, in _run_code
22: exec(code, run_globals)
22: File "C:\Users\NOTA1204\miniconda3\envs\py36\lib\unittest\__main__.py", line 18, in <module>
22: main(module=None)
22: File "C:\Users\NOTA1204\miniconda3\envs\py36\lib\unittest\main.py", line 94, in __init__\
22: self.parseArgs(argv)
22: File "C:\Users\NOTA1204\miniconda3\envs\py36\lib\unittest\main.py", line 141, in parseArgs
22: self.createTests()
22: File "C:\Users\NOTA1204\miniconda3\envs\py36\lib\unittest\main.py", line 148, in createTests
22: self.module)
22: File "C:\Users\NOTA1204\miniconda3\envs\py36\lib\unittest\loader.py", line 219, in loadTestsFromNames
22: suites = [self.loadTestsFromName(name, module) for name in names]
22: File "C:\Users\NOTA1204\miniconda3\envs\py36\lib\unittest\loader.py", line 219, in <listcomp>
22: suites = [self.loadTestsFromName(name, module) for name in names]
22: File "C:\Users\NOTA1204\miniconda3\envs\py36\lib\unittest\loader.py", line 153, in loadTestsFromName
22: module = __import__(module_name)
22: File "C:\Git\ELL\build\tools\importers\onnx\test\onnx_node_test.py", line 15, in <module>
22: import onnx
22: File "C:\Users\NOTA1204\miniconda3\envs\py36\lib\site-packages\onnx\__init__.py", line 9, in <module>
22: from onnx.external_data_helper import load_external_data_for_model, write_external_data_tensors
22: File "C:\Users\NOTA1204\miniconda3\envs\py36\lib\site-packages\onnx\external_data_helper.py", line 10, in <module>
22: from .onnx_pb import TensorProto, ModelProto
22: File "C:\Users\NOTA1204\miniconda3\envs\py36\lib\site-packages\onnx\onnx_pb.py", line 8, in <module>
22: from .onnx_ml_pb2 import * # noqa
22: File "C:\Users\NOTA1204\miniconda3\envs\py36\lib\site-packages\onnx\onnx_ml_pb2.py", line 22, in <module>
22: create_key=_descriptor._internal_create_key,
22: AttributeError: module 'google.protobuf.descriptor' has no attribute '_internal_create_key'
22/44 Test #22: onnx_importer_test ...............***Failed 0.23 sec
42: Test command: C:\Users\NOTA1204\miniconda3\envs\py36\python.exe "-m" "unittest" "audio_unittest.py"
42: Test timeout computed to be: 10000000
42: Traceback (most recent call last):
42: File "C:\Users\NOTA1204\miniconda3\envs\py36\lib\runpy.py", line 193, in _run_module_as_main
42: "__main__", mod_spec)
42: File "C:\Users\NOTA1204\miniconda3\envs\py36\lib\runpy.py", line 85, in _run_code
42: exec(code, run_globals)
42: File "C:\Users\NOTA1204\miniconda3\envs\py36\lib\unittest\__main__.py", line 18, in <module>
42: main(module=None)
42: File "C:\Users\NOTA1204\miniconda3\envs\py36\lib\unittest\main.py", line 94, in __init__
42: self.parseArgs(argv)
42: File "C:\Users\NOTA1204\miniconda3\envs\py36\lib\unittest\main.py", line 141, in parseArgs
42: self.createTests()
42: File "C:\Users\NOTA1204\miniconda3\envs\py36\lib\unittest\main.py", line 148, in createTests
42: self.module)
42: File "C:\Users\NOTA1204\miniconda3\envs\py36\lib\unittest\loader.py", line 219, in loadTestsFromNames
42: suites = [self.loadTestsFromName(name, module) for name in names]
42: File "C:\Users\NOTA1204\miniconda3\envs\py36\lib\unittest\loader.py", line 219, in <listcomp>
42: suites = [self.loadTestsFromName(name, module) for name in names]
42: File "C:\Users\NOTA1204\miniconda3\envs\py36\lib\unittest\loader.py", line 153, in loadTestsFromName
42: module = __import__(module_name)
42: File "C:\Git\ELL\build\tools\utilities\pythonlibs\audio\test\audio_unittest.py", line 31, in <module>
42: import onnx_import
42: File "C:\Git\ELL\build\tools\utilities\pythonlibs\audio\test\..\..\..\..\importers\onnx\onnx_import.py", line 24, in <module>
42: import onnx_to_ell
42: File "C:\Git\ELL\build\tools\utilities\pythonlibs\audio\test\..\..\..\..\importers\onnx\onnx_to_ell.py", line 21, in <module>
42: import onnx_converters as convert
42: File "C:\Git\ELL\build\tools\importers\onnx\lib\onnx_converters.py", line 22, in <module>
42: import onnx
42: File "C:\Users\NOTA1204\miniconda3\envs\py36\lib\site-packages\onnx\__init__.py", line 9, in <module>
42: from onnx.external_data_helper import load_external_data_for_model, write_external_data_tensors
42: File "C:\Users\NOTA1204\miniconda3\envs\py36\lib\site-packages\onnx\external_data_helper.py", line 10, in <module>
42: from .onnx_pb import TensorProto, ModelProto
42: File "C:\Users\NOTA1204\miniconda3\envs\py36\lib\site-packages\onnx\onnx_pb.py", line 8, in <module>
42: from .onnx_ml_pb2 import * # noqa
42: File "C:\Users\NOTA1204\miniconda3\envs\py36\lib\site-packages\onnx\onnx_ml_pb2.py", line 22, in <module>
42: create_key=_descriptor._internal_create_key,
42: AttributeError: module 'google.protobuf.descriptor' has no attribute '_internal_create_key'
42: using scripts from ell root: C:\Git\ELL
42/44 Test #42: pythonlibs-audio-test ............***Failed 0.53 sec'
I guess both of the problem have the same error code.
AttributeError: module 'google.protobuf.descriptor' has no attribute '_internal_create_key'
Can you suggest me some checkpoint to solve this problem?
from ell.
AttributeError: module 'google.protobuf.descriptor' has no attribute '_internal_create_key'
Fixed this error
pip uninstall protobuf python3-protobuf
pip install --upgrade pip
pip install --upgrade protobuf
above these codes
Then ctest passed.
from ell.
Wow, ok, interesting! Thanks for closing the issue.
from ell.
Related Issues (20)
- Is ELL applied to Azsure Sphere MCU? HOT 3
- Windows setup incomplete HOT 4
- errors while running cmake --build . --config Release command HOT 1
- Error Compiling ELL HOT 2
- OpenBLAS cannot be linked HOT 2
- onnx_import.py : AttributeError: 'NoneType' object has no attribute 'output_shapes' HOT 2
- cMake is not recognized as an internal or external command HOT 2
- import _model Import error:DLL load failed HOT 3
- F524 '...'.format(...) is missing argument(s) for placeholder(s): 1 HOT 2
- Issue with CMAKE_SOURCE_DIR in CMakeFiles.txt HOT 1
- Training an audio keyword spotter with PyTorch HOT 1
- Training an audio keyword spotter with PyTorch ELL HOT 2
- Segfault using make_dataset (issue with importlib) HOT 1
- 44 - ell-python-interface-test (Failed) HOT 17
- cmake configure failed with could not find TARGET _ELL_python HOT 2
- error Importing a model from Open Neural Network in vgg.py file HOT 1
- Access denied HOT 1
- Question: Is ELL only for IoT Hub or IoT Edge on IoT central or can this be added using another IoT system
- Build fails (ubuntu20.04) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ell.