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

Function train

animals/scripts/main_animal3d.py:45–46  ·  view source on GitHub ↗
(opt, actions, train_loader, model, optimizer, epoch)

Source from the content-addressed store, hash-verified

43 CFM = get_model(args.model_type)
44
45def train(opt, actions, train_loader, model, optimizer, epoch):
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():

Callers 1

main_animal3d.pyFile · 0.70

Calls 1

stepFunction · 0.85

Tested by

no test coverage detected