Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
fix(indexer): normalize weight
  • Loading branch information
jemmyshin committed Jul 25, 2019
1 parent ddebccb commit c0bffe6cc363050721c87b4c4912ebf1d2e03437
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/test_bindexer.py
@@ -22,7 +22,7 @@ def setUp(self):
[3, 2, 1, 2]]).astype(np.uint8)

self.toy_exp = [[(234, 0, 1., 1,), (123, 1, 1., 1)], [(432, 0, 1., 1), (1, 0, 1., 1)],
[(234, 0, 1., 0.75), (123, 1, 1., 0.75)]]
[(234, 0, 1., 0.75), (123, 1, 1., 0.75)]]
self.weights = [1.] * len(self.toy_label)

dirname = os.path.dirname(__file__)

0 comments on commit c0bffe6

Please sign in to comment.