File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,10 @@ as follows:
23
23
fluid.recordio_writer.convert_reader_to_recordio_file(' ./mnist.recordio' , reader, feeder)
24
24
```
25
25
26
- The above codes would generate a RecordIO ` ./mnist.recordio ` on your host.
26
+ The above code snippet would generate a RecordIO ` ./mnist.recordio ` on your host.
27
+
28
+ ** NOTE** : we recommend users to set ` batch_size=1 ` when generating the recordio files so that users can
29
+ adjust it flexibly while reading it.
27
30
28
31
## Use the RecordIO file in a Local Training Job
29
32
@@ -96,7 +99,7 @@ The above codes would generate multiple RecordIO files on your host like:
96
99
| -mnist-00004.recordio
97
100
```
98
101
99
- 1 . open multiple RecordIO files by ` fluid.layers.io.open_files `
102
+ 2 . open multiple RecordIO files by ` fluid.layers.io.open_files `
100
103
101
104
For a distributed training job, the distributed operator system will schedule trainer process on multiple nodes,
102
105
each trainer process reads parts of the whole training data, we usually take the following approach to make the training
You can’t perform that action at this time.
0 commit comments