check option for train.py (doesn't like unicodes)