attribute 字段名规范
This commit is contained in:
@@ -111,7 +111,7 @@ class AttributeRecognition:
|
|||||||
attr_dict = {}
|
attr_dict = {}
|
||||||
category = 'bottom'
|
category = 'bottom'
|
||||||
attr_dict['Item'] = category
|
attr_dict['Item'] = category
|
||||||
attr_dict['BTM_Type'] = ['Pants']
|
attr_dict['Type'] = ['Pants']
|
||||||
for i in range(len(args.bottom_discription_list)):
|
for i in range(len(args.bottom_discription_list)):
|
||||||
attr_description = args.bottom_discription_list[i]
|
attr_description = args.bottom_discription_list[i]
|
||||||
attr_model_path = args.bottom_model_list[i]
|
attr_model_path = args.bottom_model_list[i]
|
||||||
@@ -119,7 +119,7 @@ class AttributeRecognition:
|
|||||||
attr_dict = Merge(attr_dict, present_dict)
|
attr_dict = Merge(attr_dict, present_dict)
|
||||||
|
|
||||||
elif category == 'skirt':
|
elif category == 'skirt':
|
||||||
attr_dict = {'BTM_Type': ['Skirt']}
|
attr_dict = {'Type': ['Skirt']}
|
||||||
category = 'bottom'
|
category = 'bottom'
|
||||||
attr_dict['Item'] = category
|
attr_dict['Item'] = category
|
||||||
for i in range(len(args.bottom_discription_list)):
|
for i in range(len(args.bottom_discription_list)):
|
||||||
|
|||||||
Reference in New Issue
Block a user