Rename env -> display_sys_info
This commit is contained in:
parent
04340df89a
commit
a00d8e6f94
|
@ -11,7 +11,7 @@ body:
|
||||||
id: system-info
|
id: system-info
|
||||||
attributes:
|
attributes:
|
||||||
label: System Info
|
label: System Info
|
||||||
description: If needed, you can share your lerobot configuration with us by running `python -m lerobot.scripts.env` and copy-pasting its outputs below
|
description: If needed, you can share your lerobot configuration with us by running `python -m lerobot.scripts.display_sys_info` and copy-pasting its outputs below
|
||||||
render: Shell
|
render: Shell
|
||||||
placeholder: lerobot version, OS, python version, numpy version, torch version, and lerobot's configuration
|
placeholder: lerobot version, OS, python version, numpy version, torch version, and lerobot's configuration
|
||||||
validations:
|
validations:
|
||||||
|
|
|
@ -15,7 +15,7 @@ cuda_version = torch._C._cuda_getCompiledVersion() if torch.version.cuda is not
|
||||||
|
|
||||||
|
|
||||||
# TODO(aliberts): refactor into an actual command `lerobot env`
|
# TODO(aliberts): refactor into an actual command `lerobot env`
|
||||||
def get_env_info() -> dict:
|
def display_sys_info() -> dict:
|
||||||
"""Run this to get basic system info to help for tracking issues & bugs."""
|
"""Run this to get basic system info to help for tracking issues & bugs."""
|
||||||
info = {
|
info = {
|
||||||
"`lerobot` version": version,
|
"`lerobot` version": version,
|
||||||
|
@ -40,4 +40,4 @@ def format_dict(d: dict) -> str:
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
get_env_info()
|
display_sys_info()
|
Loading…
Reference in New Issue