MCPcopy Create free account

hub / github.com/avisingh599/visual-qa / functions

Functions20 in github.com/avisingh599/visual-qa

↓ 20 callersFunctiongrouper
(iterable, n, fillvalue=None)
scripts/utils.py:25
↓ 7 callersFunctionget_images_matrix
Gets the 4096-dimensional CNN features for the given COCO images Input: img_coco_ids: A list of strings, each string corresponding to t
scripts/features.py:68
↓ 7 callersFunctionget_questions_tensor_timeseries
Returns a time series of word vectors for tokens in the question Input: questions: list of unicode objects nlp: an instance of the class English
scripts/features.py:5
↓ 4 callersFunctionget_answers_matrix
Converts string objects to class labels Input: answers: a list of unicode objects encoder: a scikit-learn LabelEncoder object Output: A numpy
scripts/features.py:51
↓ 4 callersFunctionselectFrequentAnswers
(questions_train, answers_train, images_train, maxAnswers)
scripts/utils.py:5
↓ 2 callersFunctionget_questions_matrix_sum
Sums the word vectors of all the tokens in a question Input: questions: list of unicode objects nlp: an instance of the class English() from sp
scripts/features.py:29
↓ 1 callersFunctionbatch_predict
(filenames, net)
scripts/extract_features.py:31
↓ 1 callersFunctiongetAllAnswer
(answers)
scripts/dumpText.py:17
↓ 1 callersFunctiongetModalAnswer
(answers)
scripts/dumpText.py:7
↓ 1 callersFunctionmain
()
experiments/generate_submission_test.py:16
↓ 1 callersFunctionmain
()
experiments/train_lstm_1_vqa_test.py:22
↓ 1 callersFunctionmain
()
scripts/trainLSTM_1.py:21
↓ 1 callersFunctionmain
Before runnning this demo ensure that you have some images from the MS COCO validation set saved somewhere, and update the image_dir variable accor
scripts/demo_batch.py:17
↓ 1 callersFunctionmain
()
scripts/evaluateMLP.py:14
↓ 1 callersFunctionmain
()
scripts/trainMLP.py:21
↓ 1 callersFunctionmain
()
scripts/dumpText.py:24
↓ 1 callersFunctionmain
()
scripts/evaluateLSTM.py:13
↓ 1 callersFunctionmain
()
scripts/trainLSTM_language.py:20
↓ 1 callersFunctionmain
()
scripts/own_image.py:17
↓ 1 callersFunctionpredict
(in_data, net)
scripts/extract_features.py:24