Official code for building fine grained label introduced in 'Accurate fine-grained layout analysis for the historical Tibetan document based on the instance segmentation'
Tested on Win10, Linux 18.04, might work for other platform. Install missing package could be more than enough.
python main.py base_dir
Note that you may need to change few lines in the main.py marked with 'edit here' to warm up with your own dataset. There still might be a few updates helping you to avoid editing code by loading extra config file.