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
↓ 22 callers
Function
logging
(*args, **kwargs)
keras_image_captioning/io_utils.py:54
↓ 21 callers
Function
active_config
(new_active_config=None)
keras_image_captioning/config.py:294
↓ 15 callers
Method
build_config
(self)
keras_image_captioning/config.py:75
↓ 15 callers
Method
copy
copy the refs.
pycocoevalcap/bleu/bleu_scorer.py:92
↓ 10 callers
Method
run
(self)
keras_image_captioning/training.py:84
↓ 8 callers
Method
_build_and_assert
(self, model, vocabs=None)
keras_image_captioning/models_test.py:83
↓ 7 callers
Method
fit_on_captions
(self, captions_txt)
keras_image_captioning/preprocessors.py:82
↓ 6 callers
Method
add
(self, item)
keras_image_captioning/inference.py:239
↓ 6 callers
Method
compute_score
(self, option=None, verbose=0)
pycocoevalcap/bleu/bleu_scorer.py:198
↓ 5 callers
Method
_batch_generator
(self, datum_list, include_datum=False, random_transform=True)
keras_image_captioning/dataset_providers.py:92
↓ 5 callers
Method
calculate
(self, id_to_prediction, id_to_references)
keras_image_captioning/metrics.py:36
↓ 5 callers
Method
preprocess_batch
(self, img_list)
keras_image_captioning/preprocessors.py:36
↓ 4 callers
Method
__init__
(self, yaml_path)
keras_image_captioning/config.py:276
↓ 4 callers
Method
_add_eos
(self, captions)
keras_image_captioning/preprocessors.py:181
↓ 4 callers
Function
_assert_accuracy
(accuracy_expected, y_true_np, y_pred_np)
keras_image_captioning/metrics_test.py:94
↓ 4 callers
Method
_build_set
(self, img_set_filename)
keras_image_captioning/datasets.py:102
↓ 4 callers
Method
_path_from_result_dir
(self, *paths)
keras_image_captioning/training.py:204
↓ 4 callers
Method
_preprocess_batch
(self, datum_batch, include_datum=False, random_transform=True)
keras_image_captioning/dataset_providers.py:110
↓ 4 callers
Function
categorical_crossentropy_from_logits
(y_true, y_pred)
keras_image_captioning/losses.py:4
↓ 4 callers
Function
get_dataset_instance
If an arg is None, it will get its value from config.active_config.
keras_image_captioning/datasets.py:122
↓ 3 callers
Method
__init__
(self, n=4)
keras_image_captioning/metrics.py:31
↓ 3 callers
Method
_evaluate
(self, caption_datum_pairs, include_prediction=False)
keras_image_captioning/inference.py:97
↓ 3 callers
Method
_predict
(self, data_generator_function, steps_per_epoch, include_da
keras_image_captioning/inference.py:59
↓ 3 callers
Method
build
(self, vocabs=None)
keras_image_captioning/models.py:85
↓ 3 callers
Method
build_config
(self)
keras_image_captioning/config.py:279
↓ 3 callers
Method
decode_captions
Args captions_output: 3-d array returned by a model's prediction; it's the same as captions_output returned by preproce
keras_image_captioning/preprocessors.py:92
↓ 3 callers
Method
encode_captions
(self, captions_txt)
keras_image_captioning/preprocessors.py:88
↓ 3 callers
Method
execute
Execute the training.
keras_image_captioning/hyperparam_search.py:186
↓ 3 callers
Method
n_largest
(self, sort=True)
keras_image_captioning/inference.py:251
↓ 3 callers
Function
parse_timedelta
(timedelta_str)
keras_image_captioning/common_utils.py:7
↓ 3 callers
Function
path_from_var_dir
(*paths)
keras_image_captioning/io_utils.py:20
↓ 3 callers
Method
training_label
(self, search_index)
keras_image_captioning/hyperparam_search.py:106
↓ 3 callers
Function
write_yaml_file
(obj, path)
keras_image_captioning/io_utils.py:44
↓ 2 callers
Method
__init__
(self, dataset_provider, period=1)
keras_image_captioning/callbacks.py:37
↓ 2 callers
Method
_build_captions
(self)
keras_image_captioning/datasets.py:85
↓ 2 callers
Method
_caption_lengths
(self, captions_output)
keras_image_captioning/preprocessors.py:184
↓ 2 callers
Method
_get_current_ts
(self)
keras_image_captioning/callbacks.py:24
↓ 2 callers
Method
_init_config_filepath
(self)
keras_image_captioning/hyperparam_search.py:198
↓ 2 callers
Method
_init_log_filepath
(self)
keras_image_captioning/hyperparam_search.py:207
↓ 2 callers
Method
_load_pretrained_vectors
(self)
keras_image_captioning/word_vectors.py:57
↓ 2 callers
Function
_path_from_here
(path)
keras_image_captioning/io_utils.py:11
↓ 2 callers
Method
_predict_batch
(self, X, y)
keras_image_captioning/inference.py:90
↓ 2 callers
Method
_single_reflen
(self, reflens, option=None, testlen=None)
pycocoevalcap/bleu/bleu_scorer.py:181
↓ 2 callers
Function
_word_vectors_path
(*paths)
keras_image_captioning/word_vectors.py:85
↓ 2 callers
Method
add_many
(self, itemss)
keras_image_captioning/inference.py:221
↓ 2 callers
Method
cook_append
called by constructor and __iadd__ to avoid creating new instances.
pycocoevalcap/bleu/bleu_scorer.py:109
↓ 2 callers
Method
cook_append
called by constructor and __iadd__ to avoid creating new instances.
pycocoevalcap/cider/cider_scorer.py:68
↓ 2 callers
Function
cook_test
Takes a test sentence and returns an object that encapsulates everything that BLEU needs to know about it.
pycocoevalcap/bleu/bleu_scorer.py:60
↓ 2 callers
Method
evaluate_training_set
(self, include_prediction=False)
keras_image_captioning/inference.py:47
↓ 2 callers
Method
evaluate_validation_set
(self, include_prediction=False)
keras_image_captioning/inference.py:51
↓ 2 callers
Function
mkdir_p
(path)
keras_image_captioning/io_utils.py:28
↓ 2 callers
Method
n_largest
(self, sort=True)
keras_image_captioning/inference.py:227
↓ 2 callers
Method
normalize_captions
(self, captions_txt)
keras_image_captioning/preprocessors.py:133
↓ 2 callers
Function
precook
Takes a string as input and returns an object that can be given to either cook_refs or cook_test. This is optional: cook_refs and cook_test ca
pycocoevalcap/bleu/bleu_scorer.py:23
↓ 2 callers
Function
precook
Takes a string as input and returns an object that can be given to either cook_refs or cook_test. This is optional: cook_refs and cook_test
pycocoevalcap/cider/cider_scorer.py:11
↓ 2 callers
Method
predict_on_batch
(X)
keras_image_captioning/inference_test.py:18
↓ 2 callers
Method
predict_training_set
(self, include_datum=True)
keras_image_captioning/inference.py:32
↓ 2 callers
Method
preprocess_images
(self, img_paths, random_transform=True)
keras_image_captioning/preprocessors.py:31
↓ 2 callers
Method
stop
Stop the hyperparameter search.
keras_image_captioning/hyperparam_search.py:102
↓ 2 callers
Method
training_set
(self)
keras_image_captioning/datasets.py:25
↓ 2 callers
Method
vectorize_words
(self, words)
keras_image_captioning/word_vectors.py:19
↓ 1 callers
Method
__init__
(self, vocab_words, initializer)
keras_image_captioning/word_vectors.py:52
↓ 1 callers
Method
__init__
(self, dataset_name, lemmatize_caption, single_caption)
keras_image_captioning/datasets.py:18
↓ 1 callers
Method
__init__
(self, n)
keras_image_captioning/inference.py:235
↓ 1 callers
Method
_activate_config_and_init_dataset_provider
(self)
keras_image_captioning/training.py:122
↓ 1 callers
Method
_build
(self)
keras_image_captioning/dataset_providers.py:82
↓ 1 callers
Method
_build
(self)
keras_image_captioning/datasets.py:79
↓ 1 callers
Method
_build_image_embedding
(self)
keras_image_captioning/models.py:105
↓ 1 callers
Method
_build_sequence_model
(self, sequence_input)
keras_image_captioning/models.py:142
↓ 1 callers
Method
_build_word_embedding
(self, vocabs)
keras_image_captioning/models.py:122
↓ 1 callers
Method
_create_dirs
(self)
keras_image_captioning/datasets.py:56
↓ 1 callers
Method
_create_done_callback
(self, gpu_index)
keras_image_captioning/hyperparam_search.py:117
↓ 1 callers
Method
_data_downloaded
(self)
keras_image_captioning/metrics.py:65
↓ 1 callers
Method
_handle_rare_words
(self, captions)
keras_image_captioning/preprocessors.py:163
↓ 1 callers
Method
_init_callbacks
(self)
keras_image_captioning/training.py:140
↓ 1 callers
Method
_init_result_dir
(self)
keras_image_captioning/training.py:127
↓ 1 callers
Method
_load_pretrained_vectors
(self)
keras_image_captioning/word_vectors.py:70
↓ 1 callers
Method
_log_softmax
(self, x)
keras_image_captioning/inference.py:203
↓ 1 callers
Method
_preprocess_an_image
(self, img_path, random_transform=True)
keras_image_captioning/preprocessors.py:39
↓ 1 callers
Method
_remove_finished_commands
(self)
keras_image_captioning/hyperparam_search.py:126
↓ 1 callers
Method
_stat
(self, hypothesis_str, reference_list)
pycocoevalcap/meteor/meteor.py:51
↓ 1 callers
Method
_validate_training_label_prefix
(self)
keras_image_captioning/hyperparam_search.py:109
↓ 1 callers
Method
_wait_running_commands
(self)
keras_image_captioning/hyperparam_search.py:136
↓ 1 callers
Method
_write_active_config
(self)
keras_image_captioning/training.py:199
↓ 1 callers
Method
add
(self, items)
keras_image_captioning/inference.py:215
↓ 1 callers
Method
add_many
(self, items)
keras_image_captioning/inference.py:247
↓ 1 callers
Method
build_config
(self)
keras_image_captioning/config.py:83
↓ 1 callers
Method
calc_score
Compute ROUGE-L score given one candidate and references for an image :param candidate: str : candidate sentence to be evaluated
pycocoevalcap/rouge/rouge.py:45
↓ 1 callers
Method
calculate
(self, id_to_prediction, id_to_references)
keras_image_captioning/metrics.py:58
↓ 1 callers
Function
categorical_accuracy_with_variable_timestep
(y_true, y_pred)
keras_image_captioning/metrics.py:78
↓ 1 callers
Method
compatible
(self, other)
pycocoevalcap/bleu/bleu_scorer.py:175
↓ 1 callers
Method
compute_cider
(self)
pycocoevalcap/cider/cider_scorer.py:106
↓ 1 callers
Method
compute_doc_freq
Compute term frequency for reference data. This will be used to compute idf (inverse document frequency later) The term frequ
pycocoevalcap/cider/cider_scorer.py:93
↓ 1 callers
Method
compute_score
(self, gts, res)
pycocoevalcap/bleu/bleu.py:21
↓ 1 callers
Method
compute_score
(self, option=None, verbose=0)
pycocoevalcap/cider/cider_scorer.py:183
↓ 1 callers
Method
config_used
(self)
keras_image_captioning/hyperparam_search_test.py:68
↓ 1 callers
Function
cook_refs
Takes a list of reference sentences for a single segment and returns an object that encapsulates everything that BLEU needs to know about them
pycocoevalcap/bleu/bleu_scorer.py:35
↓ 1 callers
Function
cook_refs
Takes a list of reference sentences for a single segment and returns an object that encapsulates everything that BLEU needs to know about them
pycocoevalcap/cider/cider_scorer.py:28
↓ 1 callers
Function
cook_test
Takes a test sentence and returns an object that encapsulates everything that BLEU needs to know about it. :param test: list of string : hypot
pycocoevalcap/cider/cider_scorer.py:38
↓ 1 callers
Method
decode_captions_from_list2d
Args captions_encoded: 1-based (Tokenizer's), NOT 0-based (model's)
keras_image_captioning/preprocessors.py:119
next →
1–100 of 324, ranked by callers