Fix Docs reference section __init__.py URLs (#4168)

This commit is contained in:
Glenn Jocher 2023-08-04 20:03:22 +02:00 committed by GitHub
parent 620b726fee
commit 4aa7969e15
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
100 changed files with 113 additions and 107 deletions

View file

@ -62,6 +62,8 @@ def coco80_to_coco91_class(): #
Example:
```python
import numpy as np
a = np.loadtxt('data/coco.names', dtype='str', delimiter='\n')
b = np.loadtxt('data/coco_paper.names', dtype='str', delimiter='\n')
x1 = [list(a[i] == b).index(True) + 1 for i in range(80)] # darknet to coco