jbwang1997/OBBDetection

Where to find the code of .cfg, .to(device) and .eval()

Opened this issue · 0 comments

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?