-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpaths.py
31 lines (26 loc) · 926 Bytes
/
paths.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
"""
*****************************************************
* Universidad del País Vasco (UPV/EHU)
* Facultad de Informática - Donostia-San Sebastián
* Asignatura: Procesamiento de Lenguaje Natural
* Proyecto: Lore Nexus
*
* File: paths.py
* Author: geru-scotland
* GitHub: https://github.com/geru-scotland
* Description:
*****************************************************
"""
import os
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
DATASET_DIR = os.path.join(BASE_DIR, 'dataset')
APP_DIR = os.path.join(BASE_DIR, 'app')
DATA_OUTPUT_DIR = os.path.join(DATASET_DIR, 'output')
PREPROCESSING_DIR = os.path.join(DATASET_DIR, 'preprocessing')
APIS_DIR = os.path.join(PREPROCESSING_DIR, 'apis')
NER_DIR = os.path.join(PREPROCESSING_DIR, 'ner')
MODELS_DIR = os.path.join(BASE_DIR, 'models')
def get_checkpoints_dir(model_type):
"""
"""
return os.path.join(MODELS_DIR, model_type, 'checkpoints')