-
Notifications
You must be signed in to change notification settings - Fork 1
Description
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)