Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/avisingh599/visual-qa
/ functions
Functions
20 in github.com/avisingh599/visual-qa
⨍
Functions
20
◇
Types & classes
0
↓ 20 callers
Function
grouper
(iterable, n, fillvalue=None)
scripts/utils.py:25
↓ 7 callers
Function
get_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 callers
Function
get_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 callers
Function
get_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 callers
Function
selectFrequentAnswers
(questions_train, answers_train, images_train, maxAnswers)
scripts/utils.py:5
↓ 2 callers
Function
get_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 callers
Function
batch_predict
(filenames, net)
scripts/extract_features.py:31
↓ 1 callers
Function
getAllAnswer
(answers)
scripts/dumpText.py:17
↓ 1 callers
Function
getModalAnswer
(answers)
scripts/dumpText.py:7
↓ 1 callers
Function
main
()
experiments/generate_submission_test.py:16
↓ 1 callers
Function
main
()
experiments/train_lstm_1_vqa_test.py:22
↓ 1 callers
Function
main
()
scripts/trainLSTM_1.py:21
↓ 1 callers
Function
main
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 callers
Function
main
()
scripts/evaluateMLP.py:14
↓ 1 callers
Function
main
()
scripts/trainMLP.py:21
↓ 1 callers
Function
main
()
scripts/dumpText.py:24
↓ 1 callers
Function
main
()
scripts/evaluateLSTM.py:13
↓ 1 callers
Function
main
()
scripts/trainLSTM_language.py:20
↓ 1 callers
Function
main
()
scripts/own_image.py:17
↓ 1 callers
Function
predict
(in_data, net)
scripts/extract_features.py:24