diff options
author | aktersnurra <gustaf.rydholm@gmail.com> | 2020-11-18 20:56:19 +0100 |
---|---|---|
committer | aktersnurra <gustaf.rydholm@gmail.com> | 2020-11-18 20:56:19 +0100 |
commit | 527bb98b191d82b308de1585047e06056258d08d (patch) | |
tree | f33145dba398825871da3184a2735f6fb0b07268 /src/training/trainer | |
parent | f2cd16f340aa11afadb8fa90c29f85ca1b75a600 (diff) |
Some minor changes.
Diffstat (limited to 'src/training/trainer')
-rw-r--r-- | src/training/trainer/train.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/training/trainer/train.py b/src/training/trainer/train.py index 223d9c6..8ae994a 100644 --- a/src/training/trainer/train.py +++ b/src/training/trainer/train.py @@ -3,6 +3,7 @@ from pathlib import Path import time from typing import Dict, List, Optional, Tuple, Type +import warnings from einops import rearrange from loguru import logger @@ -23,6 +24,9 @@ torch.manual_seed(4711) torch.cuda.manual_seed(4711) +warnings.filterwarnings("ignore") + + class Trainer: """Trainer for training PyTorch models.""" |