Skip to content

Commit 29248b5

Browse files
committed
code
1 parent 59600b8 commit 29248b5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

train/code/main.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,8 @@ def train(train_file_path,
133133

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

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

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

0 commit comments

Comments
 (0)