Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Commit

Permalink
drop use of tqdm (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnv1 authored Apr 6, 2022
1 parent 65efdce commit 60aec8b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
7 changes: 3 additions & 4 deletions CCAgT_utils/visualization/_show.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

import matplotlib.pyplot as plt
from PIL import Image
from tqdm.auto import tqdm

from CCAgT_utils import categories
from CCAgT_utils.converters.CCAgT import CCAgT
Expand Down Expand Up @@ -45,7 +44,7 @@ def image_with_boxes(

get_id = {cat_info.name: cat_info.id for cat_info in categories_infos}

for img_name in tqdm(images_to_plot):
for img_name in images_to_plot:
if look_recursive:
img_path = all_files[img_name + images_extension]
else:
Expand Down Expand Up @@ -112,7 +111,7 @@ def image_and_mask(
if shuffle_images:
random.shuffle(images_to_plot)

for img_name in tqdm(images_to_plot):
for img_name in images_to_plot:

if look_recursive:
img_path = all_files[img_name + images_extension]
Expand Down Expand Up @@ -181,7 +180,7 @@ def image_with_boxes_and_mask(
if shuffle_images:
random.shuffle(images_to_plot)

for img_name in tqdm(images_to_plot):
for img_name in images_to_plot:

if look_recursive:
img_path = all_files[img_name + images_extension]
Expand Down
1 change: 0 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ install_requires =
pyarrow>=7.0.0
scikit-image>=0.19.2
shapely>=1.8.0
tqdm>=4.62.3
virtualenv>=20.0.8
python_requires = >=3.7

Expand Down

0 comments on commit 60aec8b

Please sign in to comment.