-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
All my code files 1-4 and dataset files in the same directory but when I am trying to fetch the data like bbox_list.txt for which I run the first part but getting an error in these lines
try:
bbox_file = open( bbox_path , 'r')
except Exception:
print 'get_bbox() error'
bbox_data = bbox_file.readlines()
for d, i in tqdm(zip(bbox_data[2:],range(bbox_data.len()-2))):
s = d.split()
p = data_path + s[0]
bbox_loca = []
for a in s[1:]:
bbox_loca.append(int(a))
img_bbox[p] = bbox_loca
bbox_file.close()
output error =
File "", line 6
print 'get_bbox() error'
^
SyntaxError: invalid syntax
Any solution
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels