-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue about scripts/cache_observations.py #112
Comments
@Hoyyyaard did you follow the instructions in the step-by-step installation guide? you'll need to install a specific habitat version to render the observations. |
I have followed the instructions in the step-by-step installation guide to install soundspace in v0.2.2 and checkout to v0.1.7 both for lab and sim to cache the observation. But I failed to get the result in the readme (success rate of 0.97 and a SPL of 0.803164) when runed the followed command .
|
@Hoyyyaard what are the numbers you get? |
About >50% and <60% inSR |
Seems like there is a bug. I'm looking into it now. Will update you soon. |
@Hoyyyaard sorry about the delay due to a NeurIPS submission. I was trying to reproduce the error but I couldn't. I'm getting 95% SR and I think the observations are rendered according to the installation document. Just to debug, could you evaluate on my rendered observations (you can download them from https://drive.google.com/file/d/1I_eVW4X8sSEaABHOTFq7JpioT9EtnRwo/view?usp=share_link) and see what numbers you are getting? |
@ChanganVR This link is not working(https://drive.google.com/file/d/1I_eVW4X8sSEaABHOTFq7JpioT9EtnRwo/view?usp=share_link), cloud you give me a new one |
When I try to pre-compute the semantic sensor like rgb sensor using the scripts/cache_observations.py, Sometimes the returned image of the semantic sensor is a rotation of the Rgb image, and sometimes it doesn't match Rgb image at all.Can you please help me to solve the problem? Thanks!
code of scripts/cache_observations.py:
Copyright (c) Facebook, Inc. and its affiliates.
All rights reserved.
This source code is licensed under the license found in the
LICENSE file in the root directory of this source tree.
import os
import argparse
import pickle
import tqdm
import magnum as mn
import numpy as np
import habitat_sim
from habitat.core.registry import registry
from habitat.core.simulator import SensorSuite
from habitat_sim.utils.common import quat_from_angle_axis
from soundspaces.utils import load_metadata
from ss_baselines.av_nav.config import get_config
def create_sim(scene_id, sensor_suite):
backend_cfg = habitat_sim.SimulatorConfiguration()
backend_cfg.scene_id = scene_id
backend_cfg.enable_physics = False
def main(dataset):
"""
This functions computes and saves the visual observations for the pre-defined grid points in SoundSpaces 1.0
"""
parser = argparse.ArgumentParser()
parser.add_argument(
"--config-path",
type=str,
default='ss_baselines/av_nav/config/audionav/{}/train_telephone/pointgoal_rgb.yaml'.format(dataset)
)
args = parser.parse_args()
if name == 'main':
# print('Caching Replica observations ...')
# main('replica')
print('Caching Matterport3D observations ...')
main('mp3d')
The text was updated successfully, but these errors were encountered: