solivr / tf-crnn

TensorFlow convolutional recurrent neural network (CRNN) for text recognition
GNU General Public License v3.0
292 stars 98 forks source link

there are errors about the function definition:import_params_from_json #16

Closed zhLawliet closed 6 years ago

zhLawliet commented 6 years ago

def import_params_from_json(model_directory: str=None, json_filename: str=None) -> dict: i must modify it: def import_params_from_json(model_directory, json_filename): how can i define the function like the: def import_params_from_json(model_directory: str=None, json_filename: str=None) -> dict: