Skip to content

Commit

Permalink
[FIX] bad compute with parenthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
wbenbihi committed Dec 6, 2020
1 parent 29b4a72 commit c80ca86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dataset/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def extract_coordinates_and_filenames(
joint_format_regex = dataset.description.joints.column_format.format(
JOINTNUMBER="[0-9]*", IDVISIBILITY="(x|y)"
)
filenames = (dataset.images_folder) + "/" + df[image_column].tolist()
filenames = (dataset.images_folder + "/" + df[image_column]).tolist()
coordinates = df.filter(regex=joint_format_regex).values.reshape(
(-1, dataset.description.n_joints, 2)
)
Expand Down

0 comments on commit c80ca86

Please sign in to comment.