coper
coper copied to clipboard
error occurs when model predicted
When I execute command —— !cd coper-master/CoPER_MINERVA/ && bash ./experiment.sh configs/umls.sh --inference 0
error occurs:
Memory allocated before eval data loading: 1.02944768
HIIIII
652 triples loaded from data/umls/dev.triples
661 triples loaded from data/umls/test.triples
Memory allocated after eval data loading: 1.02944768
0% 0/326 [00:00<?, ?it/s]
Traceback (most recent call last):
File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/content/coper-master/CoPER_MINERVA/src/experiments.py", line 830, in
type of elements in offset is float, how can I solve it, anyone can help
Hi,
I will try to reproduce your error. Could you please tell me what system and version of Tensorflow you are using?
Thanks, Otilia