Skip to content

Commit 207a27c

Browse files
committed
update to 0.1.3, solves np.float issues
2 parents 27dc12c + a89cf65 commit 207a27c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ivtmetrics/recognition.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def reset(self):
7171
"call at the beginning of new experiment or epoch to reset the accumulators for preditions and groundtruths."
7272
self.predictions = np.empty(shape = [0,self.num_class], dtype=float)
7373
self.targets = np.empty(shape = [0,self.num_class], dtype=int)
74-
74+
7575
def reset_global(self):
7676
"call at the beginning of new experiment"
7777
self.global_predictions = []

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from pathlib import Path
44
this_directory = Path(__file__).parent
5-
long_description = (this_directory / "README.rst").read_text()
5+
long_description = (this_directory / "README.rst").read_text(encoding="utf-8")
66

77
setup(
88
name='ivtmetrics',

0 commit comments

Comments
 (0)