In cocoeval.py file, 378 and 379 lines should be fixed. `np.float` has already deprecated in numpy version >1.20.0.