Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TencentARC/BrushNet
/ get_crash_schedule
Function
get_crash_schedule
scripts/convert_dance_diffusion_to_diffusers.py:56–59 ·
view source on GitHub ↗
(t)
Source
from the content-addressed store, hash-verified
54
55
56
def
get_crash_schedule(t):
57
sigma = torch.sin(t * math.pi / 2) ** 2
58
alpha = (1 - sigma**2) ** 0.5
59
return
alpha_sigma_to_t(alpha, sigma)
60
61
62
class
Object(object):
Callers
1
main
Function · 0.85
Calls
1
alpha_sigma_to_t
Function · 0.85
Tested by
no test coverage detected