Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MotrixLab/ViMoGen
/ to_eval_mode
Function
to_eval_mode
train_eval_vimogen.py:234–235 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
232
)
# NOTE even when train_target == ['controlnet'] the transformer should be on train mode for training
233
234
def
to_eval_mode():
235
model.eval()
236
237
wan_scheduler = FlowMatchScheduler()
238
Callers
1
generate_pipe
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected