Skip to content
This repository has been archived by the owner on Aug 11, 2023. It is now read-only.

Commit

Permalink
tf: fix strange ground truth values issue
Browse files Browse the repository at this point in the history
close: #38
  • Loading branch information
hhk7734 committed Dec 5, 2020
1 parent 483443f commit 22c12fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py_src/yolov4/tf/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ def save_dataset_for_mAP(

for i in range(num_sample):
# image_path, [[x, y, w, h, class_id], ...]
_dataset = data_set.dataset[i % max_dataset_size]
_dataset = data_set.dataset[i % max_dataset_size].copy()

if images_optional:
image_path = path.join(img_dir_path, "image_{}.jpg".format(i))
Expand Down

0 comments on commit 22c12fa

Please sign in to comment.