MCPcopy Index your code
hub / github.com/tensorpack/tensorpack / _setup_graph

Method _setup_graph

examples/GAN/CycleGAN.py:185–187  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

183
184class VisualizeTestSet(Callback):
185 def _setup_graph(self):
186 self.pred = self.trainer.get_predictor(
187 ['inputA', 'inputB'], ['A_recon/viz', 'B_recon/viz'])
188
189 def _before_train(self):
190 global args

Callers

nothing calls this directly

Calls 1

get_predictorMethod · 0.45

Tested by

no test coverage detected