Skip to content

Commit

Permalink
fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
divyegala committed Oct 18, 2023
1 parent f7835fa commit 07385df
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@


def split_groundtruth(groundtruth_filepath):
ann_bench_scripts_path = "split_groundtruth.pl"
ann_bench_scripts_path = \
os.path.join(os.path.dirname(os.path.realpath(__file__)),
"split_groundtruth.pl")
pwd = os.getcwd()
os.chdir("/".join(groundtruth_filepath.split("/")[:-1]))
groundtruth_filename = groundtruth_filepath.split("/")[-1]
Expand Down

0 comments on commit 07385df

Please sign in to comment.