Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MotrixLab/MotionDiffuse
/ clip_norm
Method
clip_norm
text2motion/trainers/ddpm_trainer.py:58–60 ·
view source on GitHub ↗
(network_list)
Source
from the content-addressed store, hash-verified
56
57
@staticmethod
58
def
clip_norm(network_list):
59
for
network in network_list:
60
clip_grad_norm_(network.parameters(), 0.5)
61
62
@staticmethod
63
def
step(opt_list):
Callers
1
update
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected