easy fix for bash script file unexpected end of file error May 24, 2019 bash unexpected-end-of-file open with vi, and execute :set fileformat=unix and save the file. referred from here. ←saving and loading only architecture of tf.keras model adding same handler to all loggers at once in main script→