Anni01 commited on
Commit
d6a8624
·
verified ·
1 Parent(s): b1ea9a7

Update model.py

Browse files
Files changed (1) hide show
  1. model.py +2 -2
model.py CHANGED
@@ -20,8 +20,8 @@ VOCAB_SIZE = 19774
20
 
21
 
22
  # LOADING DATA
23
- #vocab = pickle.load(open('saved_vocabulary/vocab_coco.file', 'rb'))
24
- vocab = (open('saved_vocabulary/captions.txt', 'rb'))
25
  #captions.txt
26
  tokenizer = tf.keras.layers.TextVectorization(
27
  # max_tokens=VOCABULARY_SIZE,
 
20
 
21
 
22
  # LOADING DATA
23
+ vocab = pickle.load(open('saved_vocabulary/vocab_coco.file', 'rb'))
24
+ #vocab = (open('saved_vocabulary/captions.txt', 'rb'))
25
  #captions.txt
26
  tokenizer = tf.keras.layers.TextVectorization(
27
  # max_tokens=VOCABULARY_SIZE,