Example #1
0
    # eval settings
    parser.add_argument(
        '--subgoals',
        type=str,
        help=
        "subgoals to evaluate independently, eg:all or GotoLocation,PickupObject...",
        default="")
    parser.add_argument(
        '--smooth_nav',
        dest='smooth_nav',
        action='store_true',
        help='smooth nav actions (might be required based on training data)')
    parser.add_argument('--skip_model_unroll_with_expert',
                        action='store_true',
                        help='forward model with expert actions')
    parser.add_argument('--no_teacher_force_unroll_with_expert',
                        action='store_true',
                        help='no teacher forcing with expert')

    # debug
    parser.add_argument('--debug', dest='debug', action='store_true')
    parser.add_argument('--fast_epoch', dest='fast_epoch', action='store_true')

    # parse arguments
    args = parser.parse_args()

    # eval mode
    eval = EvalTask(args, manager)

    # start threads
    eval.spawn_threads()
Example #2
0
        help=
        "subgoals to evaluate independently, eg:all or GotoLocation,PickupObject...",
        default="")
    parser.add_argument(
        '--smooth_nav',
        dest='smooth_nav',
        action='store_true',
        help='smooth nav actions (might be required based on training data)')
    parser.add_argument('--skip_model_unroll_with_expert',
                        action='store_true',
                        help='forward model with expert actions')
    parser.add_argument('--no_teacher_force_unroll_with_expert',
                        action='store_true',
                        help='no teacher forcing with expert')

    # debug
    parser.add_argument('--debug', dest='debug', action='store_true')
    parser.add_argument('--fast_epoch', dest='fast_epoch', action='store_true')

    # parse arguments
    args = parser.parse_args()

    # eval mode
    if args.subgoals:
        eval = EvalSubgoals(args, manager)
    else:
        eval = EvalTask(args, manager)

    # start threads
    eval.spawn_threads()