Download code_src/rise_robomimic/robomimic/macros.py from rli14/rsm_rise_code: direct link, hf CLI and curl.
- Browser
- Download file 852 Bytes
-
https://huggingface.co/rli14/rsm_rise_code/resolve/main/code_src/rise_robomimic/robomimic/macros.py
- Command line
-
hf download hf://rli14/rsm_rise_code/code_src/rise_robomimic/robomimic/macros.py
-
curl -L -o macros.py https://huggingface.co/rli14/rsm_rise_code/resolve/main/code_src/rise_robomimic/robomimic/macros.py
852 Bytes
| """ | |
| Set of global variables shared across robomimic | |
| """ | |
| # Sets debugging mode. Should be set at top-level script so that internal | |
| # debugging functionalities are made active | |
| DEBUG = False | |
| # Whether to visualize the before & after of an observation randomizer | |
| VISUALIZE_RANDOMIZER = False | |
| # wandb entity (eg. username or team name) | |
| WANDB_ENTITY = None | |
| # wandb api key (obtain from https://wandb.ai/authorize) | |
| # alternatively, set up wandb from terminal with `wandb login` | |
| WANDB_API_KEY = None | |
| try: | |
| from robomimic.macros_private import * | |
| except ImportError: | |
| from robomimic.utils.log_utils import log_warning | |
| import robomimic | |
| log_warning( | |
| "No private macro file found!"\ | |
| "\nIt is recommended to use a private macro file"\ | |
| "\nTo setup, run: python {}/scripts/setup_macros.py".format(robomimic.__path__[0]) | |
| ) | |