-
Notifications
You must be signed in to change notification settings - Fork 32
/
process.sh
29 lines (29 loc) · 1.17 KB
/
process.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
cd val_json_generator/
rm instances_val2014.json
rm -rf val2014/
rm -rf xml/
python test_images.py
python make_json_for_cells.py
cd ..
rm -rf trained_model/tab/val2014/
rm -f trained_model/tab/annotations/instances_val2014.json
cp -r val_json_generator/val2014 trained_model/tab/
cp val_json_generator/instances_val2014.json trained_model/tab/annotations
rm rename_output_files/GT_json_file/instances_val2014.json
rm -rf rename_output_files/rename_results/result_*
rm -rf rename_output_files/results/result_*
cp val_json_generator/instances_val2014.json rename_output_files/GT_json_file
rm -rf xml_generating_postprocessor/processed_*
rm -rf xml_generating_postprocessor/result_*
rm -rf xml_generating_postprocessor/gt_without_box/*
cp val_json_generator/val2014/* xml_generating_postprocessor/gt_without_box/
python setup.py install
python samples/tabnet/tabnet.py evaluate --dataset=trained_model/tab --model=last
cp -r trained_model/tab/result_* rename_output_files/results/
cd rename_output_files
python rename_maskrcnn_result_files.py
cd ..
cp -r rename_output_files/rename_results/result_* xml_generating_postprocessor
cd xml_generating_postprocessor
python cell_postprocessor_adj.py
cd ..