Closed SachinLearns closed 1 year ago
Got the error. Line 379 of evaluator.py, i.e.,
def _compute_Lp_norm_diff(self, vec1, vec2, normalize_to_relative_change: bool = True, eps: np.float = 0.001):
must be replaced with the following.
def _compute_Lp_norm_diff(self, vec1, vec2, normalize_to_relative_change: bool = True, eps: float = 0.001):
I am using numpy version 1.24.3 (>=1.19.5). But I am getting the below error. I did not see any mention of the python version, so I used python=3.10.
Then I tried removing the
.float()
from the entire code in the evaluator.py, but the error remained the same. I also triedfloat(<variable_to_be_converted)>
, but the error did not change.What else should I try?