efishSignalDetector/confic.py
2023-10-20 08:57:37 +02:00

16 lines
275 B
Python

import torch
BATCH_SIZE = 4
RESIZE_TO = 416
NUM_EPOCHS = 10
NUM_WORKERS = 4
DEVICE = torch.device('cuda') if torch.cuda.is_available() else torch.device('cpu')
TRAIN_DIR = 'data/train'
CLASSES = ['__backgroud__', '1']
NUM_CLASSES = len(CLASSES)
OUTDIR = 'model_outputs'