fix install_success problem for batch

v2 v1.5.0
Chengsong Zhang 2023-06-02 22:57:20 +08:00
parent 76c44793cd
commit b2ab5f6f0f
1 changed files with 1 additions and 0 deletions

View File

@ -258,6 +258,7 @@ def dino_batch_process(
predictor = SamPredictor(sam)
process_info = ""
install_success = True
all_files = glob.glob(os.path.join(dino_batch_source_dir, "*"))
for image_index, input_image_file in enumerate(all_files):
print(f"Processing {image_index}/{len(all_files)} {input_image_file}")