Skip to content
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
2 changes: 1 addition & 1 deletion ferret/eval/eval_flickr_entities.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def decode_bbox_from_caption(text, img_w, img_h, verbose=False):
start = i + 1

# Convert box string to list of integers
box_list = list(map(int, box.split(',')))
box_list = [int(coord) for coord in box.split(',')]
resized_box_list = resize_bbox(box_list, img_w, img_h)
entities.append(entity)
boxes.append(resized_box_list)
Expand Down