Where to find the code of .cfg, .to(device) and .eval()
Opened this issue · 0 comments
chandlerbing65nm commented
When a certain detector is being trained or tested, we set one of these lines of code:
model.cfg = cfg
model.to(device)
model.eval();
But where exactly in the mmdet
or mmcv
folders we can find the code definition of .cfg, .to(device) and .eval()
? Where are the functions defined?