Spaces:
Build error
Build error
anatexis
commited on
Commit
•
0cba37e
1
Parent(s):
a90d782
label corrected
Browse files
app.py
CHANGED
@@ -4,7 +4,132 @@ import skimage
|
|
4 |
|
5 |
learn = load_learner('export_ninjago_classifier.pkl')
|
6 |
|
7 |
-
labels = ['
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
|
9 |
|
10 |
|
|
|
4 |
|
5 |
learn = load_learner('export_ninjago_classifier.pkl')
|
6 |
|
7 |
+
labels = ['Acidicus (Serpentine)',
|
8 |
+
'Acronix (Vermillion)',
|
9 |
+
'Akita (Never-Realm inhabitants)',
|
10 |
+
'Antonia (Recurring allies)',
|
11 |
+
'Ash (Elemental Masters)',
|
12 |
+
'Aspheera (Pyro Vipers)',
|
13 |
+
'Bansha (Ghosts)',
|
14 |
+
'Benthomaar (Merlopians)',
|
15 |
+
'Blunck (Vermillion)',
|
16 |
+
'Bolobo (Elemental Masters)',
|
17 |
+
'Bucko (Sky Pirates)',
|
18 |
+
'Captain Soto (Citizens of Ninjago City)',
|
19 |
+
'Chamille (Elemental Masters)',
|
20 |
+
'Char (Pyro Vipers)',
|
21 |
+
'Chew Toy (Dragon Hunters)',
|
22 |
+
'Chief Mammatus (The Island inhabitants)',
|
23 |
+
'Chope (Anacondrai Cultists)',
|
24 |
+
'Clancee (Sky Pirates)',
|
25 |
+
'Clouse (Anacondrai Cultists)',
|
26 |
+
'Clutch Powers (Recurring allies)',
|
27 |
+
'Cole (Main Characters)',
|
28 |
+
'Cyren (Sky Pirates)',
|
29 |
+
'Cyrus Borg (Recurring allies)',
|
30 |
+
'Daddy No Legs (Dragon Hunters)',
|
31 |
+
'Dareth (Recurring allies)',
|
32 |
+
'Dogshank (Sky Pirates)',
|
33 |
+
'Doubloon (Sky Pirates)',
|
34 |
+
'Dr. Julien (Family members)',
|
35 |
+
'Edna Walker (Family members)',
|
36 |
+
'Ed Walker (Family members)',
|
37 |
+
'Eyezor (Anacondrai Cultists)',
|
38 |
+
'Faith (Dragon Hunters)',
|
39 |
+
'Fangtom (Serpentine)',
|
40 |
+
'Flintlocke (Sky Pirates)',
|
41 |
+
'Fred Finely (Citizens of Ninjago City)',
|
42 |
+
'Fuchsia Ninja (New Ninja)',
|
43 |
+
'Fugi-Dove (Citizens of Ninjago City)',
|
44 |
+
'General Arcturus (Serpentine)',
|
45 |
+
'General Cryptor (Nindroids)',
|
46 |
+
'General Kozu (Stone Army)',
|
47 |
+
'General Vex (Never-Realm inhabitants)',
|
48 |
+
'Ghoultar (Ghosts)',
|
49 |
+
'Gleck (Shintaro Kingdom inhabitants)',
|
50 |
+
'Glutinous (Merlopians)',
|
51 |
+
'Gravis (Elemental Masters)',
|
52 |
+
'Griffin Turner (Elemental Masters)',
|
53 |
+
'Hounddog McBrag (Citizens of Ninjago City)',
|
54 |
+
'Jacob Pevsner (Elemental Masters)',
|
55 |
+
'Jay (Main Characters)',
|
56 |
+
'Jet Jack (Dragon Hunters)',
|
57 |
+
'Kai (Main Characters)',
|
58 |
+
'Kapau (Anacondrai Cultists)',
|
59 |
+
'Karlof (Elemental Masters)',
|
60 |
+
'Khanjikhan (Sky Pirates)',
|
61 |
+
'Killow (Sons of Garmadon)',
|
62 |
+
'King Trimaar (Merlopians)',
|
63 |
+
'King Vangelis_The Skull Sorcerer (Shintaro Kingdom inhabitants)',
|
64 |
+
'Kruncha (Skulkin)',
|
65 |
+
'Krux (Vermillion)',
|
66 |
+
'Lloyd Garmadon (Main Characters)',
|
67 |
+
'Lord Garmadon (Main Characters)',
|
68 |
+
'Luke Cunningham (Sons of Garmadon)',
|
69 |
+
'Machia (Vermillion)',
|
70 |
+
'Master Chen (Anacondrai Cultists)',
|
71 |
+
'Master Wu (Main Characters)',
|
72 |
+
'Maya (Family members)',
|
73 |
+
'Milton Dyer (Prime Empire inhabitants)',
|
74 |
+
'Min-Droid (Nindroids)',
|
75 |
+
'Misako (Family members)',
|
76 |
+
'Mistaké (Recurring allies)',
|
77 |
+
'Mister F (Council of the Crystal King)',
|
78 |
+
'Monkey Wretch (Sky Pirates)',
|
79 |
+
'Morro (Ghosts)',
|
80 |
+
'Mr. E (Sons of Garmadon)',
|
81 |
+
'Murt (Shintaro Kingdom inhabitants)',
|
82 |
+
'Muzzle (Dragon Hunters)',
|
83 |
+
'Nadakhan (Sky Pirates)',
|
84 |
+
'Nelson (Recurring allies)',
|
85 |
+
'Neuro (Elemental Masters)',
|
86 |
+
'Nuckal (Skulkin)',
|
87 |
+
'Nya (Main Characters)',
|
88 |
+
'Officer Toque (Recurring allies)',
|
89 |
+
'Okino (Prime Empire inhabitants)',
|
90 |
+
'Orange Ninja (New Ninja)',
|
91 |
+
'Paleman (Elemental Masters)',
|
92 |
+
'Patty Keys (Citizens of Ninjago City)',
|
93 |
+
'Pink Ninja (New Ninja)',
|
94 |
+
'P.I.X.A.L. (Main Characters)',
|
95 |
+
'Police Commissioner (Recurring allies)',
|
96 |
+
'Postman (Citizens of Ninjago City)',
|
97 |
+
'Prince Kalmaar (Merlopians)',
|
98 |
+
'Princess Harumi (Sons of Garmadon)',
|
99 |
+
'Princess Vania (Shintaro Kingdom inhabitants)',
|
100 |
+
'Pythor P. Chumsworth (Serpentine)',
|
101 |
+
'Raggmunk (Vermillion)',
|
102 |
+
'Ray (Family members)',
|
103 |
+
'Ronin (Recurring allies)',
|
104 |
+
'Rufus MacAllister (Citizens of Ninjago City)',
|
105 |
+
'Samukai (Skulkin)',
|
106 |
+
'Scott (Prime Empire inhabitants)',
|
107 |
+
'Sensei_Master Kodokuna Yang (Ghosts)',
|
108 |
+
'Shade (Elemental Masters)',
|
109 |
+
'Skales (Serpentine)',
|
110 |
+
'Skalidor (Serpentine)',
|
111 |
+
'Skylor Chen (Elemental Masters)',
|
112 |
+
'Slithraa (Serpentine)',
|
113 |
+
'Soul Archer (Ghosts)',
|
114 |
+
'Squiffy (Sky Pirates)',
|
115 |
+
'Sushimi (Prime Empire inhabitants)',
|
116 |
+
'The First Spinjitzu Master (Family members)',
|
117 |
+
'The Great Devourer (Serpentine)',
|
118 |
+
'The Ice Emperor (Never-Realm inhabitants)',
|
119 |
+
'The Iron Baron (Dragon Hunters)',
|
120 |
+
'The Mechanic (Prime Empire inhabitants)',
|
121 |
+
'The Omega (Oni)',
|
122 |
+
'The Overlord (Stone Army)',
|
123 |
+
'The Preeminent (Ghosts)',
|
124 |
+
'Timothy "Twitchy Tim" Batterson (The Island inhabitants)',
|
125 |
+
'Tox (Elemental Masters)',
|
126 |
+
'Ultra Violet (Sons of Garmadon)',
|
127 |
+
'Unagami (Prime Empire inhabitants)',
|
128 |
+
'Wrayth (Ghosts)',
|
129 |
+
'Wyplash (Skulkin)',
|
130 |
+
'Zane (Main Characters)',
|
131 |
+
'Zugu (Anacondrai Cultists)']
|
132 |
+
|
133 |
|
134 |
|
135 |
|