MCPcopy Create free account
hub / github.com/VincentHancoder/SSGD / multi_gpu_test

Function multi_gpu_test

mmdet/apis/test.py:81–133  ·  view source on GitHub ↗

Test model with multiple gpus. This method tests model with multiple gpus and collects the results under two different modes: gpu and cpu modes. By setting 'gpu_collect=True' it encodes results to gpu tensors and use gpu communication for results collection. On cpu mode it saves the

(model, data_loader, tmpdir=None, gpu_collect=False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

mainFunction · 0.90
mainFunction · 0.90
_do_evaluateMethod · 0.90

Calls 3

encode_mask_resultsFunction · 0.90
collect_results_gpuFunction · 0.85
collect_results_cpuFunction · 0.85

Tested by

no test coverage detected