AttributeError: 'numpy.ndarray' object has no attribute 'pop'
yayaYsmileT opened this issue · comments
yayaYsmileT commented
Hi there,
I get this error message:
File "/pyretri-0.1.0+unknown-py3.7.egg/pyretri/evaluate/evaluator/evaluators_impl/overall.py", line 78, in call
gt.pop(0)
AttributeError: 'numpy.ndarray' object has no attribute 'pop'
Please, what is the reason for this?
''pop'' can normally be used for lists, as far as I know, not for ndarrays... is this a bug in the code or something else?
Thanks!
TTL518 commented
using gt[1:] replace gt.pop(0)