pcuenq HF staff commited on
Commit
e7599ee
·
1 Parent(s): bcfb280

Update notebook

Browse files
Files changed (1) hide show
  1. torch2_benchmark.ipynb +1 -188
torch2_benchmark.ipynb CHANGED
@@ -89,200 +89,13 @@
89
  "mpl.rcParams.update({'font.size': 15})"
90
  ]
91
  },
92
- {
93
- "cell_type": "code",
94
- "execution_count": 128,
95
- "metadata": {
96
- "scrolled": true
97
- },
98
- "outputs": [
99
- {
100
- "data": {
101
- "text/plain": [
102
- "['magma',\n",
103
- " 'inferno',\n",
104
- " 'plasma',\n",
105
- " 'viridis',\n",
106
- " 'cividis',\n",
107
- " 'twilight',\n",
108
- " 'twilight_shifted',\n",
109
- " 'turbo',\n",
110
- " 'Blues',\n",
111
- " 'BrBG',\n",
112
- " 'BuGn',\n",
113
- " 'BuPu',\n",
114
- " 'CMRmap',\n",
115
- " 'GnBu',\n",
116
- " 'Greens',\n",
117
- " 'Greys',\n",
118
- " 'OrRd',\n",
119
- " 'Oranges',\n",
120
- " 'PRGn',\n",
121
- " 'PiYG',\n",
122
- " 'PuBu',\n",
123
- " 'PuBuGn',\n",
124
- " 'PuOr',\n",
125
- " 'PuRd',\n",
126
- " 'Purples',\n",
127
- " 'RdBu',\n",
128
- " 'RdGy',\n",
129
- " 'RdPu',\n",
130
- " 'RdYlBu',\n",
131
- " 'RdYlGn',\n",
132
- " 'Reds',\n",
133
- " 'Spectral',\n",
134
- " 'Wistia',\n",
135
- " 'YlGn',\n",
136
- " 'YlGnBu',\n",
137
- " 'YlOrBr',\n",
138
- " 'YlOrRd',\n",
139
- " 'afmhot',\n",
140
- " 'autumn',\n",
141
- " 'binary',\n",
142
- " 'bone',\n",
143
- " 'brg',\n",
144
- " 'bwr',\n",
145
- " 'cool',\n",
146
- " 'coolwarm',\n",
147
- " 'copper',\n",
148
- " 'cubehelix',\n",
149
- " 'flag',\n",
150
- " 'gist_earth',\n",
151
- " 'gist_gray',\n",
152
- " 'gist_heat',\n",
153
- " 'gist_ncar',\n",
154
- " 'gist_rainbow',\n",
155
- " 'gist_stern',\n",
156
- " 'gist_yarg',\n",
157
- " 'gnuplot',\n",
158
- " 'gnuplot2',\n",
159
- " 'gray',\n",
160
- " 'hot',\n",
161
- " 'hsv',\n",
162
- " 'jet',\n",
163
- " 'nipy_spectral',\n",
164
- " 'ocean',\n",
165
- " 'pink',\n",
166
- " 'prism',\n",
167
- " 'rainbow',\n",
168
- " 'seismic',\n",
169
- " 'spring',\n",
170
- " 'summer',\n",
171
- " 'terrain',\n",
172
- " 'winter',\n",
173
- " 'Accent',\n",
174
- " 'Dark2',\n",
175
- " 'Paired',\n",
176
- " 'Pastel1',\n",
177
- " 'Pastel2',\n",
178
- " 'Set1',\n",
179
- " 'Set2',\n",
180
- " 'Set3',\n",
181
- " 'tab10',\n",
182
- " 'tab20',\n",
183
- " 'tab20b',\n",
184
- " 'tab20c',\n",
185
- " 'magma_r',\n",
186
- " 'inferno_r',\n",
187
- " 'plasma_r',\n",
188
- " 'viridis_r',\n",
189
- " 'cividis_r',\n",
190
- " 'twilight_r',\n",
191
- " 'twilight_shifted_r',\n",
192
- " 'turbo_r',\n",
193
- " 'Blues_r',\n",
194
- " 'BrBG_r',\n",
195
- " 'BuGn_r',\n",
196
- " 'BuPu_r',\n",
197
- " 'CMRmap_r',\n",
198
- " 'GnBu_r',\n",
199
- " 'Greens_r',\n",
200
- " 'Greys_r',\n",
201
- " 'OrRd_r',\n",
202
- " 'Oranges_r',\n",
203
- " 'PRGn_r',\n",
204
- " 'PiYG_r',\n",
205
- " 'PuBu_r',\n",
206
- " 'PuBuGn_r',\n",
207
- " 'PuOr_r',\n",
208
- " 'PuRd_r',\n",
209
- " 'Purples_r',\n",
210
- " 'RdBu_r',\n",
211
- " 'RdGy_r',\n",
212
- " 'RdPu_r',\n",
213
- " 'RdYlBu_r',\n",
214
- " 'RdYlGn_r',\n",
215
- " 'Reds_r',\n",
216
- " 'Spectral_r',\n",
217
- " 'Wistia_r',\n",
218
- " 'YlGn_r',\n",
219
- " 'YlGnBu_r',\n",
220
- " 'YlOrBr_r',\n",
221
- " 'YlOrRd_r',\n",
222
- " 'afmhot_r',\n",
223
- " 'autumn_r',\n",
224
- " 'binary_r',\n",
225
- " 'bone_r',\n",
226
- " 'brg_r',\n",
227
- " 'bwr_r',\n",
228
- " 'cool_r',\n",
229
- " 'coolwarm_r',\n",
230
- " 'copper_r',\n",
231
- " 'cubehelix_r',\n",
232
- " 'flag_r',\n",
233
- " 'gist_earth_r',\n",
234
- " 'gist_gray_r',\n",
235
- " 'gist_heat_r',\n",
236
- " 'gist_ncar_r',\n",
237
- " 'gist_rainbow_r',\n",
238
- " 'gist_stern_r',\n",
239
- " 'gist_yarg_r',\n",
240
- " 'gnuplot_r',\n",
241
- " 'gnuplot2_r',\n",
242
- " 'gray_r',\n",
243
- " 'hot_r',\n",
244
- " 'hsv_r',\n",
245
- " 'jet_r',\n",
246
- " 'nipy_spectral_r',\n",
247
- " 'ocean_r',\n",
248
- " 'pink_r',\n",
249
- " 'prism_r',\n",
250
- " 'rainbow_r',\n",
251
- " 'seismic_r',\n",
252
- " 'spring_r',\n",
253
- " 'summer_r',\n",
254
- " 'terrain_r',\n",
255
- " 'winter_r',\n",
256
- " 'Accent_r',\n",
257
- " 'Dark2_r',\n",
258
- " 'Paired_r',\n",
259
- " 'Pastel1_r',\n",
260
- " 'Pastel2_r',\n",
261
- " 'Set1_r',\n",
262
- " 'Set2_r',\n",
263
- " 'Set3_r',\n",
264
- " 'tab10_r',\n",
265
- " 'tab20_r',\n",
266
- " 'tab20b_r',\n",
267
- " 'tab20c_r']"
268
- ]
269
- },
270
- "execution_count": 128,
271
- "metadata": {},
272
- "output_type": "execute_result"
273
- }
274
- ],
275
- "source": [
276
- "list(mpl.colormaps.keys())"
277
- ]
278
- },
279
  {
280
  "cell_type": "code",
281
  "execution_count": 186,
282
  "metadata": {},
283
  "outputs": [],
284
  "source": [
285
- "my_cmap = mpl.colormaps['viridis'] # TODO: use materials, maybe."
286
  ]
287
  },
288
  {
 
89
  "mpl.rcParams.update({'font.size': 15})"
90
  ]
91
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
92
  {
93
  "cell_type": "code",
94
  "execution_count": 186,
95
  "metadata": {},
96
  "outputs": [],
97
  "source": [
98
+ "# my_cmap = mpl.colormaps['viridis'] # TODO: use materials, maybe."
99
  ]
100
  },
101
  {