質問編集履歴
1
コードの囲み 修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,8 +1,20 @@
|
|
1
|
-
python3.6
|
1
|
+
```python3.6
|
2
|
+
|
2
|
-
|
3
|
+
#!/usr/bin/env python
|
4
|
+
|
5
|
+
"""Example code of learning a large scale convnet from ILSVRC2012 dataset.
|
6
|
+
|
7
|
+
Prerequisite: To run this example, crop the center of ILSVRC2012 training and
|
8
|
+
|
9
|
+
validation images, scale them to 256x256 and convert them to RGB, and make
|
10
|
+
|
11
|
+
two lists of space-separated CSV whose first column is full path to image and
|
12
|
+
|
13
|
+
second column is zero-origin label (this format is same as that used by Caffe's
|
14
|
+
|
3
|
-
|
15
|
+
ImageDataLayer).
|
16
|
+
|
4
|
-
|
17
|
+
"""
|
5
|
-
|
6
18
|
|
7
19
|
from __future__ import print_function
|
8
20
|
|
@@ -323,3 +335,5 @@
|
|
323
335
|
if __name__ == '__main__':
|
324
336
|
|
325
337
|
main()
|
338
|
+
|
339
|
+
```
|