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

Fix archival.py serialization paths

(cherry picked from commit 5c1574ce)
parent a36bed8b
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