repo_full_name
stringlengths
6
93
repo_url
stringlengths
25
112
repo_api_url
stringclasses
28 values
owner
stringclasses
28 values
repo_name
stringclasses
28 values
description
stringclasses
28 values
stars
int64
617
98.8k
forks
int64
31
355
watchers
int64
990
999
license
stringclasses
2 values
default_branch
stringclasses
2 values
repo_created_at
timestamp[s]date
2012-07-24 23:12:50
2025-06-16 08:07:28
repo_updated_at
timestamp[s]date
2026-02-23 15:23:15
2026-05-03 18:52:12
repo_topics
listlengths
0
13
repo_languages
unknown
is_fork
bool
1 class
open_issues
int64
3
104
file_path
stringlengths
3
208
file_name
stringclasses
509 values
file_extension
stringclasses
1 value
file_size_bytes
int64
101
84k
file_url
stringclasses
627 values
file_raw_url
stringclasses
627 values
file_sha
stringclasses
624 values
language
stringclasses
8 values
parsed_at
stringdate
2026-05-04 01:12:36
2026-05-04 19:41:55
text
stringlengths
100
102k
geopavlakos/hamer
https://github.com/geopavlakos/hamer
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
hamer/utils/download.py
null
null
null
null
null
null
Python
2026-05-04T01:39:29.579559
import os import re import sys from urllib import request as urlrequest def _progress_bar(count, total): """Report download progress. Credit: https://stackoverflow.com/questions/3173320/text-progress-bar-in-the-console/27871113 """ bar_len = 60 filled_len = int(round(bar_len * count / float(total)...
geopavlakos/hamer
https://github.com/geopavlakos/hamer
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
hamer/utils/geometry.py
null
null
null
null
null
null
Python
2026-05-04T01:39:29.580117
from typing import Optional import torch from torch.nn import functional as F def aa_to_rotmat(theta: torch.Tensor): """ Convert axis-angle representation to rotation matrix. Works by first converting it to a quaternion. Args: theta (torch.Tensor): Tensor of shape (B, 3) containing axis-angle r...
geopavlakos/hamer
https://github.com/geopavlakos/hamer
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
hamer/utils/mesh_renderer.py
null
null
null
null
null
null
Python
2026-05-04T01:39:29.588405
import os if 'PYOPENGL_PLATFORM' not in os.environ: os.environ['PYOPENGL_PLATFORM'] = 'egl' import torch from torchvision.utils import make_grid import numpy as np import pyrender import trimesh import cv2 import torch.nn.functional as F from .render_openpose import render_openpose def create_raymond_lights(): ...
geopavlakos/hamer
https://github.com/geopavlakos/hamer
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
hamer/models/losses.py
null
null
null
null
null
null
Python
2026-05-04T01:39:29.598467
import torch import torch.nn as nn class Keypoint2DLoss(nn.Module): def __init__(self, loss_type: str = 'l1'): """ 2D keypoint loss module. Args: loss_type (str): Choose between l1 and l2 losses. """ super(Keypoint2DLoss, self).__init__() if loss_type ==...
geopavlakos/hamer
https://github.com/geopavlakos/hamer
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
hamer/utils/pose_utils.py
null
null
null
null
null
null
Python
2026-05-04T01:39:29.626100
""" Code adapted from: https://github.com/akanazawa/hmr/blob/master/src/benchmark/eval_util.py """ import torch import numpy as np from typing import Optional, Dict, List, Tuple def compute_similarity_transform(S1: torch.Tensor, S2: torch.Tensor) -> torch.Tensor: """ Computes a similarity transform (sR, t) in...
geopavlakos/hamer
https://github.com/geopavlakos/hamer
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
hamer/utils/__init__.py
null
null
null
null
null
null
Python
2026-05-04T01:39:29.655484
import torch from typing import Any from .renderer import Renderer from .mesh_renderer import MeshRenderer from .skeleton_renderer import SkeletonRenderer from .pose_utils import eval_pose, Evaluator def recursive_to(x: Any, target: torch.device): """ Recursively transfer a batch of data to the target device ...
geopavlakos/hamer
https://github.com/geopavlakos/hamer
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
hamer/utils/misc.py
null
null
null
null
null
null
Python
2026-05-04T01:39:29.668892
import time import warnings from importlib.util import find_spec from pathlib import Path from typing import Callable, List import hydra from omegaconf import DictConfig, OmegaConf from pytorch_lightning import Callback from pytorch_lightning.loggers import Logger from pytorch_lightning.utilities import rank_zero_only...
geopavlakos/hamer
https://github.com/geopavlakos/hamer
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
hamer/utils/render_openpose.py
null
null
null
null
null
null
Python
2026-05-04T01:39:30.119350
""" Render OpenPose keypoints. Code was ported to Python from the official C++ implementation https://github.com/CMU-Perceptual-Computing-Lab/openpose/blob/master/src/openpose/utilities/keypoint.cpp """ import cv2 import math import numpy as np from typing import List, Tuple def get_keypoints_rectangle(keypoints: np.a...
geopavlakos/hamer
https://github.com/geopavlakos/hamer
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
hamer/utils/renderer.py
null
null
null
null
null
null
Python
2026-05-04T01:39:30.135869
import os if 'PYOPENGL_PLATFORM' not in os.environ: os.environ['PYOPENGL_PLATFORM'] = 'egl' import torch import numpy as np import pyrender import trimesh import cv2 from yacs.config import CfgNode from typing import List, Optional def cam_crop_to_full(cam_bbox, box_center, box_size, img_size, focal_length=5000.):...
geopavlakos/hamer
https://github.com/geopavlakos/hamer
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
hamer/utils/pylogger.py
null
null
null
null
null
null
Python
2026-05-04T01:39:30.136352
import logging from pytorch_lightning.utilities import rank_zero_only def get_pylogger(name=__name__) -> logging.Logger: """Initializes multi-GPU-friendly python command line logger.""" logger = logging.getLogger(name) # this ensures all logging levels get marked with the rank zero decorator # othe...
geopavlakos/hamer
https://github.com/geopavlakos/hamer
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
train.py
null
null
null
null
null
null
Python
2026-05-04T01:39:30.210695
from typing import Optional, Tuple import pyrootutils root = pyrootutils.setup_root( search_from=__file__, indicator=[".git", "pyproject.toml"], pythonpath=True, dotenv=True, ) import os from pathlib import Path import hydra import pytorch_lightning as pl from omegaconf import DictConfig, OmegaConf f...
geopavlakos/hamer
https://github.com/geopavlakos/hamer
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
setup.py
null
null
null
null
null
null
Python
2026-05-04T01:39:30.211299
from setuptools import setup, find_packages print('Found packages:', find_packages()) setup( description='HaMeR as a package', name='hamer', packages=find_packages(), install_requires=[ 'gdown', 'numpy', 'opencv-python', 'pyrender', 'pytorch-lightning', '...
geopavlakos/hamer
https://github.com/geopavlakos/hamer
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
hamer/utils/rich_utils.py
null
null
null
null
null
null
Python
2026-05-04T01:39:30.224797
from pathlib import Path from typing import Sequence import rich import rich.syntax import rich.tree from hydra.core.hydra_config import HydraConfig from omegaconf import DictConfig, OmegaConf, open_dict from pytorch_lightning.utilities import rank_zero_only from rich.prompt import Prompt from . import pylogger log ...
geopavlakos/hamer
https://github.com/geopavlakos/hamer
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
vitpose_model.py
null
null
null
null
null
null
Python
2026-05-04T01:39:30.225300
from __future__ import annotations import os import numpy as np import torch import torch.nn as nn from mmpose.apis import inference_top_down_pose_model, init_pose_model, process_mmdet_results, vis_pose_result os.environ["PYOPENGL_PLATFORM"] = "egl" # project root directory ROOT_DIR = "./" VIT_DIR = os.path.join(R...
geopavlakos/hamer
https://github.com/geopavlakos/hamer
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
hamer/utils/skeleton_renderer.py
null
null
null
null
null
null
Python
2026-05-04T01:39:30.265675
import torch import numpy as np import trimesh from typing import Optional from yacs.config import CfgNode from .geometry import perspective_projection from .render_openpose import render_openpose class SkeletonRenderer: def __init__(self, cfg: CfgNode): """ Object used to render 3D keypoints. Fa...
geopavlakos/hamer
https://github.com/geopavlakos/hamer
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
hamer/utils/utils_detectron2.py
null
null
null
null
null
null
Python
2026-05-04T01:39:30.323392
import detectron2.data.transforms as T import torch from detectron2.checkpoint import DetectionCheckpointer from detectron2.config import CfgNode, instantiate from detectron2.data import MetadataCatalog from omegaconf import OmegaConf class DefaultPredictor_Lazy: """Create a simple end-to-end predictor with the g...
jbuchermn/newm
https://github.com/jbuchermn/newm
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
dev/config_doc.py
null
null
null
null
null
null
Python
2026-05-04T01:39:33.412931
import re import glob import os r = re.compile(r'.*configured_value\([\'\"]([\w\.\-]+)[\'\"](,(.+))?\)') r_error = re.compile(r'.*configured_value\(\s*$') keys = [] for file in glob.iglob(os.path.join(os.path.dirname(os.path.realpath(__file__)), "..", "newm", "**", "*.py"), recursive=True): if '__pycache__' in f...
jbuchermn/newm
https://github.com/jbuchermn/newm
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
newm/__init__.py
null
null
null
null
null
null
Python
2026-05-04T01:39:33.414492
from __future__ import annotations from .run import run from .cmd import cmd from .dbus import connect_to_auth
jbuchermn/newm
https://github.com/jbuchermn/newm
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
newm/dbus/auth.py
null
null
null
null
null
null
Python
2026-05-04T01:39:33.416020
from __future__ import annotations from typing import Any, Callable import json import logging from dasbus.server.template import InterfaceTemplate # type: ignore from dasbus.server.publishable import Publishable # type: ignore from dasbus.signal import Signal # type: ignore from dasbus.connection import SessionMes...
jbuchermn/newm
https://github.com/jbuchermn/newm
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
newm/dbus/__init__.py
null
null
null
null
null
null
Python
2026-05-04T01:39:33.417615
from .endpoint import DBusEndpoint from .command import send_dbus_command from .auth import AuthRequest, connect_to_auth from .gesture import DBusGestureProvider
jbuchermn/newm
https://github.com/jbuchermn/newm
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
newm/animate.py
null
null
null
null
null
null
Python
2026-05-04T01:39:33.418591
from __future__ import annotations from typing import TypeVar, Generic, Optional from abc import abstractmethod import logging import time from threading import Lock from .interpolation import Interpolation from .state import LayoutState logger = logging.getLogger(__name__) StateT = TypeVar('StateT') class Animat...
jbuchermn/newm
https://github.com/jbuchermn/newm
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
newm/config.py
null
null
null
null
null
null
Python
2026-05-04T01:39:33.471732
from __future__ import annotations from typing import TypeVar, Optional, Callable, Any, Generic, Union, cast import pathlib import importlib import logging import sys import os _provider = {} _consumer: dict[str, Any] = {} logger = logging.getLogger(__name__) T = TypeVar('T') class _ConfiguredValue(Generic[T]): ...
jbuchermn/newm
https://github.com/jbuchermn/newm
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
newm/cmd.py
null
null
null
null
null
null
Python
2026-05-04T01:39:33.515235
from __future__ import annotations import time from .dbus import send_dbus_command def cmd(command: str, *args: str) -> None: if command == "inhibit-idle": try: send_dbus_command({"cmd": "inhibit-idle"}) while True: time.sleep(10) except: pass ...
jbuchermn/newm
https://github.com/jbuchermn/newm
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
newm/auth_backend.py
null
null
null
null
null
null
Python
2026-05-04T01:39:33.515752
from __future__ import annotations from typing import Optional, Any, TYPE_CHECKING import os import logging import pam # type: ignore import sys import socket import json from .config import configured_value from .dbus import AuthRequest if TYPE_CHECKING: from .layout import Layout logger = logging.getLogger(__...
jbuchermn/newm
https://github.com/jbuchermn/newm
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
newm/dbus/command.py
null
null
null
null
null
null
Python
2026-05-04T01:39:33.527932
from __future__ import annotations from typing import Any, TYPE_CHECKING, Optional import json import logging from dasbus.connection import SessionMessageBus # type: ignore if TYPE_CHECKING: from ..layout import Layout logger = logging.getLogger(__name__) class Command: __dbus_xml__ = """ <node> ...
jbuchermn/newm
https://github.com/jbuchermn/newm
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
newm/dbus/endpoint.py
null
null
null
null
null
null
Python
2026-05-04T01:39:33.580012
from __future__ import annotations from typing import Any, TYPE_CHECKING, Optional import json import logging from threading import Thread from dasbus.loop import EventLoop # type: ignore from dasbus.connection import SessionMessageBus, SystemMessageBus # type: ignore from dasbus.server.container import DBusContaine...
jbuchermn/newm
https://github.com/jbuchermn/newm
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
newm/dbus/gesture.py
null
null
null
null
null
null
Python
2026-05-04T01:39:34.021932
from __future__ import annotations from typing import Callable, TYPE_CHECKING from dasbus.server.template import InterfaceTemplate # type: ignore from dasbus.server.publishable import Publishable # type: ignore from ..gestures import Gesture from ..gestures.provider import GestureProvider if TYPE_CHECKING: fro...
jbuchermn/newm
https://github.com/jbuchermn/newm
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
newm/default_config.py
null
null
null
null
null
null
Python
2026-05-04T01:39:34.049591
from __future__ import annotations from typing import Callable, Any import os import pwd import time import logging from newm.layout import Layout from newm.helper import BacklightManager, WobRunner, PaCtl from pywm import ( PYWM_MOD_LOGO, PYWM_MOD_ALT ) logger = logging.getLogger(__name__) background = { ...
jbuchermn/newm
https://github.com/jbuchermn/newm
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
newm/gestures/gesture.py
null
null
null
null
null
null
Python
2026-05-04T01:39:34.050087
from __future__ import annotations from .gesture_listener import GestureListener """ Kinds: - move-1 - swipe-[2,3,4,5] Values: - delta_x - delta_y - delta2_s - rotation - scale """ class Gesture: def __init__(self, kind: str) -> None: self._listeners: list[GestureListener] = [...
jbuchermn/newm
https://github.com/jbuchermn/newm
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
newm/gestures/gesture_listener.py
null
null
null
null
null
null
Python
2026-05-04T01:39:34.105128
from __future__ import annotations from typing import Optional, Callable class GestureListener: def __init__(self, on_update: Optional[Callable[[dict[str, float]], None]], on_terminate: Optional[Callable[[], None]]): self._on_update = on_update self._on_terminate = on_terminate def update(self...
jbuchermn/newm
https://github.com/jbuchermn/newm
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
newm/gestures/lowpass.py
null
null
null
null
null
null
Python
2026-05-04T01:39:34.135441
from __future__ import annotations from typing import Optional class Lowpass: def __init__(self, inertia: float) -> None: self._last_val: Optional[float] = None self._inertia = inertia def next(self, val: float) -> float: if self._last_val is None: self._last_val = val ...
jbuchermn/newm
https://github.com/jbuchermn/newm
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
newm/gestures/provider/__init__.py
null
null
null
null
null
null
Python
2026-05-04T01:39:34.136536
from .provider import GestureProvider from .c_gestures import CGestureProvider from .pyevdev_provider import PyEvdevGestureProvider
jbuchermn/newm
https://github.com/jbuchermn/newm
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
newm/gestures/__init__.py
null
null
null
null
null
null
Python
2026-05-04T01:39:34.137696
from .gesture import Gesture from .gesture_listener import GestureListener from .lowpass_gesture import LowpassGesture
jbuchermn/newm
https://github.com/jbuchermn/newm
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
newm/gestures/provider/c_gestures.py
null
null
null
null
null
null
Python
2026-05-04T01:39:34.161039
from __future__ import annotations from typing import Union, Callable, Optional import time import logging from threading import Thread from .provider import GestureProvider from ..gesture import Gesture from ...config import configured_value logger = logging.getLogger(__name__) conf_scale = configured_value('gestu...
jbuchermn/newm
https://github.com/jbuchermn/newm
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
newm/gestures/provider/provider.py
null
null
null
null
null
null
Python
2026-05-04T01:39:34.216276
from __future__ import annotations from typing import Callable, Union from ..gesture import Gesture class GestureProvider: def __init__(self, on_gesture: Callable[[Gesture], bool]) -> None: self._on_gesture = on_gesture """ 0 == False, let slip to next provider 1 == False, don't let slip to n...
jbuchermn/newm
https://github.com/jbuchermn/newm
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
newm/gestures/lowpass_gesture.py
null
null
null
null
null
null
Python
2026-05-04T01:39:34.217552
from __future__ import annotations from typing import Optional from threading import Thread import time from .lowpass import Lowpass from .gesture import Gesture from .gesture_listener import GestureListener class LowpassGesture(Thread, Gesture): def __init__(self, gesture: Gesture, lp_inertia: float, lp_freq: f...
jbuchermn/newm
https://github.com/jbuchermn/newm
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
newm/gestures/provider/pyevdev_provider.py
null
null
null
null
null
null
Python
2026-05-04T01:39:34.590467
from __future__ import annotations from typing import Optional, Union from abc import abstractmethod import logging import time from threading import Thread import math from typing import Callable from ...config import configured_value from ..gesture import Gesture from ..gesture_listener import GestureListener from...
jbuchermn/newm
https://github.com/jbuchermn/newm
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
newm/gestures/provider/pyevdev_touchpad.py
null
null
null
null
null
null
Python
2026-05-04T01:39:34.656071
from __future__ import annotations from select import select import evdev # type: ignore import time import logging from threading import Thread from typing import Callable, Generator logger = logging.getLogger(__name__) class Slot: def __init__(self, parent: Touchpad, n: int) -> None: self.parent = par...
jbuchermn/newm
https://github.com/jbuchermn/newm
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
newm/grid.py
null
null
null
null
null
null
Python
2026-05-04T01:39:34.681818
#!/usr/bin/env python3 from __future__ import annotations from typing import Optional import math import time import logging try: from .config import configured_value conf_time_scale = configured_value('grid.time_scale', .3) conf_throw_ps = configured_value('grid.throw_ps', [1, 5, 15]) conf_min_dist...
jbuchermn/newm
https://github.com/jbuchermn/newm
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
newm/helper/__init__.py
null
null
null
null
null
null
Python
2026-05-04T01:39:34.682468
from .execute import execute from .backlight_manager import BacklightManager from .bar_display import BarDisplay, WobRunner from .pactl import PaCtl
jbuchermn/newm
https://github.com/jbuchermn/newm
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
newm/helper/execute.py
null
null
null
null
null
null
Python
2026-05-04T01:39:34.765632
from __future__ import annotations import subprocess def execute(command: str) -> str: proc = subprocess.Popen(command, shell=True, stdout=subprocess.PIPE) return proc.stdout.read().decode() if proc.stdout is not None else ""
jbuchermn/newm
https://github.com/jbuchermn/newm
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
newm/helper/backlight_manager.py
null
null
null
null
null
null
Python
2026-05-04T01:39:34.786928
from __future__ import annotations from typing import Optional import logging import time import os from .execute import execute from .bar_display import BarDisplay logger = logging.getLogger(__name__) class BacklightManager: def __init__(self, args: str="", dim_factors: tuple[float, float]=(0.5, 0.33), anim_ti...
jbuchermn/newm
https://github.com/jbuchermn/newm
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
newm/helper/pactl.py
null
null
null
null
null
null
Python
2026-05-04T01:39:34.793958
from __future__ import annotations from typing import Optional import os import re import logging from .bar_display import BarDisplay from .execute import execute logger = logging.getLogger(__name__) class PaCtl: def __init__(self, sink: int=0, bar_display: Optional[BarDisplay]=None) -> None: self._sin...
jbuchermn/newm
https://github.com/jbuchermn/newm
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
newm/hysteresis.py
null
null
null
null
null
null
Python
2026-05-04T01:39:34.794590
from __future__ import annotations import math class Hysteresis: def __init__(self, amount: float, initial_value: float): self._amount = amount self._at = round(initial_value) def __call__(self, value: float) -> int: i, j = math.floor(value), math.ceil(value) if self._at != i ...
jbuchermn/newm
https://github.com/jbuchermn/newm
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
newm/helper/bar_display.py
null
null
null
null
null
null
Python
2026-05-04T01:39:35.425637
from __future__ import annotations from typing import Optional from abc import abstractmethod from subprocess import Popen, PIPE, STDOUT import logging logger = logging.getLogger(__name__) class BarDisplay: @abstractmethod def display(self, value: float) -> None: pass class WobRunner(BarDisplay): ...
jbuchermn/newm
https://github.com/jbuchermn/newm
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
newm/interpolation.py
null
null
null
null
null
null
Python
2026-05-04T01:39:35.426833
from __future__ import annotations from typing import TypeVar, Generic, TYPE_CHECKING import logging from pywm import PyWMViewDownstreamState, PyWMWidgetDownstreamState, PyWMDownstreamState, PyWMWidget from .config import configured_value if TYPE_CHECKING: from .layout import Layout logger = logging.getLogger(_...
jbuchermn/newm
https://github.com/jbuchermn/newm
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
newm/panel_launcher.py
null
null
null
null
null
null
Python
2026-05-04T01:39:36.198767
from __future__ import annotations from typing import Optional, cast from threading import Thread import subprocess import psutil # type: ignore import time import logging from .config import configured_value logger = logging.getLogger(__name__) all_panels: list[str] = [ "lock", "launcher", "top_bar", ...
jbuchermn/newm
https://github.com/jbuchermn/newm
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
newm/overlay/swipe_to_zoom_overlay.py
null
null
null
null
null
null
Python
2026-05-04T01:39:36.237776
from __future__ import annotations from typing import TYPE_CHECKING, Optional, cast from ..gestures import Gesture, GestureListener, LowpassGesture from .overlay import Overlay from ..grid import Grid from ..hysteresis import Hysteresis from ..config import configured_value if TYPE_CHECKING: from ..layout import...
jbuchermn/newm
https://github.com/jbuchermn/newm
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
newm/key_processor.py
null
null
null
null
null
null
Python
2026-05-04T01:39:36.351311
from __future__ import annotations from typing import Callable, Any import logging from pywm import PyWMModifiers logger = logging.getLogger(__name__) class KeyEvent: def __init__(self) -> None: self.is_mod = False self.pressed = False self.keysyms = "" self.modifiers = PyWMModifi...
jbuchermn/newm
https://github.com/jbuchermn/newm
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
newm/layout.py
null
null
null
null
null
null
Python
2026-05-04T01:39:36.545076
from __future__ import annotations from typing import Optional, Callable, TYPE_CHECKING, TypeVar, Union, Any, cast import time import math import logging import os from itertools import product from threading import Thread from pywm import ( PyWM, PyWMModifiers, PyWMOutput, PyWMDownstreamState, PY...
jbuchermn/newm
https://github.com/jbuchermn/newm
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
newm/run.py
null
null
null
null
null
null
Python
2026-05-04T01:39:36.992819
from __future__ import annotations from typing import Optional import time import logging try: import yappi # type: ignore YAPPI = True except: YAPPI = False from .layout import Layout logger = logging.getLogger(__name__) def run(debug: bool=False, profile: bool=False, config_file: Optional[str]=None) ...
jbuchermn/newm
https://github.com/jbuchermn/newm
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
newm/state.py
null
null
null
null
null
null
Python
2026-05-04T01:39:36.993944
from __future__ import annotations from typing import Any, Optional, TYPE_CHECKING, cast import math import logging from .config import configured_value if TYPE_CHECKING: from .view import View from .layout import Layout, Workspace logger = logging.getLogger(__name__) conf_top_bar_vn = configured_value('pa...
jbuchermn/newm
https://github.com/jbuchermn/newm
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
newm/util.py
null
null
null
null
null
null
Python
2026-05-04T01:39:37.130805
from __future__ import annotations from typing import Optional import time import logging from typing import Any logger = logging.getLogger(__name__) class Profile: def __init__(self, name: str) -> None: self.name = name self._cur: Optional[float] = None self.ts: list[float] = [] s...
jbuchermn/newm
https://github.com/jbuchermn/newm
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
newm/view.py
null
null
null
null
null
null
Python
2026-05-04T01:39:37.555064
from __future__ import annotations from typing import Optional, TYPE_CHECKING, cast, TypeVar, Any import math import logging import time import psutil # type: ignore from pywm import PyWMView, PyWMViewDownstreamState, PyWMOutput from pywm.pywm_view import PyWMViewUpstreamState from .state import ViewState, LayoutSt...
jbuchermn/newm
https://github.com/jbuchermn/newm
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
newm/widget/__init__.py
null
null
null
null
null
null
Python
2026-05-04T01:39:37.568697
from .bar import TopBar, BottomBar from .background import Background from .corner import Corner from .focus_border import FocusBorders from .ssd import SSDs from .background_blur import BackgroundBlur
jbuchermn/newm
https://github.com/jbuchermn/newm
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
newm/widget/background.py
null
null
null
null
null
null
Python
2026-05-04T01:39:37.620693
from __future__ import annotations from typing import TYPE_CHECKING, Any, Optional, cast import math import time import logging from pywm import PyWMBackgroundWidget, PyWMWidgetDownstreamState, PyWMOutput from ..animate import Animatable from ..config import configured_value if TYPE_CHECKING: from ..state impor...
jbuchermn/newm
https://github.com/jbuchermn/newm
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
newm/widget/background_blur.py
null
null
null
null
null
null
Python
2026-05-04T01:39:37.733733
from __future__ import annotations from typing import TYPE_CHECKING, Optional, Any if TYPE_CHECKING: from ..state import LayoutState from ..view import View, CustomDownstreamState from ..layout import Layout import logging from pywm import PyWMBlurWidget, PyWMWidgetDownstreamState, PyWMOutput from ..ani...
jbuchermn/newm
https://github.com/jbuchermn/newm
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
newm/widget/bar.py
null
null
null
null
null
null
Python
2026-05-04T01:39:38.203312
from __future__ import annotations from typing import TYPE_CHECKING, Any from abc import abstractmethod from threading import Thread import time import cairo from pywm import PyWMCairoWidget, PyWMWidgetDownstreamState, PyWMOutput from ..interpolation import WidgetDownstreamInterpolation from ..animate import Animate...
jbuchermn/newm
https://github.com/jbuchermn/newm
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
newm/widget/corner.py
null
null
null
null
null
null
Python
2026-05-04T01:39:38.236061
from __future__ import annotations from typing import TYPE_CHECKING, Any from pywm import PyWMWidget, PyWMWidgetDownstreamState, PyWMOutput from ..config import configured_value if TYPE_CHECKING: from newm.layout import Layout conf_corner_radius = configured_value('corner_radius', 18) class Corner(PyWMWidget...
jbuchermn/newm
https://github.com/jbuchermn/newm
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
newm/overlay/move_resize_overlay.py
null
null
null
null
null
null
Python
2026-05-04T01:39:40.377708
from __future__ import annotations from typing import TYPE_CHECKING, Optional from threading import Thread import time import logging from pywm import PYWM_PRESSED, PyWMModifiers from .overlay import Overlay from ..grid import Grid from ..hysteresis import Hysteresis from ..config import configured_value from ..gest...
jbuchermn/newm
https://github.com/jbuchermn/newm
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
newm/overlay/move_resize_floating_overlay.py
null
null
null
null
null
null
Python
2026-05-04T01:39:40.410753
from __future__ import annotations from typing import TYPE_CHECKING, Optional import logging from pywm import PYWM_PRESSED, PYWM_MOD_LOGO, PyWMModifiers from .overlay import Overlay from ..config import configured_value from ..gestures import Gesture, GestureListener, LowpassGesture if TYPE_CHECKING: from ..la...
jbuchermn/newm
https://github.com/jbuchermn/newm
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
newm/overlay/overlay.py
null
null
null
null
null
null
Python
2026-05-04T01:39:40.418225
from __future__ import annotations from typing import Optional, TYPE_CHECKING from pywm import PyWMModifiers import logging from ..gestures import Gesture if TYPE_CHECKING: from ..state import LayoutState from ..layout import Layout logger = logging.getLogger(__name__) class Overlay: def __init__(self...
jbuchermn/newm
https://github.com/jbuchermn/newm
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
newm/overlay/__init__.py
null
null
null
null
null
null
Python
2026-05-04T01:39:40.462676
from .move_resize_overlay import MoveResizeOverlay from .swipe_overlay import SwipeOverlay from .swipe_to_zoom_overlay import SwipeToZoomOverlay from .launcher_overlay import LauncherOverlay from .move_resize_floating_overlay import MoveResizeFloatingOverlay from .overlay import Overlay
jbuchermn/newm
https://github.com/jbuchermn/newm
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
newm/overlay/swipe_overlay.py
null
null
null
null
null
null
Python
2026-05-04T01:39:40.463178
from __future__ import annotations from typing import Optional, TYPE_CHECKING from ..gestures import Gesture, GestureListener, LowpassGesture from .overlay import Overlay from ..grid import Grid from ..config import configured_value if TYPE_CHECKING: from ..layout import Layout from ..state import LayoutState...
jbuchermn/newm
https://github.com/jbuchermn/newm
null
null
null
null
969
null
null
mit
null
null
null
null
null
null
null
newm/overlay/launcher_overlay.py
null
null
null
null
null
null
Python
2026-05-04T01:39:40.490445
from __future__ import annotations from typing import TYPE_CHECKING, Optional import logging from pywm import PYWM_RELEASED from ..gestures import Gesture, GestureListener, LowpassGesture from .overlay import Overlay from ..config import configured_value if TYPE_CHECKING: from ..layout import Layout from .....
LeCAR-Lab/ASAP
https://github.com/LeCAR-Lab/ASAP
null
null
null
null
1,999
null
null
mit
null
null
null
null
null
null
null
humanoidverse/agents/callbacks/analysis_plot_motion_tracking_openloop.py
null
null
null
null
null
null
Python
2026-05-04T01:39:47.756852
import torch from torch import Tensor from pathlib import Path import matplotlib.pyplot as plt import numpy as np from collections import defaultdict from multiprocessing import Process, Value import plotly import plotly.graph_objects as go from plotly.subplots import make_subplots from flask import Flask, render_tem...
LeCAR-Lab/ASAP
https://github.com/LeCAR-Lab/ASAP
null
null
null
null
1,999
null
null
mit
null
null
null
null
null
null
null
humanoidverse/agents/callbacks/analysis_plot_motion_tracking.py
null
null
null
null
null
null
Python
2026-05-04T01:39:47.769679
import torch from torch import Tensor from pathlib import Path import matplotlib.pyplot as plt import numpy as np from collections import defaultdict from multiprocessing import Process, Value import plotly import plotly.graph_objects as go from plotly.subplots import make_subplots from flask import Flask, render_tem...
LeCAR-Lab/ASAP
https://github.com/LeCAR-Lab/ASAP
null
null
null
null
1,999
null
null
mit
null
null
null
null
null
null
null
humanoidverse/agents/callbacks/analysis_plot_force_estimator.py
null
null
null
null
null
null
Python
2026-05-04T01:39:48.218114
import torch from torch import Tensor from pathlib import Path import matplotlib.pyplot as plt import numpy as np from collections import defaultdict from multiprocessing import Process, Value import plotly import plotly.graph_objects as go from plotly.subplots import make_subplots from flask import Flask, render_tem...
LeCAR-Lab/ASAP
https://github.com/LeCAR-Lab/ASAP
null
null
null
null
1,999
null
null
mit
null
null
null
null
null
null
null
humanoidverse/agents/base_algo/base_algo.py
null
null
null
null
null
null
Python
2026-05-04T01:39:48.219148
import torch from torch import nn, Tensor import time import math from pathlib import Path from typing import Optional, List, Tuple, Dict from hydra.utils import instantiate from humanoidverse.envs.base_task.base_task import BaseTask class BaseAlgo: def __init__(self, env: BaseTask, config, device): s...
LeCAR-Lab/ASAP
https://github.com/LeCAR-Lab/ASAP
null
null
null
null
1,999
null
null
mit
null
null
null
null
null
null
null
humanoidverse/agents/callbacks/analysis_plot_locomotion_estimate_vel.py
null
null
null
null
null
null
Python
2026-05-04T01:39:48.220354
import torch from torch import Tensor from pathlib import Path import matplotlib.pyplot as plt import numpy as np from collections import defaultdict from multiprocessing import Process, Value import plotly import plotly.graph_objects as go from plotly.subplots import make_subplots from flask import Flask, render_tem...
LeCAR-Lab/ASAP
https://github.com/LeCAR-Lab/ASAP
null
null
null
null
1,999
null
null
mit
null
null
null
null
null
null
null
humanoidverse/agents/callbacks/analysis_plot_force.py
null
null
null
null
null
null
Python
2026-05-04T01:39:48.221439
import torch from torch import Tensor from pathlib import Path import matplotlib.pyplot as plt import numpy as np from collections import defaultdict from multiprocessing import Process, Value import plotly import plotly.graph_objects as go from plotly.subplots import make_subplots from flask import Flask, render_tem...
LeCAR-Lab/ASAP
https://github.com/LeCAR-Lab/ASAP
null
null
null
null
1,999
null
null
mit
null
null
null
null
null
null
null
humanoidverse/agents/callbacks/analysis_plot_locomotion.py
null
null
null
null
null
null
Python
2026-05-04T01:39:48.415412
import torch from torch import Tensor from pathlib import Path import matplotlib.pyplot as plt import numpy as np from collections import defaultdict from multiprocessing import Process, Value import plotly import plotly.graph_objects as go from plotly.subplots import make_subplots from flask import Flask, render_tem...
LeCAR-Lab/ASAP
https://github.com/LeCAR-Lab/ASAP
null
null
null
null
1,999
null
null
mit
null
null
null
null
null
null
null
humanoidverse/agents/force_control/ppo_force_estimator.py
null
null
null
null
null
null
Python
2026-05-04T01:39:48.817172
import torch import torch.nn as nn import torch.nn.functional as F import torch.optim as optim from humanoidverse.agents.modules.data_utils import RolloutStorage from humanoidverse.agents.ppo.ppo import PPO from humanoidverse.envs.base_task.base_task import BaseTask from humanoidverse.agents.callbacks.base_callback i...
LeCAR-Lab/ASAP
https://github.com/LeCAR-Lab/ASAP
null
null
null
null
1,999
null
null
mit
null
null
null
null
null
null
null
humanoidverse/agents/decouple/ppo_decoupled.py
null
null
null
null
null
null
Python
2026-05-04T01:39:48.831207
import torch import torch.nn as nn import torch.optim as optim from humanoidverse.agents.modules.ppo_modules import PPOActor, PPOCritic from humanoidverse.agents.modules.data_utils import RolloutStorage from humanoidverse.envs.base_task.base_task import BaseTask from humanoidverse.agents.ppo.ppo import PPO from humano...
LeCAR-Lab/ASAP
https://github.com/LeCAR-Lab/ASAP
null
null
null
null
1,999
null
null
mit
null
null
null
null
null
null
null
humanoidverse/agents/delta_dynamics/delta_dynamics_model.py
null
null
null
null
null
null
Python
2026-05-04T01:39:48.832981
import torch torch.autograd.set_detect_anomaly(True) import torch.nn as nn import torch.optim as optim from humanoidverse.agents.modules.data_utils import RolloutStorage from humanoidverse.envs.base_task.base_task import BaseTask from humanoidverse.agents.base_algo.base_algo import BaseAlgo from torch.utils.tensorboard...
LeCAR-Lab/ASAP
https://github.com/LeCAR-Lab/ASAP
null
null
null
null
1,999
null
null
mit
null
null
null
null
null
null
null
humanoidverse/agents/force_control/ppo_estimator.py
null
null
null
null
null
null
Python
2026-05-04T01:39:48.859819
import torch import torch.nn as nn import torch.nn.functional as F import torch.optim as optim from humanoidverse.agents.modules.data_utils import RolloutStorage from humanoidverse.agents.ppo.ppo import PPO from humanoidverse.envs.base_task.base_task import BaseTask from humanoidverse.agents.callbacks.base_callback i...
LeCAR-Lab/ASAP
https://github.com/LeCAR-Lab/ASAP
null
null
null
null
1,999
null
null
mit
null
null
null
null
null
null
null
humanoidverse/agents/delta_a/train_delta_a.py
null
null
null
null
null
null
Python
2026-05-04T01:39:49.181879
import torch import torch.nn as nn import torch.optim as optim from humanoidverse.agents.modules.ppo_modules import PPOActor, PPOCritic from humanoidverse.agents.modules.data_utils import RolloutStorage from humanoidverse.envs.base_task.base_task import BaseTask from humanoidverse.agents.base_algo.base_algo import Bas...
LeCAR-Lab/ASAP
https://github.com/LeCAR-Lab/ASAP
null
null
null
null
1,999
null
null
mit
null
null
null
null
null
null
null
humanoidverse/agents/modules/encoder_modules.py
null
null
null
null
null
null
Python
2026-05-04T01:39:49.502302
from __future__ import annotations import torch import torch.nn as nn from .modules import BaseModule class Estimator(nn.Module): def __init__(self, obs_dim_dict, module_config_dict): super(Estimator, self).__init__() self.module = BaseModule(obs_dim_dict, module_config_dict) # def estimate(...
LeCAR-Lab/ASAP
https://github.com/LeCAR-Lab/ASAP
null
null
null
null
1,999
null
null
mit
null
null
null
null
null
null
null
humanoidverse/agents/modules/data_utils.py
null
null
null
null
null
null
Python
2026-05-04T01:39:49.739469
import torch from torch import nn, Tensor def compute_returns(self, rewards, values, dones, last_values, gamma, lam): advantage = 0 returns = torch.zeros_like(values) for step in reversed(range(self.num_transitions_per_env)): if step == self.num_transitions_per_env - 1: next_values = l...
LeCAR-Lab/ASAP
https://github.com/LeCAR-Lab/ASAP
null
null
null
null
1,999
null
null
mit
null
null
null
null
null
null
null
humanoidverse/agents/modules/modules.py
null
null
null
null
null
null
Python
2026-05-04T01:39:49.829155
import torch import torch.nn as nn import inspect class BaseModule(nn.Module): def __init__(self, obs_dim_dict, module_config_dict): super(BaseModule, self).__init__() self.obs_dim_dict = obs_dim_dict self.module_config_dict = module_config_dict self._calculate_input_dim() ...
LeCAR-Lab/ASAP
https://github.com/LeCAR-Lab/ASAP
null
null
null
null
1,999
null
null
mit
null
null
null
null
null
null
null
humanoidverse/agents/modules/ppo_modules.py
null
null
null
null
null
null
Python
2026-05-04T01:39:49.870579
from __future__ import annotations from copy import deepcopy import torch import torch.nn as nn from torch.distributions import Normal from .modules import BaseModule class PPOActor(nn.Module): def __init__(self, obs_dim_dict, module_config_dict, num_actions, ...
LeCAR-Lab/ASAP
https://github.com/LeCAR-Lab/ASAP
null
null
null
null
1,999
null
null
mit
null
null
null
null
null
null
null
humanoidverse/agents/modules/world_models.py
null
null
null
null
null
null
Python
2026-05-04T01:39:49.918682
import torch import numpy as np from torch.utils.tensorboard import SummaryWriter as TensorboardSummaryWriter import os import statistics from collections import deque import copy from typing import Optional, Tuple, Dict from isaacgym import gymapi from isaacgym import gymtorch from hydra.utils import instantiate cla...
LeCAR-Lab/ASAP
https://github.com/LeCAR-Lab/ASAP
null
null
null
null
1,999
null
null
mit
null
null
null
null
null
null
null
humanoidverse/agents/ppo_locomanip.py
null
null
null
null
null
null
Python
2026-05-04T01:39:50.049401
import torch import torch.nn as nn import torch.optim as optim from humanoidverse.agents.modules.ppo_modules import PPOActor, PPOCritic from humanoidverse.agents.modules.data_utils import RolloutStorage from humanoidverse.envs.base_task.base_task import BaseTask from humanoidverse.agents.base_algo import BaseAlgo from...
LeCAR-Lab/ASAP
https://github.com/LeCAR-Lab/ASAP
null
null
null
null
1,999
null
null
mit
null
null
null
null
null
null
null
humanoidverse/envs/delta_a/delta_a_closed_loop.py
null
null
null
null
null
null
Python
2026-05-04T01:39:50.484999
import torch import numpy as np from pathlib import Path import os from isaac_utils.rotations import ( my_quat_rotate, calc_heading_quat_inv, calc_heading_quat, quat_mul, quat_rotate_inverse ) # from isaacgym import gymtorch, gymapi, gymutil from humanoidverse.envs.env_utils.visualization import Poi...
LeCAR-Lab/ASAP
https://github.com/LeCAR-Lab/ASAP
null
null
null
null
1,999
null
null
mit
null
null
null
null
null
null
null
humanoidverse/envs/delta_a/delta_a_open_loop.py
null
null
null
null
null
null
Python
2026-05-04T01:39:50.488714
import torch import numpy as np from pathlib import Path import os from isaac_utils.rotations import ( my_quat_rotate, calc_heading_quat_inv, calc_heading_quat, quat_mul, quat_rotate_inverse ) # from isaacgym import gymtorch, gymapi, gymutil from humanoidverse.envs.env_utils.visualization import Poi...
LeCAR-Lab/ASAP
https://github.com/LeCAR-Lab/ASAP
null
null
null
null
1,999
null
null
mit
null
null
null
null
null
null
null
humanoidverse/envs/base_task/base_task.py
null
null
null
null
null
null
Python
2026-05-04T01:39:50.545605
import sys import os import numpy as np import torch from rich.progress import Progress # from humanoidverse.envs.env_utils.terrain import Terrain import logging from loguru import logger from humanoidverse.utils.logging import capture_stdout_to_loguru from humanoidverse.simulator.base_simulator.base_simulator import...
LeCAR-Lab/ASAP
https://github.com/LeCAR-Lab/ASAP
null
null
null
null
1,999
null
null
mit
null
null
null
null
null
null
null
humanoidverse/envs/env_utils/command_generator.py
null
null
null
null
null
null
Python
2026-05-04T01:39:50.707996
import numpy as np import torch from humanoidverse.envs.env_utils.general import class_to_dict from isaac_utils.maths import torch_rand_float class CommandGenerator: def __init__(self, config, device, num_envs): self.config = config self.device = device self.num_envs = num_envs sel...
LeCAR-Lab/ASAP
https://github.com/LeCAR-Lab/ASAP
null
null
null
null
1,999
null
null
mit
null
null
null
null
null
null
null
humanoidverse/envs/env_utils/general.py
null
null
null
null
null
null
Python
2026-05-04T01:39:50.921163
import os import copy import torch import numpy as np def class_to_dict(obj) -> dict: if not hasattr(obj,"__dict__"): return obj result = {} for key in dir(obj): if key.startswith("_"): continue element = [] val = getattr(obj, key) if isinstance(val, lis...
LeCAR-Lab/ASAP
https://github.com/LeCAR-Lab/ASAP
null
null
null
null
1,999
null
null
mit
null
null
null
null
null
null
null
humanoidverse/envs/env_utils/terrain.py
null
null
null
null
null
null
Python
2026-05-04T01:39:51.097338
import numpy as np from numpy.random import choice from scipy import interpolate from typing import TYPE_CHECKING from isaacgym import terrain_utils class Terrain: def __init__(self, cfg, num_robots) -> None: self.cfg = cfg self.num_robots = num_robots self.type = cfg.mesh_type i...
LeCAR-Lab/ASAP
https://github.com/LeCAR-Lab/ASAP
null
null
null
null
1,999
null
null
mit
null
null
null
null
null
null
null
humanoidverse/envs/env_utils/visualization.py
null
null
null
null
null
null
Python
2026-05-04T01:39:51.166100
class Point: # this is for visualization def __init__(self, pt): self.x = pt[0] self.y = pt[1] self.z = pt[2]
LeCAR-Lab/ASAP
https://github.com/LeCAR-Lab/ASAP
null
null
null
null
1,999
null
null
mit
null
null
null
null
null
null
null
humanoidverse/envs/env_utils/history_handler.py
null
null
null
null
null
null
Python
2026-05-04T01:39:51.196194
import torch from torch import Tensor from termcolor import colored from loguru import logger class HistoryHandler: def __init__(self, num_envs, history_config, obs_dims, device): self.obs_dims = obs_dims self.device = device self.num_envs = num_envs self.history = {} ...
LeCAR-Lab/ASAP
https://github.com/LeCAR-Lab/ASAP
null
null
null
null
1,999
null
null
mit
null
null
null
null
null
null
null
humanoidverse/envs/legged_base_task/legged_robot_base.py
null
null
null
null
null
null
Python
2026-05-04T01:39:51.485508
from time import time import numpy as np import matplotlib.pyplot as plt import os from humanoidverse.utils.torch_utils import * # from isaacgym import gymtorch, gymapi, gymutil import torch from torch import Tensor from typing import Tuple, Dict from humanoidverse.envs.env_utils.general import class_to_dict from is...
LeCAR-Lab/ASAP
https://github.com/LeCAR-Lab/ASAP
null
null
null
null
1,999
null
null
mit
null
null
null
null
null
null
null
humanoidverse/envs/locomotion/locomotion.py
null
null
null
null
null
null
Python
2026-05-04T01:39:51.672237
from time import time from warnings import WarningMessage import numpy as np import os from humanoidverse.utils.torch_utils import * # from isaacgym import gymtorch, gymapi, gymutil import torch from torch import Tensor from typing import Tuple, Dict from rich.progress import Progress from humanoidverse.envs.env_uti...
LeCAR-Lab/ASAP
https://github.com/LeCAR-Lab/ASAP
null
null
null
null
1,999
null
null
mit
null
null
null
null
null
null
null
humanoidverse/envs/motion_tracking/motion_tracking.py
null
null
null
null
null
null
Python
2026-05-04T01:39:51.790932
import torch import numpy as np from pathlib import Path import os from humanoidverse.envs.legged_base_task.legged_robot_base import LeggedRobotBase from isaac_utils.rotations import ( my_quat_rotate, calc_heading_quat_inv, calc_heading_quat, quat_mul, quat_conjugate, quat_to_angle_axis, qua...
LeCAR-Lab/ASAP
https://github.com/LeCAR-Lab/ASAP
null
null
null
null
1,999
null
null
mit
null
null
null
null
null
null
null
humanoidverse/eval_agent.py
null
null
null
null
null
null
Python
2026-05-04T01:39:51.860934
import os import sys from pathlib import Path import hydra from hydra.utils import instantiate from hydra.core.hydra_config import HydraConfig from hydra.core.config_store import ConfigStore from omegaconf import OmegaConf from humanoidverse.utils.logging import HydraLoggerBridge import logging from utils.config_utils...
LeCAR-Lab/ASAP
https://github.com/LeCAR-Lab/ASAP
null
null
null
null
1,999
null
null
mit
null
null
null
null
null
null
null
humanoidverse/simulator/base_simulator/base_simulator.py
null
null
null
null
null
null
Python
2026-05-04T01:39:52.144705
import sys import os from loguru import logger import torch class BaseSimulator: """ Base class for robotic simulation environments, providing a framework for simulation setup, environment creation, and control over robotic assets and simulation properties. """ def __init__(self, config, device): ...
LeCAR-Lab/ASAP
https://github.com/LeCAR-Lab/ASAP
null
null
null
null
1,999
null
null
mit
null
null
null
null
null
null
null
humanoidverse/simulator/genesis/genesis.py
null
null
null
null
null
null
Python
2026-05-04T01:39:52.239686
import sys import os from loguru import logger # from isaacgym import gymtorch, gymapi, gymutil import torch import genesis as gs from genesis.engine.solvers.rigid.rigid_solver_decomp import RigidSolver from humanoidverse.simulator.genesis.tmp_gs_utils import * from humanoidverse.simulator.genesis.genesis_viewer import...
LeCAR-Lab/ASAP
https://github.com/LeCAR-Lab/ASAP
null
null
null
null
1,999
null
null
mit
null
null
null
null
null
null
null
humanoidverse/simulator/genesis/genesis_viewer.py
null
null
null
null
null
null
Python
2026-05-04T01:39:52.344348
class Viewer: """This class handles controlling the camera associated with a viewport in the simulator. It can be used to set the viewpoint camera to track different origin types: - **world**: the center of the world (static) - **env**: the center of an environment (static) - **asset_root**: the ...
LeCAR-Lab/ASAP
https://github.com/LeCAR-Lab/ASAP
null
null
null
null
1,999
null
null
mit
null
null
null
null
null
null
null
humanoidverse/simulator/genesis/tmp_gs_utils.py
null
null
null
null
null
null
Python
2026-05-04T01:39:52.396666
import numpy as np import torch def wrap_to_pi(angles): angles %= 2 * np.pi angles -= 2 * np.pi * (angles > np.pi) return angles def gs_rand_float(lower, upper, shape, device): return (upper - lower) * torch.rand(size=shape, device=device) + lower def gs_inv_quat(quat): qw, qx, qy, qz = quat.u...
LeCAR-Lab/ASAP
https://github.com/LeCAR-Lab/ASAP
null
null
null
null
1,999
null
null
mit
null
null
null
null
null
null
null
humanoidverse/simulator/isaacgym/isaacgym.py
null
null
null
null
null
null
Python
2026-05-04T01:39:52.432012
import sys import os from loguru import logger from isaacgym import gymtorch, gymapi, gymutil import torch from humanoidverse.utils.torch_utils import to_torch, torch_rand_float import numpy as np from termcolor import colored from collections import deque import cv2 from datetime import datetime from humanoidverse.env...