Skip to content
Snippets Groups Projects
Commit 5c1574ce authored by Maja Jablonska's avatar Maja Jablonska
Browse files

Fix archival.py serialization paths

parent 0616f47e
No related branches found
No related tags found
1 merge request!46Merge COMBO 3.0 into master
...@@ -75,7 +75,7 @@ def load_archive(url_or_filename: Union[PathLike, str], ...@@ -75,7 +75,7 @@ def load_archive(url_or_filename: Union[PathLike, str],
) )
model = Model.load(archive_file, cuda_device=cuda_device) model = Model.load(archive_file, cuda_device=cuda_device)
with open(os.path.join(archive_file, 'config.json'), 'r') as f: with open(os.path.join(archive_file, 'model/config.json'), 'r') as f:
config = json.load(f) config = json.load(f)
data_loader, validation_data_loader = None, None data_loader, validation_data_loader = None, None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment