Skip to content

Unable to find answer map in deployment demo #1

@FaiazMursalin

Description

@FaiazMursalin

Hello, could you please explain the following lines in the deployment demo ipynb file? Where are you getting the tokenizer, answer_map and answr_map pickles from?

def load_model():
model_incep = tf.keras.models.load_model(r'/content/drive/MyDrive/FInal Project NTI/Models/inception_v3_VQA.h5')
model_gru = tf.keras.models.load_model(r'/content/drive/MyDrive/FInal Project NTI/Models/inc_GRU_Nadam.h5')
# loading
with open(r'/content/drive/MyDrive/FInal Project NTI/Tokenizers/tokenizer.pickle', 'rb') as handle:
tokenizer = pickle.load(handle)
with open(r'/content/drive/MyDrive/FInal Project NTI/Tokenizers/answers_map.pkl', 'rb') as handle:
answer_tokenizer = pickle.load(handle)
with open(r'/content/drive/MyDrive/FInal Project NTI/Tokenizers/answers_map.pkl', 'rb') as fp:
answr_map = pickle.load(fp)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions