Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/danieljl/keras-image-captioning
/ functions
Functions
324 in github.com/danieljl/keras-image-captioning
⨍
Functions
324
◇
Types & classes
69
↓ 1 callers
Method
evaluate_test_set
(self, include_prediction=False)
keras_image_captioning/inference.py:55
↓ 1 callers
Function
flatten_list_2d
(list_2d)
keras_image_captioning/common_utils.py:29
↓ 1 callers
Function
get_word_vector_class
(name)
keras_image_captioning/word_vectors.py:76
↓ 1 callers
Function
main
(training_label, from_training_dir=None, load_model_weights=False, log_metrics_peri
keras_image_captioning/training.py:250
↓ 1 callers
Function
my_lcs
Calculates longest common subsequence for a pair of tokenized strings :param string : list of str : tokens from a string split using whitespa
pycocoevalcap/rouge/rouge.py:13
↓ 1 callers
Method
predict_test_set
(self, include_datum=True)
keras_image_captioning/inference.py:42
↓ 1 callers
Method
predict_validation_set
(self, include_datum=True)
keras_image_captioning/inference.py:37
↓ 1 callers
Method
ratio
(self, option=None)
pycocoevalcap/bleu/bleu_scorer.py:122
↓ 1 callers
Method
retest
(self, new_test)
pycocoevalcap/bleu/bleu_scorer.py:141
↓ 1 callers
Method
run
Start the hyperparameter search.
keras_image_captioning/hyperparam_search.py:75
↓ 1 callers
Method
score_ratio
return (bleu, len_ratio) pair
pycocoevalcap/bleu/bleu_scorer.py:126
↓ 1 callers
Method
stop_training
(self)
keras_image_captioning/training.py:114
↓ 1 callers
Method
training_label
(self)
keras_image_captioning/hyperparam_search.py:171
↓ 1 callers
Method
validation_set
(self)
keras_image_captioning/datasets.py:29
↓ 1 callers
Function
write_to_file
(config, yaml_path)
keras_image_captioning/config.py:306
Method
EOS_TOKEN_LABEL_ENCODED
(self)
keras_image_captioning/preprocessors.py:70
Method
__del__
(self)
pycocoevalcap/meteor/meteor.py:75
Method
__iadd__
add an instance (e.g., from another sentence).
pycocoevalcap/bleu/bleu_scorer.py:161
Method
__iadd__
add an instance (e.g., from another sentence).
pycocoevalcap/cider/cider_scorer.py:82
Method
__init__
(self)
pycocoevalcap/meteor/meteor.py:17
Method
__init__
(self)
pycocoevalcap/rouge/rouge.py:41
Method
__init__
singular instance
pycocoevalcap/bleu/bleu_scorer.py:100
Method
__init__
(self, n=4)
pycocoevalcap/bleu/bleu.py:15
Method
__init__
(self, test=None, refs=None, n=4, sigma=6.0)
pycocoevalcap/cider/cider.py:18
Method
__init__
singular instance
pycocoevalcap/cider/cider_scorer.py:58
Method
__init__
(self, vocab_words, initializer)
keras_image_captioning/word_vectors.py:10
Method
__init__
(self, vocab_words, initializer)
keras_image_captioning/word_vectors.py:65
Method
__init__
(self, config)
keras_image_captioning/config.py:80
Method
__init__
Args fixed_config_keys: dataset_name must exist; epochs xor time_limit must exist
keras_image_captioning/config.py:143
Method
__init__
(self, fixed_config_keys)
keras_image_captioning/config.py:190
Method
__init__
(self, fixed_config_keys)
keras_image_captioning/config.py:216
Method
__init__
(self, fixed_config_keys)
keras_image_captioning/config.py:233
Method
__init__
(self, fixed_config_keys)
keras_image_captioning/config.py:260
Method
__init__
(self, image_augmentation=None)
keras_image_captioning/preprocessors.py:18
Method
__init__
If an arg is None, it will get its value from config.active_config. Args: rare_words_handling: {'nothing'|'discard'|'change
keras_image_captioning/preprocessors.py:54
Method
__init__
If an arg is None, it will get its value from config.active_config.
keras_image_captioning/dataset_providers.py:15
Method
__init__
If an arg is None, it will get its value from config.active_config.
keras_image_captioning/models.py:21
Method
__init__
(self, score_name, implementation)
keras_image_captioning/metrics.py:13
Method
__init__
(self)
keras_image_captioning/metrics.py:48
Method
__init__
(self)
keras_image_captioning/metrics.py:54
Method
__init__
(self)
keras_image_captioning/metrics.py:73
Method
__init__
(self, lemmatize_caption, single_caption=False)
keras_image_captioning/datasets.py:73
Method
__init__
(self, value)
keras_image_captioning/callbacks.py:27
Method
__init__
(self, timedelta, verbose=0)
keras_image_captioning/callbacks.py:63
Method
__init__
(self, ratio, patience=0, verbose=0)
keras_image_captioning/callbacks.py:86
Method
__init__
(self, training_label_prefix, dataset_name=None, epochs=Non
keras_image_captioning/hyperparam_search.py:24
Method
__init__
(self, training_label, config, gpu_index,
keras_image_captioning/hyperparam_search.py:153
Method
__init__
(self, keras_model, dataset_provider)
keras_image_captioning/inference.py:26
Method
__init__
(self, keras_model, beam_size=3, max_caption_length=20)
keras_image_captioning/inference.py:117
Method
__init__
(self, batch_size, n)
keras_image_captioning/inference.py:211
Method
__init__
Args conf: an instance of config.Config; its properties: epochs time_limit reduce_lr_factor
keras_image_captioning/training.py:23
Method
__init__
(self, new_training_label, training_dir, load_model_weights
keras_image_captioning/training.py:209
Method
__str__
(self)
keras_image_captioning/callbacks.py:30
Method
_load_pretrained_vectors
(self, file_obj)
keras_image_captioning/word_vectors.py:35
Method
_predict_batch
(self, X, y)
keras_image_captioning/inference.py:127
Method
_score
(self, hypothesis_str, reference_list)
pycocoevalcap/meteor/meteor.py:58
Method
build_config
(self)
keras_image_captioning/config.py:88
Method
build_config
(self)
keras_image_captioning/config.py:116
Method
build_config
(self)
keras_image_captioning/config.py:160
Method
calculate
(self, id_to_prediction, id_to_references)
keras_image_captioning/metrics.py:17
Method
caption_prep
(self)
keras_image_captioning/preprocessors_test.py:38
Method
caption_preprocessor
(self)
keras_image_captioning/dataset_providers.py:61
Function
clean_up_training_result_dir
()
keras_image_captioning/hyperparam_search_test.py:24
Function
clean_up_training_result_dir
()
keras_image_captioning/training_test.py:17
Function
clip_norm
(g, c, n)
keras_image_captioning/keras_patches.py:8
Method
compute_score
(self, gts, res)
pycocoevalcap/meteor/meteor.py:28
Method
compute_score
Computes Rouge-L score given a set of reference and candidate sentences for the dataset Invoked by evaluate_captions.py :para
pycocoevalcap/rouge/rouge.py:77
Method
compute_score
Main function to compute CIDEr score :param hypo_for_image (dict) : dictionary with key <image> and value <tokenized hypothesis / ca
pycocoevalcap/cider/cider.py:24
Method
config
(self)
keras_image_captioning/hyperparam_search.py:175
Method
config_filepath
(self)
keras_image_captioning/hyperparam_search.py:183
Method
copy
copy the refs.
pycocoevalcap/cider/cider_scorer.py:51
Method
counts2vec
Function maps counts of ngram to vector of tfidf weights. The function returns vec, an array of dictionary that store mapping
pycocoevalcap/cider/cider_scorer.py:107
Method
dataset_dir
(self)
keras_image_captioning/datasets.py:49
Method
dataset_provider
(self)
keras_image_captioning/dataset_providers_test.py:12
Method
done_callback
(cmd, success, exit_code)
keras_image_captioning/hyperparam_search.py:118
Method
done_callback
(cmd, success, exit_code)
keras_image_captioning/hyperparam_search_test.py:83
Method
embedding_size
(self)
keras_image_captioning/word_vectors.py:16
Method
flickr8k
(self)
keras_image_captioning/preprocessors_test.py:12
Method
flickr8k
(self)
keras_image_captioning/datasets_test.py:11
Method
gpu_index
(self)
keras_image_captioning/hyperparam_search.py:179
Function
handler
(signum, frame)
keras_image_captioning/hyperparam_search.py:231
Function
handler
(signum, frame)
keras_image_captioning/training.py:267
Function
id_to_prediction
()
keras_image_captioning/metrics_test.py:10
Function
id_to_references
()
keras_image_captioning/metrics_test.py:18
Method
img_prep
(self)
keras_image_captioning/preprocessors_test.py:16
Method
inference
(self, mocker)
keras_image_captioning/inference_test.py:10
Method
inference
(self, mocker)
keras_image_captioning/inference_test.py:41
Function
init_vocab_size
(vocab_size)
keras_image_captioning/config.py:301
Method
keras_model
(self)
keras_image_captioning/models.py:79
Method
keras_model
(self)
keras_image_captioning/training.py:77
Method
lock
(self)
keras_image_captioning/hyperparam_search.py:72
Function
main
(training_label_prefix, dataset_name=None, epochs=None, time_limit=None, n
keras_image_captioning/hyperparam_search.py:217
Function
main
(training_dir, dataset_type='validation', method='beam_search', beam_size=3,
keras_image_captioning/inference.py:261
Method
method
(self)
pycocoevalcap/meteor/meteor.py:48
Method
method
(self)
pycocoevalcap/rouge/rouge.py:104
Method
method
(self)
pycocoevalcap/bleu/bleu.py:46
Method
method
(self)
pycocoevalcap/cider/cider.py:53
Method
model
(self)
keras_image_captioning/models_test.py:18
Method
num_gpus
(self)
keras_image_captioning/hyperparam_search.py:64
Method
on_epoch_begin
(self, epoch, logs)
keras_image_captioning/callbacks.py:17
← previous
next →
101–200 of 324, ranked by callers