NVlabs / bayes-sim-ig

BayesSimIG: Scalable Parameter Inference for Adaptive Domain Randomization with Isaac Gym
Other
43 stars 1 forks source link

Missing Function `get_attr_val_from_sample` #3

Open Weizhe-Chen opened 1 year ago

Weizhe-Chen commented 1 year ago

Problem

When self.actor_params_generator is not None, we call the function get_attr_val_from_sample, but the definition of this function was in rlgpu which is no longer available: from rlgpu.tasks.base.base_task import get_attr_val_from_sample. This results in an error when trying to run the code with customized domain randomization.

Solution

To fix this issue, we need to provide a replacement for the get_attr_val_from_sample function within the codebase.