Skip to content

Commit

Permalink
code
Browse files Browse the repository at this point in the history
  • Loading branch information
linkchw committed Aug 15, 2024
1 parent 59600b8 commit 29248b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion train/code/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,8 @@ def train(train_file_path,

logging.info(f"Readin evaluation data form: {input_base_dir}/eval.csv")

eval_data = pd.read_csv(input_base_dir + "/eval.csv")
eval_path = os.path.join(input_base_dir, 'eval.csv')
eval_data = pd.read_csv(eval_path)

logging.warning("Seperating wrong and correct data...")
wrong_name = eval_data["wrong"]
Expand Down

0 comments on commit 29248b5

Please sign in to comment.