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
When I do pytest, I got this error: 'CTC' object has no attribute '_modules' (The details are shown at the bottom.)
Is there something changed in the 'speech/models' folder?
I used the old folder (I cloned about two month ago) to replace the current one, and the pytest passed.
When I do pytest, I got this error: 'CTC' object has no attribute '_modules' (The details are shown at the bottom.)
Is there something changed in the 'speech/models' folder?
I used the old folder (I cloned about two month ago) to replace the current one, and the pytest passed.
=========================================================================================== FAILURES ============================================================================================
________________________________________________________________________________________ test_ctc_model _________________________________________________________________________________________
ctc_test.py:16:
self = <[AttributeError("'CTC' object has no attribute '_modules'") raised in repr()] SafeRepr object at 0x107f3a5f0>, freq_dim = 40, output_dim = 10
config = {'dropout': 0.0, 'encoder': {'conv': [[32, 5, 32, 2]], 'rnn': {'bidirectional': False, 'dim': 16, 'layers': 1}}}
E TypeError: super() takes at least 1 argument (0 given)
../speech/models/ctc_model.py:15: TypeError
___________________________________________________________________________________________ test_save ___________________________________________________________________________________________
io_test.py:12:
self = <[AttributeError("'Model' object has no attribute '_modules'") raised in repr()] SafeRepr object at 0x107f4c170>, input_dim = 120
config = {'dropout': 0.0, 'encoder': {'conv': [[32, 5, 32, 2]], 'rnn': {'bidirectional': False, 'dim': 16, 'layers': 1}}}
E TypeError: super() takes at least 1 argument (0 given)
../speech/models/model.py:13: TypeError
__________________________________________________________________________________________ test_model ___________________________________________________________________________________________
model_test.py:15:
self = <[AttributeError("'Model' object has no attribute '_modules'") raised in repr()] SafeRepr object at 0x107f73f80>, input_dim = 40
config = {'dropout': 0.0, 'encoder': {'conv': [[32, 5, 32, 2]], 'rnn': {'bidirectional': False, 'dim': 16, 'layers': 1}}}
E TypeError: super() takes at least 1 argument (0 given)
../speech/models/model.py:13: TypeError
__________________________________________________________________________________________ test_model ___________________________________________________________________________________________
seq2seq_test.py:21:
self = <[AttributeError("'Seq2Seq' object has no attribute '_modules'") raised in repr()] SafeRepr object at 0x107f45758>, freq_dim = 120, vocab_size = 11
config = {'decoder': {'embedding_dim': 16, 'layers': 2}, 'dropout': 0.0, 'encoder': {'conv': [[32, 5, 32, 2]], 'rnn': {'bidirectional': False, 'dim': 16, 'layers': 1}}}
E TypeError: super() takes at least 1 argument (0 given)
../speech/models/seq2seq.py:17: TypeError
============================================================================== 4 failed, 5 passed in 0.79 seconds ===============================================================================
The text was updated successfully, but these errors were encountered: