maak <sanar...@gmail.com> added the comment:
FLAGS.train_dir has a boolean value which is checking true or false and i also have same issue import os >>> os.path.join(True, 'best_checkpoint') Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/Cellar/python@2/2.7.14_3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/posixpath.py", line 70, in join elif path == '' or path.endswith('/'): AttributeError: 'bool' object has no attribute 'endswith' can you give me a solution or idea how to solve issue ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue36657> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com