MCPcopy Create free account
hub / github.com/dotchen/LearningByCheating / train_or_eval

Function train_or_eval

training/train_image_phase0.py:152–209  ·  view source on GitHub ↗
(coord_converter, criterion, net, teacher_net, data, optim, is_train, config, is_first_epoch)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

trainFunction · 0.70

Calls 5

one_hotFunction · 0.90
stepMethod · 0.80
_log_visualsFunction · 0.70
scalarMethod · 0.45
imageMethod · 0.45

Tested by

no test coverage detected