Skip to content

Commit 084f118

Browse files
committed
fix
1 parent c128a5f commit 084f118

File tree

1 file changed

+53
-11
lines changed

1 file changed

+53
-11
lines changed

_doc/practice/ml/pretraitement_image.ipynb

Lines changed: 53 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
},
2121
{
2222
"cell_type": "code",
23-
"execution_count": 11,
23+
"execution_count": 1,
2424
"metadata": {},
2525
"outputs": [
2626
{
@@ -29,7 +29,7 @@
2929
"(dtype('uint8'), (583, 800, 3))"
3030
]
3131
},
32-
"execution_count": 11,
32+
"execution_count": 1,
3333
"metadata": {},
3434
"output_type": "execute_result"
3535
}
@@ -52,7 +52,7 @@
5252
},
5353
{
5454
"cell_type": "code",
55-
"execution_count": 12,
55+
"execution_count": 2,
5656
"metadata": {},
5757
"outputs": [
5858
{
@@ -63,7 +63,7 @@
6363
"<PIL.JpegImagePlugin.JpegImageFile image mode=RGB size=800x583>"
6464
]
6565
},
66-
"execution_count": 12,
66+
"execution_count": 2,
6767
"metadata": {},
6868
"output_type": "execute_result"
6969
}
@@ -84,7 +84,7 @@
8484
},
8585
{
8686
"cell_type": "code",
87-
"execution_count": 13,
87+
"execution_count": 3,
8888
"metadata": {},
8989
"outputs": [
9090
{
@@ -138,13 +138,55 @@
138138
},
139139
{
140140
"cell_type": "code",
141-
"execution_count": 14,
141+
"execution_count": 4,
142142
"metadata": {},
143143
"outputs": [
144144
{
145145
"data": {
146146
"application/vnd.jupyter.widget-view+json": {
147-
"model_id": "8dcb7b36a38a436983c7b72c396dbe68",
147+
"model_id": "dc748720a2bb477cb4da52a810ac685e",
148+
"version_major": 2,
149+
"version_minor": 0
150+
},
151+
"text/plain": [
152+
"preprocessor_config.json: 0%| | 0.00/406 [00:00<?, ?B/s]"
153+
]
154+
},
155+
"metadata": {},
156+
"output_type": "display_data"
157+
},
158+
{
159+
"data": {
160+
"application/vnd.jupyter.widget-view+json": {
161+
"model_id": "746c1886d7714dfd831ca59f25b21b51",
162+
"version_major": 2,
163+
"version_minor": 0
164+
},
165+
"text/plain": [
166+
"config.json: 0.00B [00:00, ?B/s]"
167+
]
168+
},
169+
"metadata": {},
170+
"output_type": "display_data"
171+
},
172+
{
173+
"data": {
174+
"application/vnd.jupyter.widget-view+json": {
175+
"model_id": "a2b49cc5592149bc9fb85c8d34ab18c7",
176+
"version_major": 2,
177+
"version_minor": 0
178+
},
179+
"text/plain": [
180+
"model.safetensors: 0%| | 0.00/14.2M [00:00<?, ?B/s]"
181+
]
182+
},
183+
"metadata": {},
184+
"output_type": "display_data"
185+
},
186+
{
187+
"data": {
188+
"application/vnd.jupyter.widget-view+json": {
189+
"model_id": "5641a134f46541e1ba815042622279e9",
148190
"version_major": 2,
149191
"version_minor": 0
150192
},
@@ -159,14 +201,14 @@
159201
"name": "stderr",
160202
"output_type": "stream",
161203
"text": [
162-
"\u001b[1mMobileNetV2Model LOAD REPORT\u001b[0m from: google/mobilenet_v2_1.0_224\n",
204+
"[transformers] \u001b[1mMobileNetV2Model LOAD REPORT\u001b[0m from: google/mobilenet_v2_1.0_224\n",
163205
"Key | Status | | \n",
164206
"------------------+------------+--+-\n",
165207
"classifier.weight | UNEXPECTED | | \n",
166208
"classifier.bias | UNEXPECTED | | \n",
167209
"\n",
168-
"\u001b[3mNotes:\n",
169-
"- UNEXPECTED\u001b[3m\t:can be ignored when loading from different task/architecture; not ok if you expect identical arch.\u001b[0m\n"
210+
"Notes:\n",
211+
"- UNEXPECTED:\tcan be ignored when loading from different task/architecture; not ok if you expect identical arch.\n"
170212
]
171213
}
172214
],
@@ -188,7 +230,7 @@
188230
},
189231
{
190232
"cell_type": "code",
191-
"execution_count": 15,
233+
"execution_count": 5,
192234
"metadata": {},
193235
"outputs": [
194236
{

0 commit comments

Comments
 (0)