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
load 593891 from ../data/conala/conala-mined.jsonl
return _wrapreduction(a, np.maximum, 'max', axis, None, out,
return ufunc.reduce(obj, axis, dtype, out, **passkwargs)
ValueError: zero-size array to reduction operation maximum which has no identity
I think the reason might be laid in elasticsearch that return nothing ,but I'm not sure about that.
I install elasticsearch by "pip install elasticsearch".
Looking forward to your answer!
The text was updated successfully, but these errors were encountered:
Hi
I am trying to Resampling python-docs.jsonl from conala-mined and python-docs.jsonl,but finally get nothing.
Below is some experimental details that occur
(1)python retrieve.py --method topk --inp ../data/conala/conala-mined.jsonl:python-docs.jsonl --topk 6 --field snippet --temp 6 --out temp6.json
load 593891 from ../data/conala/conala-mined.jsonl
load 12958 from python-docs.jsonl
100% 606849/606849 [04:43<00:00, 2137.19it/s]
most commonly retrieved ids []
(2)python retrieve.py --method dist --inp ../data/conala/conala-mined.jsonl --topk 6 --field snippet --temp 6 --out temp6.json
load 593891 from ../data/conala/conala-mined.jsonl
return _wrapreduction(a, np.maximum, 'max', axis, None, out,
return ufunc.reduce(obj, axis, dtype, out, **passkwargs)
ValueError: zero-size array to reduction operation maximum which has no identity
I think the reason might be laid in elasticsearch that return nothing ,but I'm not sure about that.
I install elasticsearch by "pip install elasticsearch".
Looking forward to your answer!
The text was updated successfully, but these errors were encountered: