Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- utils/helpers.py +2 -2
utils/helpers.py
CHANGED
|
@@ -4,7 +4,6 @@ import os
|
|
| 4 |
|
| 5 |
DATA_DIR = 'data'
|
| 6 |
CAPTIONS_FILE_PATH = os.path.join(DATA_DIR, 'flickr_data/captions.txt')
|
| 7 |
-
CAPTIONS_TKN_PATH = os.path.join(DATA_DIR, 'captions_tokenized.csv')
|
| 8 |
IMAGES_PATH = os.path.join(DATA_DIR, 'flickr_data/Images')
|
| 9 |
|
| 10 |
|
|
@@ -12,4 +11,5 @@ MODELS_PATH = 'models'
|
|
| 12 |
ENCODER_MODEL_PATH = os.path.join(MODELS_PATH, 'encoder.pth')
|
| 13 |
DECODER_MODEL_PATH = os.path.join(MODELS_PATH, 'decoder.pth')
|
| 14 |
VOCAB_FILE_PATH = os.path.join(MODELS_PATH, 'vocabulary.json')
|
| 15 |
-
TOKANIZED_CAPTIONS = os.path.join(MODELS_PATH, 'captions_tokenized.csv')
|
|
|
|
|
|
| 4 |
|
| 5 |
DATA_DIR = 'data'
|
| 6 |
CAPTIONS_FILE_PATH = os.path.join(DATA_DIR, 'flickr_data/captions.txt')
|
|
|
|
| 7 |
IMAGES_PATH = os.path.join(DATA_DIR, 'flickr_data/Images')
|
| 8 |
|
| 9 |
|
|
|
|
| 11 |
ENCODER_MODEL_PATH = os.path.join(MODELS_PATH, 'encoder.pth')
|
| 12 |
DECODER_MODEL_PATH = os.path.join(MODELS_PATH, 'decoder.pth')
|
| 13 |
VOCAB_FILE_PATH = os.path.join(MODELS_PATH, 'vocabulary.json')
|
| 14 |
+
TOKANIZED_CAPTIONS = os.path.join(MODELS_PATH, 'captions_tokenized.csv')
|
| 15 |
+
CAPTIONS_TKN_PATH = os.path.join(MODELS_PATH, 'captions_tokenized.csv')
|