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 get the below error. Appreciate any help on this issue.
Traceback (most recent call last):
File "eval.py", line 29, in <module>
nlgeval = NLGEval() # loads the evaluator
File "/usr/local/lib/python3.7/dist-packages/nlgeval/__init__.py", line 202, in __init__
self.load_skipthought_model()
File "/usr/local/lib/python3.7/dist-packages/nlgeval/__init__.py", line 236, in load_skipthought_model
model = skipthoughts.load_model()
File "/usr/local/lib/python3.7/dist-packages/nlgeval/skipthoughts/skipthoughts.py", line 53, in load_model
embedding, x_mask, ctxw2v = build_encoder(utparams, uoptions)
File "/usr/local/lib/python3.7/dist-packages/nlgeval/skipthoughts/skipthoughts.py", line 312, in build_encoder
mask=x_mask)
File "/usr/local/lib/python3.7/dist-packages/nlgeval/skipthoughts/skipthoughts.py", line 437, in gru_layer
strict=True)
File "/usr/local/lib/python3.7/dist-packages/theano/scan_module/scan.py", line 849, in scan
profile=False)
File "/usr/local/lib/python3.7/dist-packages/theano/compile/function/__init__.py", line 350, in function
output_keys=output_keys,
File "/usr/local/lib/python3.7/dist-packages/theano/compile/function/pfunc.py", line 427, in pfunc
_pfunc_param_to_in(p, allow_downcast=allow_input_downcast) for p in params
File "/usr/local/lib/python3.7/dist-packages/theano/compile/function/pfunc.py", line 427, in <listcomp>
_pfunc_param_to_in(p, allow_downcast=allow_input_downcast) for p in params
File "/usr/local/lib/python3.7/dist-packages/theano/compile/function/pfunc.py", line 543, in _pfunc_param_to_in
raise TypeError(f"Unknown parameter type: {type(param)}")
TypeError: Unknown parameter type: <class 'theano.tensor.var.TensorVariable'>
The text was updated successfully, but these errors were encountered:
When calling model instantiation,
nlgeval = NLGEval()
I get the below error. Appreciate any help on this issue.
The text was updated successfully, but these errors were encountered: