Use tqdm.auto (#7311)

This commit is contained in:
Glenn Jocher authored and GitHub committed 2022-04-06 12:20:24 +02:00
1 parent d257c75c84
commit f735458987
11 files changed
+11 -11

No files matched your search

+1 -1
View File
@@ -22,7 +22,7 @@ names: ['person', 'bicycle', 'car', 'motorcycle', 'bus', 'truck', 'traffic
download: |
import json
from tqdm import tqdm
from tqdm.auto import tqdm
from utils.general import download, Path
+1 -1
View File
@@ -60,7 +60,7 @@ names: ['Person', 'Sneakers', 'Chair', 'Other Shoes', 'Hat', 'Car', 'Lamp', 'Gla
# Download script/URL (optional) ---------------------------------------------------------------------------------------
download: |
from tqdm import tqdm
from tqdm.auto import tqdm
from utils.general import Path, check_requirements, download, np, xyxy2xywhn
+1 -1
View File
@@ -21,7 +21,7 @@ names: ['object'] # class names
# Download script/URL (optional) ---------------------------------------------------------------------------------------
download: |
import shutil
from tqdm import tqdm
from tqdm.auto import tqdm
from utils.general import np, pd, Path, download, xyxy2xywh
+1 -1
View File
@@ -29,7 +29,7 @@ names: ['aeroplane', 'bicycle', 'bird', 'boat', 'bottle', 'bus', 'car', 'cat', '
download: |
import xml.etree.ElementTree as ET
from tqdm import tqdm
from tqdm.auto import tqdm
from utils.general import download, Path
+1 -1
View File
@@ -24,7 +24,7 @@ download: |
def visdrone2yolo(dir):
from PIL import Image
from tqdm import tqdm
from tqdm.auto import tqdm
def convert_box(size, box):
# Convert VisDrone box to YOLO xywh box
+1 -1
View File
@@ -34,7 +34,7 @@ download: |
import numpy as np
from PIL import Image
from tqdm import tqdm
from tqdm.auto import tqdm
from utils.datasets import autosplit
from utils.general import download, xyxy2xywhn