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
Traceback (most recent call last):
File "/usr/local/bin/nlg-eval", line 216, in <module>
compute_metrics()
File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/usr/local/bin/nlg-eval", line 208, in compute_metrics
nlgeval.compute_metrics(hypothesis, references, no_overlap, no_skipthoughts, no_glove)
File "/usr/local/lib/python3.7/dist-packages/nlgeval/__init__.py", line 57, in compute_metrics
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:
I am getting this error when running the following code on colab
!nlg-eval --hypothesis=outputs/x_NLMCXR_ClsGenInt_DenseNet121_MaxView2_NumLabel114_History_Hyp.txt --references=outputs/x_NLMCXR_ClsGenInt_DenseNet121_MaxView2_NumLabel114_History_Ref.txt
The text was updated successfully, but these errors were encountered: