glenn-jocher
commited on
Commit
•
b53917d
1
Parent(s):
2611477
Remove `tqdm.auto` (#7599)
Browse files- data/Argoverse.yaml +1 -1
- data/Objects365.yaml +1 -1
- data/SKU-110K.yaml +1 -1
- data/VOC.yaml +1 -1
- data/VisDrone.yaml +1 -1
- data/xView.yaml +1 -1
- train.py +1 -1
- utils/autoanchor.py +1 -1
- utils/datasets.py +1 -1
- utils/loggers/wandb/wandb_utils.py +1 -1
- val.py +1 -1
data/Argoverse.yaml
CHANGED
@@ -22,7 +22,7 @@ names: ['person', 'bicycle', 'car', 'motorcycle', 'bus', 'truck', 'traffic
|
|
22 |
download: |
|
23 |
import json
|
24 |
|
25 |
-
from tqdm
|
26 |
from utils.general import download, Path
|
27 |
|
28 |
|
|
|
22 |
download: |
|
23 |
import json
|
24 |
|
25 |
+
from tqdm import tqdm
|
26 |
from utils.general import download, Path
|
27 |
|
28 |
|
data/Objects365.yaml
CHANGED
@@ -60,7 +60,7 @@ names: ['Person', 'Sneakers', 'Chair', 'Other Shoes', 'Hat', 'Car', 'Lamp', 'Gla
|
|
60 |
|
61 |
# Download script/URL (optional) ---------------------------------------------------------------------------------------
|
62 |
download: |
|
63 |
-
from tqdm
|
64 |
|
65 |
from utils.general import Path, check_requirements, download, np, xyxy2xywhn
|
66 |
|
|
|
60 |
|
61 |
# Download script/URL (optional) ---------------------------------------------------------------------------------------
|
62 |
download: |
|
63 |
+
from tqdm import tqdm
|
64 |
|
65 |
from utils.general import Path, check_requirements, download, np, xyxy2xywhn
|
66 |
|
data/SKU-110K.yaml
CHANGED
@@ -21,7 +21,7 @@ names: ['object'] # class names
|
|
21 |
# Download script/URL (optional) ---------------------------------------------------------------------------------------
|
22 |
download: |
|
23 |
import shutil
|
24 |
-
from tqdm
|
25 |
from utils.general import np, pd, Path, download, xyxy2xywh
|
26 |
|
27 |
|
|
|
21 |
# Download script/URL (optional) ---------------------------------------------------------------------------------------
|
22 |
download: |
|
23 |
import shutil
|
24 |
+
from tqdm import tqdm
|
25 |
from utils.general import np, pd, Path, download, xyxy2xywh
|
26 |
|
27 |
|
data/VOC.yaml
CHANGED
@@ -29,7 +29,7 @@ names: ['aeroplane', 'bicycle', 'bird', 'boat', 'bottle', 'bus', 'car', 'cat', '
|
|
29 |
download: |
|
30 |
import xml.etree.ElementTree as ET
|
31 |
|
32 |
-
from tqdm
|
33 |
from utils.general import download, Path
|
34 |
|
35 |
|
|
|
29 |
download: |
|
30 |
import xml.etree.ElementTree as ET
|
31 |
|
32 |
+
from tqdm import tqdm
|
33 |
from utils.general import download, Path
|
34 |
|
35 |
|
data/VisDrone.yaml
CHANGED
@@ -24,7 +24,7 @@ download: |
|
|
24 |
|
25 |
def visdrone2yolo(dir):
|
26 |
from PIL import Image
|
27 |
-
from tqdm
|
28 |
|
29 |
def convert_box(size, box):
|
30 |
# Convert VisDrone box to YOLO xywh box
|
|
|
24 |
|
25 |
def visdrone2yolo(dir):
|
26 |
from PIL import Image
|
27 |
+
from tqdm import tqdm
|
28 |
|
29 |
def convert_box(size, box):
|
30 |
# Convert VisDrone box to YOLO xywh box
|
data/xView.yaml
CHANGED
@@ -34,7 +34,7 @@ download: |
|
|
34 |
|
35 |
import numpy as np
|
36 |
from PIL import Image
|
37 |
-
from tqdm
|
38 |
|
39 |
from utils.datasets import autosplit
|
40 |
from utils.general import download, xyxy2xywhn
|
|
|
34 |
|
35 |
import numpy as np
|
36 |
from PIL import Image
|
37 |
+
from tqdm import tqdm
|
38 |
|
39 |
from utils.datasets import autosplit
|
40 |
from utils.general import download, xyxy2xywhn
|
train.py
CHANGED
@@ -30,7 +30,7 @@ import yaml
|
|
30 |
from torch.cuda import amp
|
31 |
from torch.nn.parallel import DistributedDataParallel as DDP
|
32 |
from torch.optim import SGD, Adam, AdamW, lr_scheduler
|
33 |
-
from tqdm
|
34 |
|
35 |
FILE = Path(__file__).resolve()
|
36 |
ROOT = FILE.parents[0] # YOLOv5 root directory
|
|
|
30 |
from torch.cuda import amp
|
31 |
from torch.nn.parallel import DistributedDataParallel as DDP
|
32 |
from torch.optim import SGD, Adam, AdamW, lr_scheduler
|
33 |
+
from tqdm import tqdm
|
34 |
|
35 |
FILE = Path(__file__).resolve()
|
36 |
ROOT = FILE.parents[0] # YOLOv5 root directory
|
utils/autoanchor.py
CHANGED
@@ -8,7 +8,7 @@ import random
|
|
8 |
import numpy as np
|
9 |
import torch
|
10 |
import yaml
|
11 |
-
from tqdm
|
12 |
|
13 |
from utils.general import LOGGER, colorstr, emojis
|
14 |
|
|
|
8 |
import numpy as np
|
9 |
import torch
|
10 |
import yaml
|
11 |
+
from tqdm import tqdm
|
12 |
|
13 |
from utils.general import LOGGER, colorstr, emojis
|
14 |
|
utils/datasets.py
CHANGED
@@ -24,7 +24,7 @@ import torch.nn.functional as F
|
|
24 |
import yaml
|
25 |
from PIL import ExifTags, Image, ImageOps
|
26 |
from torch.utils.data import DataLoader, Dataset, dataloader, distributed
|
27 |
-
from tqdm
|
28 |
|
29 |
from utils.augmentations import Albumentations, augment_hsv, copy_paste, letterbox, mixup, random_perspective
|
30 |
from utils.general import (DATASETS_DIR, LOGGER, NUM_THREADS, check_dataset, check_requirements, check_yaml, clean_str,
|
|
|
24 |
import yaml
|
25 |
from PIL import ExifTags, Image, ImageOps
|
26 |
from torch.utils.data import DataLoader, Dataset, dataloader, distributed
|
27 |
+
from tqdm import tqdm
|
28 |
|
29 |
from utils.augmentations import Albumentations, augment_hsv, copy_paste, letterbox, mixup, random_perspective
|
30 |
from utils.general import (DATASETS_DIR, LOGGER, NUM_THREADS, check_dataset, check_requirements, check_yaml, clean_str,
|
utils/loggers/wandb/wandb_utils.py
CHANGED
@@ -8,7 +8,7 @@ from pathlib import Path
|
|
8 |
from typing import Dict
|
9 |
|
10 |
import yaml
|
11 |
-
from tqdm
|
12 |
|
13 |
FILE = Path(__file__).resolve()
|
14 |
ROOT = FILE.parents[3] # YOLOv5 root directory
|
|
|
8 |
from typing import Dict
|
9 |
|
10 |
import yaml
|
11 |
+
from tqdm import tqdm
|
12 |
|
13 |
FILE = Path(__file__).resolve()
|
14 |
ROOT = FILE.parents[3] # YOLOv5 root directory
|
val.py
CHANGED
@@ -27,7 +27,7 @@ from threading import Thread
|
|
27 |
|
28 |
import numpy as np
|
29 |
import torch
|
30 |
-
from tqdm
|
31 |
|
32 |
FILE = Path(__file__).resolve()
|
33 |
ROOT = FILE.parents[0] # YOLOv5 root directory
|
|
|
27 |
|
28 |
import numpy as np
|
29 |
import torch
|
30 |
+
from tqdm import tqdm
|
31 |
|
32 |
FILE = Path(__file__).resolve()
|
33 |
ROOT = FILE.parents[0] # YOLOv5 root directory
|