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
@@ -8,7 +8,7 @@ import random
import numpy as np
import torch
import yaml
from tqdm import tqdm
from tqdm.auto import tqdm
from utils.general import LOGGER, colorstr, emojis
+1 -1
View File
@@ -24,7 +24,7 @@ import torch.nn.functional as F
import yaml
from PIL import ExifTags, Image, ImageOps
from torch.utils.data import DataLoader, Dataset, dataloader, distributed
from tqdm import tqdm
from tqdm.auto import tqdm
from utils.augmentations import Albumentations, augment_hsv, copy_paste, letterbox, mixup, random_perspective
from utils.general import (DATASETS_DIR, LOGGER, NUM_THREADS, check_dataset, check_requirements, check_yaml, clean_str,
+1 -1
View File
@@ -8,7 +8,7 @@ from pathlib import Path
from typing import Dict
import yaml
from tqdm import tqdm
from tqdm.auto import tqdm
FILE = Path(__file__).resolve()
ROOT = FILE.parents[3] # YOLOv5 root directory