MCPcopy
hub / github.com/yangchris11/samurai / eval

Method eval

lib/train/actors/base_actor.py:42–44  ·  view source on GitHub ↗

Set network to eval mode

(self)

Source from the content-addressed store, hash-verified

40 self.net.train(mode)
41
42 def eval(self):
43 """ Set network to eval mode"""
44 self.train(False)

Callers 7

build_sam2Function · 0.80
val_epochMethod · 0.80
__init__Method · 0.80
__init__Method · 0.80
runFunction · 0.80
cycle_datasetMethod · 0.80

Calls 1

trainMethod · 0.95

Tested by

no test coverage detected