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
I have wrapped a model, and when doing "docker run model_image" locally after building the image, the server starts with no import errors.
However, once I try and run the image on kubernetes I get this error in the pod logs:
seldon_core.microservice:main:265 - INFO: Importing submodule ['nlppipeline.nlppipeline', 'NLPPipeline']
/
Traceback (most recent call last):
File "/usr/local/bin/seldon-core-microservice", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.7/site-packages/seldon_core/microservice.py", line 266, in main
interface_file = importlib.import_module(parts[0])
File "/usr/local/lib/python3.7/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 965, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'nlppipeline.nlppipeline'
I'm a bit stuck what the problem could be.
I am trying to call the seldon-core-microservice with the following command:
seldon-core-microservice nlppipeline.NLPPipeline REST --service-type MODEL --persistence 0
It differs from the examples that I am calling it from outside the module, rather than the example using the "NLPPipeline" as the model name directly.
The text was updated successfully, but these errors were encountered:
Hi,
I have wrapped a model, and when doing "docker run model_image" locally after building the image, the server starts with no import errors.
However, once I try and run the image on kubernetes I get this error in the pod logs:
seldon_core.microservice:main:265 - INFO: Importing submodule ['nlppipeline.nlppipeline', 'NLPPipeline']
/
Traceback (most recent call last):
File "/usr/local/bin/seldon-core-microservice", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.7/site-packages/seldon_core/microservice.py", line 266, in main
interface_file = importlib.import_module(parts[0])
File "/usr/local/lib/python3.7/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 965, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'nlppipeline.nlppipeline'
I'm a bit stuck what the problem could be.
I am trying to call the seldon-core-microservice with the following command:
seldon-core-microservice nlppipeline.NLPPipeline REST --service-type MODEL --persistence 0
It differs from the examples that I am calling it from outside the module, rather than the example using the "NLPPipeline" as the model name directly.
The text was updated successfully, but these errors were encountered: