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

minor correction in line no.116 #37

Open
wants to merge 1 commit into
base: pytorch-version
Choose a base branch
from
Open
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
4 changes: 2 additions & 2 deletions tools/testing_kitti00.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def eval(self):
true_negative = true_negative + 1
elif (not (max_idx in gt_idxes)) and max_overlap > thresh:
false_positive = false_positive + 1
elif max_idx in gt_idxes > thresh and max_overlap < thresh:
elif max_idx in gt_idxes and max_overlap < thresh:
false_negative = false_negative + 1
# used_num = used_num + 1
recall = true_positive / (true_positive + false_negative+1e-4)
Expand Down Expand Up @@ -159,4 +159,4 @@ def eval(self):
data_root_folder = data_root_folder, features_folder=features_folder,
ground_truth_file_name=ground_truth_file_name, pre_trained_weights=pretrained_model)

test_handler.eval()
test_handler.eval()