Skip to content

Commit

Permalink
Fix format errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Demirrr committed Nov 21, 2023
1 parent f7e5ac2 commit 1e66aa9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dicee/analyse_experiments.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def analyse(args):
report = {i: report[i] for i in ['Runtime', 'NumParam']}
with open(f'{full_path}/eval_report.json', 'r') as f:
eval_report = json.load(f)
except:
except FileNotFoundError:
print("NOT found")
continue
config.update(eval_report)
Expand Down
2 changes: 1 addition & 1 deletion dicee/trainer/dice_trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from typing import Union
from dicee.models.base_model import BaseKGE
from dicee.static_funcs import select_model
from dicee.callbacks import (ASWA, PPE, FPPE, Eval, KronE, PrintCallback, KGESaveCallback, AccumulateEpochLossCallback,
from dicee.callbacks import (ASWA, PPE, FPPE, Eval, KronE, PrintCallback, AccumulateEpochLossCallback,
Perturb)
from dicee.dataset_classes import construct_dataset, reload_dataset
from .torch_trainer import TorchTrainer
Expand Down

0 comments on commit 1e66aa9

Please sign in to comment.