iakarshu commited on
Commit
5250211
1 Parent(s): e9fc0b6

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -12,7 +12,7 @@ def find_pad_idx(boxes):
12
 
13
 
14
 
15
- def apply_mask_on_token_bbox(boxes, tokenized_words, only_actual_words = False, span = 4, proportion_to_mask = 0.15, special_token = 103):
16
 
17
  # '''
18
  # code taken from here: https://www.geeksforgeeks.org/python-non-overlapping-random-ranges/
 
12
 
13
 
14
 
15
+ # def apply_mask_on_token_bbox(boxes, tokenized_words, only_actual_words = False, span = 4, proportion_to_mask = 0.15, special_token = 103):
16
 
17
  # '''
18
  # code taken from here: https://www.geeksforgeeks.org/python-non-overlapping-random-ranges/