MCPcopy Create free account
hub / github.com/AdaptiveMotorControlLab/FMPose3D / val

Function val

animals/scripts/main_animal3d.py:48–50  ·  view source on GitHub ↗
(opt, actions, val_loader, model, steps=None)

Source from the content-addressed store, hash-verified

46 return step('train', opt, actions, train_loader, model, optimizer, epoch)
47
48def val(opt, actions, val_loader, model, steps=None):
49 with torch.no_grad():
50 return step('test', opt, actions, val_loader, model, steps=steps)
51
52def step(split, args, actions, dataLoader, model, optimizer=None, epoch=None, steps=None):
53

Callers 1

main_animal3d.pyFile · 0.85

Calls 1

stepFunction · 0.85

Tested by

no test coverage detected