Python import_pb_to_tensorboard.py Results in "'NoneType' object is not callable"

I copied the script and created the file: import_pb_to_tensorboard.py in the tf_unit1_pkg/scripts folder and ran: python import_pb_to_tensorboard.py --model_dir=…/course_tflow_image_student_data/show_case_pb_models/classify_image_graph_def.pb --log_dir=learning_logs

This ended up giving a NoneType error and “RuntimeError: module compiled against API version 0xb but this version of numpy is 0xa”

Hi,

I tested it following the notebook and no error appeard.
Those errors are in reality warnings, they dont affect the result as you can see here the output of the command: