When first training THUMOS, an AttributeError was raised: AttributeError: module 'numpy' has no attribute 'float' Now we often use 'np.float32' with the fact that 'np.float' has been deprecated in NumPy. But it still exists in 'libs/utils/metrics.py'.