Skip to content

Commit

Permalink
Update infer_NVDS_dpt_bi.py
Browse files Browse the repository at this point in the history
  • Loading branch information
RaymondWang987 committed Aug 14, 2023
1 parent edd9838 commit 720a979
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions infer_NVDS_dpt_bi.py
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,7 @@ def gt_png_loader(path):
if min_fwd<dpt_index and min_bwd<dpt_index:
outputs = (fwpred+bwpred)/2
else:
if min_fwd<min_fwd:
if min_fwd<min_bwd:
outputs = fwpred
else:
outputs = bwpred
Expand Down Expand Up @@ -839,4 +839,4 @@ def gt_png_loader(path):





0 comments on commit 720a979

Please sign in to comment.