MCPcopy Create free account
hub / github.com/HobbitLong/CMC / train

Function train

train_CMC.py:197–267  ·  view source on GitHub ↗

one epoch training

(epoch, train_loader, model, contrast, criterion_l, criterion_ab, optimizer, opt)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainFunction · 0.70

Calls 3

updateMethod · 0.95
AverageMeterClass · 0.90
cudaMethod · 0.80

Tested by

no test coverage detected