qgyd2021 commited on
Commit
92aad04
·
1 Parent(s): 47126d8

[update]add data

Browse files
Files changed (1) hide show
  1. wechat_or_qq_icon_detection.py +5 -1
wechat_or_qq_icon_detection.py CHANGED
@@ -27,6 +27,10 @@ _CATEGORIES = [
27
  "绿底全白微信图标", "大绿小白微信图标", "纯色微信图标", "纯色QQ图标"
28
  ]
29
 
 
 
 
 
30
 
31
  class TelemarketingVoiceClassification(datasets.GeneratorBasedBuilder):
32
  VERSION = datasets.Version("1.0.0")
@@ -97,7 +101,7 @@ class TelemarketingVoiceClassification(datasets.GeneratorBasedBuilder):
97
  "image_id": image_path.name,
98
  "image": {"path": image_path.as_posix(), "bytes": image_bytes},
99
  "objects": objects,
100
- "source": source,
101
  }
102
  idx += 1
103
  source = 0
 
27
  "绿底全白微信图标", "大绿小白微信图标", "纯色微信图标", "纯色QQ图标"
28
  ]
29
 
30
+ _SOURCE = [
31
+ "游戏截图", "百度图片"
32
+ ]
33
+
34
 
35
  class TelemarketingVoiceClassification(datasets.GeneratorBasedBuilder):
36
  VERSION = datasets.Version("1.0.0")
 
101
  "image_id": image_path.name,
102
  "image": {"path": image_path.as_posix(), "bytes": image_bytes},
103
  "objects": objects,
104
+ "source": _SOURCE[source],
105
  }
106
  idx += 1
107
  source = 0