(mid)
return pickle.load(open(filename, "rb"))
load action by mid
load action by mid
load action by mid
def load_action(mid):
    """
        load action by mid
    """
    filename = os.path.join(FLAGS.logdir, "actions", "%d.pkl" % mid)
    return pickle.load(open(filename, "rb"))
def load_action ( mid ) : filename = os . path . join ( FLAGS . logdir , "actions" , "%d.pkl" % mid ) return pickle . load ( open ( filename , "rb" ) )