DSB2017 icon indicating copy to clipboard operation
DSB2017 copied to clipboard

about the file DSB2017-master\scoring_code\create_preds_from_model_outputs.py???

Open HarryPotter2017 opened this issue 7 years ago • 3 comments

Hi Daniel,

When I run the file DSB2017-master\scoring_code\create_preds_from_model_outputs.py, I find the line 264:

labels = pd.read_csv(r"F:\Flung\stage2\stage1plus2_labels.csv")

In the DSB2017-master \ scoring_code folder I can not find this file stage1plus2_labels.csv, I can only find stage1plus2_masses_predictions.csv. When I use stage1plus2_masses_predictions.csv instead of the stage1plus2_labels.csv, code produces an error. The error should come from the file format is wrong, so I guess stage1plus2_masses_predictions.csv file can not replace the above documents.

I hope you can give me some advice, thanks

HarryPotter2017 avatar Sep 06 '17 13:09 HarryPotter2017

Hi! I have the same problem at startup. Did you find this file or method of generating it?

ysamsonov avatar Jan 21 '18 11:01 ysamsonov

I believe this file is created by concatenating the stage1 and stage2 label files. I may have done this manually. Try appending stage1_labels.csv and stage2_labels.csv

dhammack avatar Jan 21 '18 18:01 dhammack

Thank you! I already found a solution to the problem.

ysamsonov avatar Jan 21 '18 18:01 ysamsonov