MCPcopy
hub / github.com/dbolya/yolact / replace

Function replace

train.py:101–102  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

99
100# Update training parameters from the config if necessary
101def replace(name):
102 if getattr(args, name) == None: setattr(args, name, getattr(cfg, name))
103replace('lr')
104replace('decay')
105replace('gamma')

Callers 1

train.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected