Error computing metric 'accuracy'

#1
by haneulpark - opened
Maom Lab org

ValueError: Predictions and/or references don't match the expected format.
Expected format: {'predictions': Value(dtype='int32', id=None), 'references': Value(dtype='int32', id=None)},
Input predictions: [[2], [1], [2], ..., [1], [0], [2]],
Input references: [2, 1, 2, ..., 1, 0, 2]

The above exception was the direct cause of the following exception:

RuntimeError Traceback (most recent call last)
/usr/local/lib/python3.10/dist-packages/molflux/metrics/bases.py in compute(self, predictions, references, **kwargs)
147
148 except Exception as exc:
--> 149 raise RuntimeError(f"Error computing metric {self.tag!r}") from exc
150
151 return result

RuntimeError: Error computing metric 'accuracy'

Sign up or log in to comment