Ejemplo n.º 1
0
from minos.lib.util.measures import MeasureDistDirTime

config = {
    'task': 'point_goal',
    'goal': {
        'position': 'random',
        'radius': 0.25
    },
    'measure_fun': MeasureDistDirTime(goal_dist_threshold=0.4),
    'reward_type': 'dist_time',
    'agent': {
        'radialClearance': 0.2
    },
    'scenes_file': '../data/scenes.multiroom.csv',
    'states_file': '../data/episode_states.suncg.csv.bz2',
    'scene': {
        'arch_only': False,
        'retexture': True,
        'empty_room': True,
        'dataset': 'p5dScene'
    },
    'scene_filter': lambda s: s['nrooms'] == 2,
    'episode_filter': lambda e: e['pathNumDoors'] > 0,
    'objective_size': 4  # For UNREAL
}
config = {
    'task': 'object_goal',
    'goal': {
        'categories': ['arch', 'door'],
        'select': 'random',
        'dist_from_bbox': True
    },
    'observations': {
        'color': True,
        'forces': False,
        'audio': False,
        'objectType': False,
        'depth': False
    },
    'frame_skip': 1,
    'measure_fun': MeasureDistDirTime(),  #MeasureGoalObjectType(),
    'reward_type': 'dist_time',
    'agent': {
        'radialClearance': 0.2
    },
    'scenes_file': '../data/scenes.multiroom.csv',
    'states_file': '../data/episode_states.suncg.csv.bz2',
    'scene': {
        'arch_only': False,
        'retexture': True,
        'empty_room': False,
        'dataset': 'p5dScene'
    },
    'scene_filter': lambda s: 2 < s['nrooms'] < 6,
    'episode_filter': lambda e: e['pathNumDoors'] > 1,
    'objective_size': 4,  # For UNREAL,
Ejemplo n.º 3
0
config = {
    'task': 'object_goal',
    'goal': {
        'categories': ['arch', 'door'],
        'select': 'random',
        'dist_from_bbox': True
    },
    'observations': {
        'color': True,
        'forces': False,
        'audio': False,
        'objectType': False,
        'depth': False
    },
    'frame_skip': 1,
    'measure_fun': MeasureDistDirTime(),
    'reward_type': 'dist_time',
    'agent': {
        'radialClearance': 0.2
    },
    'scenes_file': '../data/scenes.multiroom.csv',
    'states_file': '../data/episode_states.suncg.csv.bz2',
    'scene': {
        'arch_only': False,
        'retexture': True,
        'empty_room': False,
        'dataset': 'p5dScene'
    },
    'scene_filter': lambda s: s['nrooms'] == 2,
    'episode_filter': lambda e: e['pathNumDoors'] > 0,
    'objective_size': 4,  # For UNREAL
Ejemplo n.º 4
0
from minos.lib.util.measures import MeasureDistDirTime

config = {
    'task':
    'point_goal',
    'goal': {
        'type': 'position',
        'type': 'position',
        'position': 'random',
        'radius': 0.25
    },
    'measure_fun':
    MeasureDistDirTime(goal_dist_threshold=0.4, termination_on_success=False),
    'reward_type':
    'dist_time',
    'agent': {
        'radialClearance': 0.2
    },
    'scenes_file':
    '../data/scenes.multiroom.csv',
    'states_file':
    '../data/episode_states.suncg.csv.bz2',
    'scene': {
        'arch_only': False,
        'retexture': True,
        'empty_room': True,
        'dataset': 'p5dScene'
    },
    'scene_filter':
    lambda s: 2 < s['nrooms'] < 6,
    'episode_filter':