In order to deploy the model trained on NeMo on Jarvis, I followed Jarvis Docs | TLT Export for NeMo/TLT, to export .nemo file to .ejrvs file. I used the question_answering example (NeMo v1.0.0) to train the model and store it in qa.nemo, and then use tlt quesiotn_answering export to export it. But got the error below:
[NeMo W 2021-06-10 08:58:18 exp_manager:27] Exp_manager is logging to `/results/nlp/qa/``, but it already exists.
Traceback (most recent call last):
File "/opt/conda/lib/python3.6/site-packages/nemo/core/classes/modelPT.py", line 481, in restore_from
return cls._eff_restore_from(restore_path, override_config_path, map_location, strict)
File "/opt/conda/lib/python3.6/site-packages/nemo/core/classes/modelPT.py", line 437, in _eff_restore_from
strict=strict,
File "<frozen eff.cookbooks.nemo_cookbook>", line 363, in restore_from
File "<frozen eff.core.cookbook>", line 154, in validate_archive
File "/opt/conda/lib/python3.6/contextlib.py", line 81, in __enter__
return next(self.gen)
File "<frozen eff.core.archive>", line 464, in restore_from
TypeError: The indicated file '/data/nlp/qa.nemo' is not an EFF archive
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/tlt-nemo/nlp/question_answering/scripts/export.py", line 81, in <module>
File "/opt/conda/lib/python3.6/site-packages/nemo/core/config/hydra_runner.py", line 103, in wrapper
strict=None,
File "/opt/conda/lib/python3.6/site-packages/hydra/_internal/utils.py", line 347, in _run_hydra
lambda: hydra.run(
File "/opt/conda/lib/python3.6/site-packages/hydra/_internal/utils.py", line 237, in run_and_report
assert mdl is not None
AssertionError
I think I did exactly on the docs, and I do not know what’s going wrong. Could anyone help?