Skip to content

Commit

Permalink
Bump pip version, replace legacy float format (nutonomy#586)
Browse files Browse the repository at this point in the history
Co-authored-by: Holger Caesar <holger.caesar@motional.com>
  • Loading branch information
holger-motional and Holger Caesar authored Apr 20, 2021
1 parent bfb57a4 commit 87b88fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions python-sdk/nuscenes/eval/detection/algo.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ def accumulate(gt_boxes: EvalBoxes,
# ---------------------------------------------

# Accumulate.
tp = np.cumsum(tp).astype(np.float)
fp = np.cumsum(fp).astype(np.float)
tp = np.cumsum(tp).astype(float)
fp = np.cumsum(fp).astype(float)
conf = np.array(conf)

# Calculate precision and recall.
Expand Down
2 changes: 1 addition & 1 deletion setup/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def get_dirlist(_rootdir):

setuptools.setup(
name='nuscenes-devkit',
version='1.1.3',
version='1.1.4',
author='Holger Caesar, Oscar Beijbom, Qiang Xu, Varun Bankiti, Alex H. Lang, Sourabh Vora, Venice Erin Liong, '
'Sergi Widjaja, Kiwoo Shin, Caglayan Dicle, Freddy Boulton, Whye Kit Fong, Asha Asvathaman et al.',
author_email='nuscenes@motional.com',
Expand Down

0 comments on commit 87b88fe

Please sign in to comment.