aaronmarkham commented on a change in pull request #13647: Update lip reading 
example
URL: https://github.com/apache/incubator-mxnet/pull/13647#discussion_r244101295
 
 

 ##########
 File path: example/gluon/lipnet/README.md
 ##########
 @@ -0,0 +1,110 @@
+# LipNet: End-to-End Sentence-level Lipreading
+
+---
+
+Gluon inplementation of [LipNet: End-to-End Sentence-level 
Lipreading](https://arxiv.org/abs/1611.01599)
+
+![net_structure](asset/network_structure.png)
+
+## Requirements
+- Python 3.6.4
+- MXnet 1.3.0
+
+
+## Test Environment
+- 4 CPU cores
+- 1 GPU (Tesla K80 12GB)
+
+
+## The Data
+- The GRID audiovisual sentence corpus 
(http://spandh.dcs.shef.ac.uk/gridcorpus/)
+- Video: (normal)(480 M each)
+- Align: word alignments(190 K each) 
+
+## Prepare the Data
+### Download the data
+- arguments
+  - src_path : Path for videos (default='./data/mp4s/')
+  - align_path : Path for aligns (default='./data/align/')
+  - n_process : num of process (default=1)
+
+```
+cd ./utils && python download_data.py
+```
+
+### Preprocess the Data: Extracting the mouth images from a video and save it.
+- arguments
+  - src_path : Path for videos (default='./data/mp4s/')
+  - tgt_path : Path for preprocessed images (default='./data/datasets/')
+  - n_process : num of process (default=1)
+
+```
+cd ./utils && python preprocess_data.py
+```
+
+## Data Structure
+
+```
+The training data folder should look like : 
+<train_data_root>
+                |--datasets
+                        |--s1
+                           |--bbir7s
+                               |--mouth_000.png
+                               |--mouth_001.png
+                                   ...
+                           |--bgaa8p
+                               |--mouth_000.png
+                               |--mouth_001.png
+                                  ...
+                        |--s2
+                            ...
+                 |--align
+                         |--bw1d8a.align
+                         |--bggzzs.align
+                             ...
+
+```
+
+
+## Training
+
+- arguments
+  - batch_size : Define batch size (defualt=64)
 
 Review comment:
   ```suggestion
     - batch_size : Define batch size (default=64)
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to