Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove tqdm.auto #7599

Merged
merged 1 commit into from
Apr 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion data/Argoverse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ names: ['person', 'bicycle', 'car', 'motorcycle', 'bus', 'truck', 'traffic
download: |
import json
from tqdm.auto import tqdm
from tqdm import tqdm
from utils.general import download, Path
Expand Down
2 changes: 1 addition & 1 deletion data/Objects365.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ names: ['Person', 'Sneakers', 'Chair', 'Other Shoes', 'Hat', 'Car', 'Lamp', 'Gla

# Download script/URL (optional) ---------------------------------------------------------------------------------------
download: |
from tqdm.auto import tqdm
from tqdm import tqdm
from utils.general import Path, check_requirements, download, np, xyxy2xywhn
Expand Down
2 changes: 1 addition & 1 deletion data/SKU-110K.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ names: ['object'] # class names
# Download script/URL (optional) ---------------------------------------------------------------------------------------
download: |
import shutil
from tqdm.auto import tqdm
from tqdm import tqdm
from utils.general import np, pd, Path, download, xyxy2xywh
Expand Down
2 changes: 1 addition & 1 deletion data/VOC.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ names: ['aeroplane', 'bicycle', 'bird', 'boat', 'bottle', 'bus', 'car', 'cat', '
download: |
import xml.etree.ElementTree as ET
from tqdm.auto import tqdm
from tqdm import tqdm
from utils.general import download, Path
Expand Down
2 changes: 1 addition & 1 deletion data/VisDrone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ download: |
def visdrone2yolo(dir):
from PIL import Image
from tqdm.auto import tqdm
from tqdm import tqdm
def convert_box(size, box):
# Convert VisDrone box to YOLO xywh box
Expand Down
2 changes: 1 addition & 1 deletion data/xView.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ download: |
import numpy as np
from PIL import Image
from tqdm.auto import tqdm
from tqdm import tqdm
from utils.datasets import autosplit
from utils.general import download, xyxy2xywhn
Expand Down
2 changes: 1 addition & 1 deletion train.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
from torch.cuda import amp
from torch.nn.parallel import DistributedDataParallel as DDP
from torch.optim import SGD, Adam, AdamW, lr_scheduler
from tqdm.auto import tqdm
from tqdm import tqdm

FILE = Path(__file__).resolve()
ROOT = FILE.parents[0] # YOLOv5 root directory
Expand Down
2 changes: 1 addition & 1 deletion utils/autoanchor.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import numpy as np
import torch
import yaml
from tqdm.auto import tqdm
from tqdm import tqdm

from utils.general import LOGGER, colorstr, emojis

Expand Down
2 changes: 1 addition & 1 deletion utils/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
import yaml
from PIL import ExifTags, Image, ImageOps
from torch.utils.data import DataLoader, Dataset, dataloader, distributed
from tqdm.auto import tqdm
from tqdm 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,
Expand Down
2 changes: 1 addition & 1 deletion utils/loggers/wandb/wandb_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from typing import Dict

import yaml
from tqdm.auto import tqdm
from tqdm import tqdm

FILE = Path(__file__).resolve()
ROOT = FILE.parents[3] # YOLOv5 root directory
Expand Down
2 changes: 1 addition & 1 deletion val.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

import numpy as np
import torch
from tqdm.auto import tqdm
from tqdm import tqdm

FILE = Path(__file__).resolve()
ROOT = FILE.parents[0] # YOLOv5 root directory
Expand Down