Closed carlfm01 closed 4 years ago
Where did you get the quartznet15x5 checkpoint from? The ones we have published are compatible with the latest stable version of NeMo (0.8.2). But 0.8.2 does not have export feature (which is part of 0.9). We are going to publish 0.9 (very) soon together with updated checkpoints. I'll revisit this issue then.
Where did you get the quartznet15x5 checkpoint from?
From: https://ngc.nvidia.com/catalog/models/nvidia:quartznet15x5/version there's a tag for v2
had a silly bug in when trying to turn off masked convolutions. See https://github.com/NVIDIA/NeMo/pull/232
Closing this issue since https://github.com/NVIDIA/NeMo/pull/232 was merged to master. Please re-open if the bug persists
@okuchaiev Same error with the latest v0.9 checkpoint: https://ngc.nvidia.com/catalog/models/nvidia:quartznet_15x5_ls_sp and v0.9 image nvcr.io/nvidia/nemo:v0.9
@ggrunin yes, 0.9 (which you get from pip) has this issue. You can apply this fix https://github.com/NVIDIA/NeMo/pull/232 (or just take this github commit)
@okuchaiev Thanks for the prompt reply. I tired using latest code and getting: ERROR - ERROR: module export failed for JasperEncoder with exception number of output names provided (2) exceeded number of outputs (1)
@carlfm01 Hello, I used Nemo-0.9, which has exactly the same error as yours. "module export failed for JasperEncoder with exception 'NoneType' object has no attribute 'to'". So I wonder finally how did you solve the problem? Thanks~
Hello @yingxingdechibang, using master for the export should work.
or try the exact commit: https://github.com/NVIDIA/NeMo/tree/f69487170a434329f9e7560bc093695ab9b2e2e6
@ggrunin do you still have this issue? does it happen for you on the latest master?
@okuchaiev I rebuild the mage yesterday with the current master branch - still having: ERROR: module export failed for JasperEncoder with exception number of output names provided (2) exceeded number of outputs (1).
I'm using examples/asr/configs/quartznet15x5.yaml configuration and the latest quartznet15x5 checkpoints (1/08/2020) from NVIDIA cloud (https://ngc.nvidia.com/catalog/models/nvidia:quartznet_15x5_ls_sp).
closing as this is related to the old version
Hello again, I'm trying to export
quartznet15x5
v2 to ONNX with master(f946aca)With the following command:
Failing with:
Is ONNX export compatible with the latest model using master?