Skip to content

Commit

Permalink
Use column variable in train
Browse files Browse the repository at this point in the history
  • Loading branch information
u8sand authored Apr 3, 2024
1 parent 9663a2f commit 34f479e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tsdae/tsdae.py
Original file line number Diff line number Diff line change
Expand Up @@ -856,7 +856,7 @@ def train(
# Constrain dataset
constrained_data = self.constrain_dataset(
shuffled_dataset=shuffled_dataset,
column="output",
column=column,
splitter=splitter,
num_to_keep=num_to_keep,
total_sentences=total_sentences,
Expand Down Expand Up @@ -904,4 +904,4 @@ def train(

except Exception as e:
raise Exception(f"Error in train: {str(e)}")
return None
return None

0 comments on commit 34f479e

Please sign in to comment.