a | b/run_test.py | ||
---|---|---|---|
1 | import data_tools |
||
2 | import os |
||
3 | |||
4 | network_path = os.path.abspath('.') + '/dsb2018_topcoders' |
||
5 | full_image_name = os.path.abspath('.') + '/test_img.jpg' |
||
6 | sample_path = os.path.abspath('.') + '/sample_test' |
||
7 | |||
8 | data_tools.perform_segmentation(full_image_name, sample_path, network_path, force=True) |