Skip to content
Snippets Groups Projects
Commit f7adf374 authored by Rony Abecidan's avatar Rony Abecidan
Browse files

Update utils.py

parent 80a0c6ba
Branches
No related tags found
No related merge requests found
...@@ -47,7 +47,7 @@ def dict_to_txt(dictionary,path): ...@@ -47,7 +47,7 @@ def dict_to_txt(dictionary,path):
def txt_to_dict(txt_path): def txt_to_dict(txt_path):
return json.load(open(txt_path)) return json.load(open(txt_path))
def initialize_hyperparameters(source_path,target_path,eval_domains,details=None,save_at_each_epoch=False,setup='SrcOnly'): def initialize_hyperparameters(source_path,target_path,eval_domains,details=None,save_at_each_epoch=True,setup='SrcOnly'):
hyperparameters={} hyperparameters={}
hyperparameters['seed']=2021 hyperparameters['seed']=2021
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment