bayes-sim-ig
bayes-sim-ig copied to clipboard
Missing Function `get_attr_val_from_sample`
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.