Fix Docs reference section __init__.py URLs (#4168)
This commit is contained in:
parent
620b726fee
commit
4aa7969e15
100 changed files with 113 additions and 107 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue