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
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