MCPcopy Create free account
hub / github.com/PeizeSun/SparseR-CNN / testMaskRCNN

Method testMaskRCNN

tests/test_export_caffe2.py:60–61  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

58 return torch.from_numpy(img.transpose(2, 0, 1))
59
60 def testMaskRCNN(self):
61 self._test_model("COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_3x.yaml")
62
63 @unittest.skipIf(not torch.cuda.is_available(), "CUDA not available")
64 def testMaskRCNNGPU(self):

Callers

nothing calls this directly

Calls 1

_test_modelMethod · 0.95

Tested by

no test coverage detected