MCPcopy Create free account

hub / github.com/Shreyz-max/Video-Captioning / functions

Functions27 in github.com/Shreyz-max/Video-Captioning

↓ 2 callersMethodload_dataset
Loads the dataset in batches for training :return: batch of data
train.py:79
↓ 1 callersMethodbeam_search
:param target_seq: the array that is fed into the model to predict the next word :param states_value: previous state that is fed int
predict_realtime.py:68
↓ 1 callersMethodbeam_search
:param target_seq: the array that is fed into the model to predict the next word :param states_value: previous state
predict_test.py:61
↓ 1 callersMethoddecode_sequence2bs
(self, input_seq)
predict_realtime.py:61
↓ 1 callersMethoddecode_sequence2bs
(self, input_seq)
predict_test.py:54
↓ 1 callersMethoddecoded_sentence_tuning
(self, decoded_sentence)
predict_realtime.py:112
↓ 1 callersMethoddecoded_sentence_tuning
(self, decoded_sentence)
predict_test.py:105
↓ 1 callersFunctionextract_feats_pretrained_cnn
saves the numpy features from all the videos
extract_features.py:74
↓ 1 callersFunctionextract_features
:param video: The video whose frames are to be extracted to convert into a numpy array :param model: the pretrained vgg16 model :return:
extract_features.py:47
↓ 1 callersMethodget_test_data
(self)
predict_realtime.py:138
↓ 1 callersMethodget_test_data
loads all the numpy files :return: two lists containing all the video arrays and the video Id
predict_test.py:130
↓ 1 callersMethodgreedy_search
:param f: the loaded numpy array after creating videos to frames and extracting features :return: the final sentence which has been
predict_realtime.py:33
↓ 1 callersMethodgreedy_search
:param f: the loaded numpy array after creating videos to frames and extracting features :return: the final sentence
predict_test.py:28
↓ 1 callersMethodindex_to_word
(self)
predict_realtime.py:133
↓ 1 callersMethodindex_to_word
(self)
predict_test.py:125
↓ 1 callersFunctionload_image
(path)
extract_features.py:41
↓ 1 callersMethodmain
:param filename: the video to load :param caption: final caption :return:
predict_realtime.py:172
↓ 1 callersFunctionmodel_cnn_load
()
extract_features.py:34
↓ 1 callersMethodpreprocessing
Preprocessing the data dumps values of the json file into a list
train.py:47
↓ 1 callersMethodtest
(self)
predict_realtime.py:157
↓ 1 callersMethodtest
writes the captions of all the testing videos in a text file
predict_test.py:147
↓ 1 callersMethodtrain_model
an encoder decoder sequence to sequence model reference : https://arxiv.org/abs/1505.00487
train.py:116
↓ 1 callersFunctionvideo_to_frames
(video)
extract_features.py:11
Method__init__
(self, config)
train.py:22
Method__init__
(self, config)
predict_realtime.py:18
Method__init__
(self, config)
predict_test.py:15
Functioninference_model
Returns the model that will be used for inference
model.py:8