third / models /config.py
twist-turn's picture
Upload 22 files
1c796e1 verified
Raw History Blame Contribute Delete
387 Bytes
import os
class Config:
DEVICE = "cpu"
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
DATA_DIR = os.path.join(BASE_DIR, "data")
CACHE_DIR = os.path.join(BASE_DIR, "cache")
os.makedirs(DATA_DIR, exist_ok=True)
os.makedirs(CACHE_DIR, exist_ok=True)
NDVI_LENGTH_DAYS = 120
MAX_SEASONS = 4
IMG_WIDTH = 800
IMG_HEIGHT = 400