generate_goals.py
def is_goal_conditioned(args):
    """
    Be careful with checking this condition. See `load.py`.
    Here, we just check the task name.
    """
    goal_tasks = ['insertion-goal', 'cable-shape-notarget', 'cable-line-notarget',
            'cloth-flat-notarget', 'bag-color-goal']
    return (args.task in goal_tasks)

    Be careful with checking this condition. See `load.py`.
    Here, we just check the task name.
    
Be careful with checking this condition.
Be careful with checking this condition .
def is_goal_conditioned(args):
    goal_tasks = ['insertion-goal', 'cable-shape-notarget', 'cable-line-notarget',
            'cloth-flat-notarget', 'bag-color-goal']
    return (args.task in goal_tasks)
def is_goal_conditioned ( args ) : goal_tasks = [ 'insertion-goal' , 'cable-shape-notarget' , 'cable-line-notarget' , 'cloth-flat-notarget' , 'bag-color-goal' ] return ( args . task in goal_tasks )
Be careful with checking this condition.
Be careful with checking this condition .
"""
    Be careful with checking this condition. See `load.py`.
    Here, we just check the task name.
    """
args