TypeError: run() missing 1 required positional argument: 'fetches' on Session.run() Not sess = tf.Session, it should be tf.Session(), you are missing ()