MCPcopy
hub / github.com/rbgirshick/fast-rcnn / update_net

Method update_net

tools/train_svms.py:131–133  ·  view source on GitHub ↗
(self, cls_ind, w, b)

Source from the content-addressed store, hash-verified

129# self.net.params['cls_score'][1].data[0] = 0
130
131 def update_net(self, cls_ind, w, b):
132 self.net.params['cls_score'][0].data[cls_ind, :] = w
133 self.net.params['cls_score'][1].data[cls_ind] = b
134
135 def train_with_hard_negatives(self):
136 _t = Timer()

Callers 2

trainMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected