BobMak / DroneObjectNav

0 stars 0 forks source link

Habitat Lab Environment Hello World #1

Open BobMak opened 3 years ago

BobMak commented 3 years ago

Write an agent that can move forward until certain distance until the wall and stops

BobMak commented 3 years ago

Able to run habitat-sim after updating the system. Still unable to run habitat-lab. Running

import habitat

# Load embodied AI task (PointNav) and a pre-specified virtual robot
env = habitat.Env(
    config=habitat.get_config("./configs/tasks/pointnav_gibson.yaml")
)

observations = env.reset()

# Step through environment with random actions
while not env.episode_over:
    observations = env.step(env.action_space.sample())

shows Initializing dataset PointNav-v1 hangs and fails with Process finished with exit code 137 (interrupted by signal 9: SIGKILL) after ~30 minutes