DeepSign is a new deep-learning architecture which achieves comparable results with limited training data for Sign Language Recognition.
- This is the folder where the training code is and the testing code is.
- It has following files:
-
train_auto_encoder_1.py
- This file consist the code which trains the auto-encoder.
- This auto encoder is Model-1.
-
train_bi_lstm.py
- This file consist the code which trains the bi-directional LSTM.
- This bi-directio2nal LSTM is Model-2.
- This file also loads the Model-1 and only takes output from enocder of Model-1 to bi-directional LSTM.
-
train_lstm.py
- This file consist the code which trains the uni-directional LSTM.
- This uni-directio2nal LSTM is Model-2.
- This file also loads the Model-1 and only takes output from enocder of Model-1 to uni-directional LSTM.
-
train_vae.py
- This file consist the code which trains the variational auto-encoder.
- This auto encoder is Model-1.
-
test_bi_lstm.py
- This file consists of the code which does inference of bi-directional LSTM.
- This file loads the freezed model and does predictions on test data.
-
test_lstm.py
- This file consists of the code which does inference of uni-directional LSTM.
- This file loads the freezed model and does predictions on test data.
-
-
auto_encoder_1.py
- This file consist the architecture of auto-encoder.
- This auto-encoder is Model-1.
- It is 10 Layered encoder and 15 layered decoder.
- The file also defines the cost function and the optimizer.
- This file is used by
train_auto_encoder_1.py
ofcore
module.
-
bi_lstm.py
- This file consist the architecture of bi-directional lstm.
- This bi-directional lstm is Model-2.
- The file also defines the cost function and the optimizer.
- This file is used by
train_bi_lstm.py
ofcore
module.
-
lstm.py
- This file consist the architecture of uni-directional lstm.
- This bi-directional lstm is Model-2.
- The file also defines the cost function and the optimizer.
- This file is used by
train_lstm.py
ofcore
module.
-
vae.py
- This file consist the architecture of auto-encoder.
- This variational auto-encoder is Model-1.
- The file also defines the cost function and the optimizer.
- This file is used by
train_auto_encoder_1.py
ofcore
module.
-
constants.py
- This file consists of constant.py
- It has defined path to data folder and models
- Only this file needs to be changed if you want to use a custom path with in the project
-
cv_utils.py
- contains all the
OPENCV
functions that are commonly used by files in thecore
module. - functions like reading frames, converting image to black and white, resizinng video frame.
- contains all the
-
os_utils.py
- contains all the
os
module functions that are commonly used by files in thecore
module. - functions like iteratng a directory, creating a folder, joining paths.
- contains all the
-
utility.py
- contains all the functions that are commonly used by files in the
core
module. - functions like
freeze_model
,prepare_batch_frames_from_bg_data
,load_a_frozen_model
.
- contains all the functions that are commonly used by files in the