Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MotrixLab/ADHMR
/ rnd
Function
rnd
ADHMR/lib/utils/transforms.py:11–12 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
9
10
11
def
rnd(x):
12
return
max(-2 * x, min(2 * x, np.random.randn(1)[0] * x))
13
14
15
def
box_transform(bbox, sf, imgwidth, imght, train):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected