MCPcopy Create free account
hub / github.com/NVlabs/ACID / get_trainer

Function get_trainer

ACID/src/conv_onet/config.py:108–125  ·  view source on GitHub ↗

Returns the trainer object. Args: model (nn.Module): the Occupancy Network model optimizer (optimizer): pytorch optimizer object cfg (dict): imported yaml config device (device): pytorch device

(model, optimizer, cfg, device, **kwargs)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…