Skip to content
Snippets Groups Projects
Commit b14689ea authored by laura.riviere's avatar laura.riviere
Browse files

fix steps bug in main script

parent ecbd8b76
Branches
No related tags found
1 merge request!3Refacto 1205
......@@ -93,7 +93,7 @@ def make_predictions(data_in, model_path):
model = model_path # add def get_model from v1
data_out = f"{data.resu}/{data.name}_pred.json"
#cmd = f"allennlp predict --use-dataset-reader --output-file {data_out} {model_path} {data_in} &> {steps.data.resu}/logs.txt"
cmd = f"allennlp predict --use-dataset-reader --output-file {data_out} {model_path} {data_in} &> {steps.data.resu}/logs_predictions.txt"
cmd = f"allennlp predict --use-dataset-reader --output-file {data_out} {model_path} {data_in} &> {data.resu}/logs_predictions.txt"
os.system(cmd)
return data_out
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment