Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.

Commit

Permalink
fix(indexer): normalize weight
Browse files Browse the repository at this point in the history
  • Loading branch information
jemmyshin committed Jul 25, 2019
1 parent ddebccb commit c0bffe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_bindexer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__)
Expand Down

0 comments on commit c0bffe6

Please sign in to comment.