Commit 32cefe57 authored by Jochen Buettner's avatar Jochen Buettner ✌🏼

Initial commit

parents
Predict.csv
,0,1,file,predicted_class,class_probability
0,1.0,8.5204e-12,2250_fine_protomathesis_1532_p347.jpg,Table,1.0
1,0.61010736,0.38989267,2064_Piccolomini_Sfera_1552_p186.jpg,Table,0.61010736
2,1.0,2.7924847e-15,1718_sacrobosco_sfera_1561_p152.jpg,Table,1.0
3,1.0,7.109514e-14,2066_Piccolomini_Sfera_Varisco_1561_p176.jpg,Table,1.0
4,0.9997545,0.0002455361,2103_beyer_quaestiones_1549_p177.jpg,Table,0.9997545
5,1.0,7.275933e-10,2066_Piccolomini_Sfera_Varisco_1561_p175.jpg,Table,1.0
6,1.0,9.435222e-11,2066_Piccolomini_Sfera_Varisco_1561_p191.jpg,Table,1.0
7,1.0,9.506775e-11,2066_Piccolomini_Sfera_Varisco_1561_p198.jpg,Table,1.0
8,0.960135,0.03986504,2176_blebel_libellus_1588_p92.jpg,Table,0.960135
9,0.9999815,1.845621e-05,2064_Piccolomini_Sfera_1552_p171.jpg,Table,0.9999815
10,1.0,9.596138e-10,2066_Piccolomini_Sfera_Varisco_1561_p179.jpg,Table,1.0
11,0.9999963,3.7340817e-06,2064_Piccolomini_Sfera_1552_p157.jpg,Table,0.9999963
# Table Prediction
* **predict_only.ipynb**: Notebook to predict, whether a page contains a table or not.
* **best_model.h5**: VGG16 trained for table detection
* **to_predict.csv**: list of pages for for which to make a prediction
predict\_only.ipynb reads the list of pages for which to make the predictions, predicts and writes the results to Prediction.csv. Therfore 'predict\_file_path' needs to point fo the directory where the pageimages are to be found.
\ No newline at end of file
File added
This diff is collapsed.
,id
0,2250_fine_protomathesis_1532_p347.jpg
1,2064_Piccolomini_Sfera_1552_p186.jpg
2,1718_sacrobosco_sfera_1561_p152.jpg
3,2066_Piccolomini_Sfera_Varisco_1561_p176.jpg
4,2103_beyer_quaestiones_1549_p177.jpg
5,2066_Piccolomini_Sfera_Varisco_1561_p175.jpg
6,2066_Piccolomini_Sfera_Varisco_1561_p191.jpg
7,2066_Piccolomini_Sfera_Varisco_1561_p198.jpg
8,2176_blebel_libellus_1588_p92.jpg
9,2064_Piccolomini_Sfera_1552_p171.jpg
10,2066_Piccolomini_Sfera_Varisco_1561_p179.jpg
11,2064_Piccolomini_Sfera_1552_p157.jpg
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment