cleanup and added logic to train for load/save checkpoints (#32)

* added checkpointing logic

* small nits

* check DDP running correctly

* cleanup and added logic to train for load/save checkpoints

* lint
This commit is contained in:
evonneng authored and GitHub committed 2022-04-21 11:39:44 -07:00
1 parent af74b4e95c
commit 4d1a6b2dbd
5 files changed
+42 -94

No files matched your search

+2 -2
View File
@@ -3,12 +3,12 @@ Generic Writer class
"""
from abc import abstractmethod
import os
from abc import abstractmethod
import imageio
import numpy as np
import torch
from torch.utils.tensorboard import SummaryWriter
from torchtyping import TensorType