Skip to content

Commit

Permalink
format errors are fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Demirrr committed Oct 25, 2024
1 parent 5612303 commit 64b0487
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dicee/read_preprocess_save_load_kg/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import psutil
import requests
from typing import Tuple
import pandas as pd

def polars_dataframe_indexer(df_polars:polars.DataFrame, idx_entity:polars.DataFrame, idx_relation:polars.DataFrame)->polars.DataFrame:
"""
Replaces 'subject', 'relation', and 'object' columns in the input Polars DataFrame with their corresponding index values
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 @@ -4,7 +4,7 @@
from dicee.models.base_model import BaseKGE
from dicee.static_funcs import select_model
from dicee.callbacks import ASWA, Eval, KronE, PrintCallback, AccumulateEpochLossCallback, Perturb
from dicee.dataset_classes import construct_dataset, reload_dataset
from dicee.dataset_classes import construct_dataset
from .torch_trainer import TorchTrainer
from .torch_trainer_ddp import TorchDDPTrainer
from ..static_funcs import timeit
Expand Down

0 comments on commit 64b0487

Please sign in to comment.