-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
我在运行gen_gt_data.py生成08序列的真值文件时代码报错:Traceback (most recent call last):
File "/home/cc/python/OverlapTransformer-master/tools/utils/gen_gt_data.py", line 66, in
all_rows_array = np.array(all_rows)
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (4071,) + inhomogeneous part.原因大概是all_rows的子元素长度不一致,这里如果把all_rows_array = np.array(all_rows)改为all_rows_array = np.array(all_rows,dtype=object)创建对象数组对后续处理会有影响吗?
Metadata
Metadata
Assignees
Labels
No labels