SYMBOL INDEX (174 symbols across 17 files) FILE: src/backend/data.py function download_all (line 22) | def download_all(): function sz_videos (line 30) | def sz_videos(): function get_videoId (line 33) | def get_videoId(index): function getVideoFname (line 37) | def getVideoFname(videoId): function getCaption (line 67) | def getCaption(videoId): function getDuration (line 70) | def getDuration(fname): function getFrame (line 73) | def getFrame(fname,ts): function getVideo (line 85) | def getVideo(videoId): FILE: src/backend/framework.py class TrainingLogs (line 35) | class TrainingLogs: method __init__ (line 36) | def __init__(self, prefix=""): method flush (line 40) | def flush(self): method add (line 52) | def add(self,cont): class ModelGeneratorCallback (line 59) | class ModelGeneratorCallback(callbacks.Callback): method __init__ (line 61) | def __init__(self, state, tlogs, elogs, framework): method on_epoch_end (line 71) | def on_epoch_end(self, epoch, logs={}): method on_batch_end (line 97) | def on_batch_end(self, batch, logs={}): class Framework (line 115) | class Framework(): method __init__ (line 117) | def __init__(self, model_load = MFNAME, train_mode = False): method build_model (line 130) | def build_model(self): method load (line 137) | def load(self): method get_weights_status (line 151) | def get_weights_status(self): method save (line 154) | def save(self, epoch='xx'): method train_generator (line 172) | def train_generator(self): method predict_model_direct (line 190) | def predict_model_direct(self, fnames, cache_ids = None): method predict_ids (line 236) | def predict_ids(self, _ids): method predict_fnames (line 241) | def predict_fnames(self, fnames): method predict_model (line 246) | def predict_model(self, _ids = None, fnames = None): method isVideoExtension (line 288) | def isVideoExtension(self, fname): method predict_test (line 294) | def predict_test(self, dirpath, mxc): method clean_caption (line 298) | def clean_caption(self, msg): method save_all (line 303) | def save_all(self, _ids, save = RESULTS): method eval_onvalidation (line 326) | def eval_onvalidation(self): method get_testids (line 337) | def get_testids(self, count = -1): method get_valids (line 345) | def get_valids(self, count = -1): method get_trainids (line 353) | def get_trainids(self, count = -1): FILE: src/backend/model.py function sentence_distance (line 22) | def sentence_distance(y_true, y_pred): class VModel (line 25) | class VModel: method __init__ (line 27) | def __init__(self, CAPTION_LEN, VOCAB_SIZE, cutoffonly = False, learni... method get_model (line 34) | def get_model(self): method build_cutoffmodel (line 42) | def build_cutoffmodel(self): method co_getoutshape (line 54) | def co_getoutshape(self, assert_model = None): method preprocess_partialmodel (line 76) | def preprocess_partialmodel(self, frames): method train_mode (line 84) | def train_mode(self): method build_mcnn (line 87) | def build_mcnn(self, CAPTION_LEN, VOCAB_SIZE, learning = True): method plot_model (line 138) | def plot_model(self, filename): FILE: src/backend/parser.py class Parser (line 7) | class Parser: method __init__ (line 8) | def __init__(self): method init_framework (line 11) | def init_framework(self, model_fname = None, train_mode = False): method parse (line 19) | def parse(self): method train (line 33) | def train(self): method predict_all_model (line 38) | def predict_all_model(self): method predict (line 54) | def predict(self): method server (line 73) | def server(self): FILE: src/backend/preprocess.py function get_image_fname (line 38) | def get_image_fname(_id): function createDirs (line 60) | def createDirs(): function badLogs (line 68) | def badLogs(msg): function build_gloveVocab (line 108) | def build_gloveVocab(): function build_image_caption_pair (line 176) | def build_image_caption_pair(): function imageToVec (line 225) | def imageToVec(_id): function getWord2Ind (line 265) | def getWord2Ind(w): function word2embd (line 272) | def word2embd(word): function embdToWord (line 277) | def embdToWord(embd): function WordToWordDistance (line 291) | def WordToWordDistance(word1,word2): function onehot (line 300) | def onehot(vind): function wordToEncode (line 306) | def wordToEncode(w, encodeType = None): function captionToVec (line 314) | def captionToVec(cap, addOne=False, oneHot=False): function get_image_caption (line 334) | def get_image_caption(_id, lst): function build_vocab (line 341) | def build_vocab(): function feed_image_caption (line 382) | def feed_image_caption(_id,lst): function datas_from_ids (line 391) | def datas_from_ids(idlst,lst): function data_generator (line 403) | def data_generator(lst, batch_size, start=0, isTrainSet = True): function build_dataset (line 443) | def build_dataset(lst, batch_size = -1, val_size = 0,outerepoch=random.r... FILE: src/backend/train.py function get_model (line 3) | def get_model(): FILE: src/backend/utils.py function caption_tokenize (line 3) | def caption_tokenize(caption): FILE: src/backend/videohandler.py class VideoHandler (line 19) | class VideoHandler: method __init__ (line 34) | def __init__(self, s_fname_train, s_fname_test): method build_captions (line 54) | def build_captions(self): method set_vmodel (line 87) | def set_vmodel(self,vmodel): method getCaptionData (line 90) | def getCaptionData(self): method stringIdToInt (line 93) | def stringIdToInt(self,sid): method getAllIds (line 97) | def getAllIds(self): method getDownloadedIds (line 100) | def getDownloadedIds(self): method filterMod100 (line 111) | def filterMod100(self, parentlst, lst, _min, _max): method getTrainingIds (line 122) | def getTrainingIds(self): method getValidationIds (line 125) | def getValidationIds(self): method getTestIds (line 128) | def getTestIds(self): method get_otrain_ids (line 131) | def get_otrain_ids(self): method get_otest_ids (line 134) | def get_otest_ids(self): method getYoutubeId (line 137) | def getYoutubeId(self,url): method downloadVideo (line 142) | def downloadVideo(self, _id, logs = True): method takebreak (line 175) | def takebreak(self): method get_crazy_id (line 183) | def get_crazy_id(self): method get_iframes_cached (line 187) | def get_iframes_cached(self, _id): method get_audio_cached (line 196) | def get_audio_cached(self, _id): method cached_iframe (line 207) | def cached_iframe(self, _id, frames): method cached_audio (line 213) | def cached_audio(self, _id, feature): method file_to_videofeature (line 219) | def file_to_videofeature(self, sfname): method file_to_audiofeature (line 239) | def file_to_audiofeature(self, sfname): method get_iframes_audio (line 262) | def get_iframes_audio(self, _id = None, sfname = None, logs = True, ca... method get_frames (line 301) | def get_frames(self,_id = None, sfname = None, logs = True): method assign_partial_model (line 332) | def assign_partial_model(self, partial_model): method free_frames (line 336) | def free_frames(self, edir): function autodownload (line 343) | def autodownload(): function cache_videoid (line 355) | def cache_videoid(_id, percent): function autocache (line 359) | def autocache(): function show_counts (line 380) | def show_counts(): function get_args (line 385) | def get_args(): FILE: src/backend/vocab.py function loadFromPickleIfExists (line 18) | def loadFromPickleIfExists(fname): class Vocab (line 31) | class Vocab: method __init__ (line 37) | def __init__(self, data, train_ids): method loadWordEmbedding (line 52) | def loadWordEmbedding(self, glove_file): method saveEmbedding (line 80) | def saveEmbedding(self): method buildVocab (line 85) | def buildVocab(self, data, train_ids, trimEmbedding): method get_filteredword (line 132) | def get_filteredword(self,w): method fit_caption_tokens (line 137) | def fit_caption_tokens(self,tokens,length,addPrefix,addSuffix): method onehot_word (line 149) | def onehot_word(self,w): method word_fromonehot (line 154) | def word_fromonehot(self, onehot): method get_caption_encoded (line 158) | def get_caption_encoded(self,caption,glove, addPrefix, addSuffix): method get_caption_from_indexs (line 168) | def get_caption_from_indexs(self,indx): function vocabBuilder (line 172) | def vocabBuilder(): FILE: src/backend/vpreprocess.py function badLogs (line 14) | def badLogs(msg): class Preprocessor (line 19) | class Preprocessor: method __init__ (line 20) | def __init__(self): method set_vmodel (line 23) | def set_vmodel(self, vmodel): method imageToVec (line 26) | def imageToVec(self, fname): method videoToVec (line 40) | def videoToVec(self, _id = None, vfname = None, cache_id = None): method get_video_content (line 69) | def get_video_content(self, vfname, cache_id = None): method get_video_caption (line 72) | def get_video_caption(self, _id, just_one_caption = True): method datas_from_ids (line 89) | def datas_from_ids(self, idlst): method get_nextbatch (line 118) | def get_nextbatch(self, batch_size, arr_counter, ids): method data_generator (line 135) | def data_generator(self, batch_size, start=0, typeSet = 0): method data_generator_random (line 160) | def data_generator_random(self, batch_size, start=0, typeSet = 0): FILE: src/common/config.py function get_config (line 11) | def get_config(): function clear (line 21) | def clear(): function get_app_config (line 26) | def get_app_config(): function get_rpc_config (line 29) | def get_rpc_config(): function get_vpreprocess_config (line 32) | def get_vpreprocess_config(): function get_vocab_config (line 35) | def get_vocab_config(): function get_tests_config (line 38) | def get_tests_config(): FILE: src/common/rpc.py function rpc_decorator (line 18) | def rpc_decorator(f): function close_framework (line 28) | def close_framework(): function register_server (line 31) | def register_server(framework): function get_rpc (line 51) | def get_rpc(): FILE: src/common/status.py class ModelWeightsStatus (line 3) | class ModelWeightsStatus(Enum): FILE: src/frontend/app.py function get_train_ids (line 31) | def get_train_ids(): function get_test_ids (line 35) | def get_test_ids(): function get_val_ids (line 39) | def get_val_ids(): function get_all_ids (line 43) | def get_all_ids(): function predict_ids (line 47) | def predict_ids(ids): function play (line 52) | def play(): function get_ids (line 56) | def get_ids(): function predict_page (line 62) | def predict_page(fnames = None): function download_file (line 70) | def download_file(): function predict_fnames (line 77) | def predict_fnames(fnames): function model_weights_notify (line 81) | def model_weights_notify(): function getactivenav (line 92) | def getactivenav(index): function model_weights_status (line 98) | def model_weights_status(): function home (line 102) | def home(): function computeAndRenderPredictionIDs (line 111) | def computeAndRenderPredictionIDs(ids): function computeAndRenderPredictionFnames (line 117) | def computeAndRenderPredictionFnames(fnames): function allowed_file (line 124) | def allowed_file(filename): function error (line 128) | def error(msg): function success (line 131) | def success(data): function upload_file (line 135) | def upload_file(): function main (line 161) | def main(): FILE: src/tests/data/fetcher.py function get_videopath (line 8) | def get_videopath(fname): FILE: src/tests/data/test_fetcher.py class TestFetcher (line 7) | class TestFetcher(unittest.TestCase): method test_get_videopath_success (line 9) | def test_get_videopath_success(self): method test_get_videopath_failure (line 15) | def test_get_videopath_failure(self): FILE: tests/e2e/test_external.py class TestExternal (line 17) | class TestExternal(unittest.TestCase): method setUp (line 20) | def setUp(self): method tearDown (line 25) | def tearDown(self): method get_video_path (line 28) | def get_video_path(self, fname): method test_upload_and_verify (line 40) | def test_upload_and_verify(self, fname, caption):