Compare commits

...

1 Commits
1.0.5 ... 1.0.6

Author SHA1 Message Date
Phil Wang
9646dfc0e6 fix path_or_state bug 2022-07-26 09:47:54 -07:00
2 changed files with 2 additions and 2 deletions

View File

@@ -300,7 +300,7 @@ class DiffusionPriorTrainer(nn.Module):
# all processes need to load checkpoint. no restriction here
if isinstance(path_or_state, str):
path = Path(path)
path = Path(path_or_state)
assert path.exists()
loaded_obj = torch.load(str(path), map_location=self.device)

View File

@@ -1 +1 @@
__version__ = '1.0.5'
__version__ = '1.0.6'