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