* Change Byte to Bool for training masks * Check if module has Bool, otherwise use Byte
* update * update * re-use single-machine code * update * use relative path * update * update * update * add __init__.py * add __init__.py * import sys, os * fix typo * update