Skip to content

Commit a1ce2f9

Browse files
generatedunixname89002005365794facebook-github-bot
authored andcommitted
fbcode/vision/fair/detectron2/tests [A]
Differential Revision: D80609524 fbshipit-source-id: 9151fa03ac23bf58b7ed7825e72c0c9fb0ae9467
1 parent d38d716 commit a1ce2f9

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

tests/test_export_caffe2.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,3 @@ def _test_model(self, config_path, device="cpu"):
5050

5151
ts_model = tracer.export_torchscript()
5252
ts_model.save(os.path.join(d, "model.ts"))
53-
54-
def testMaskRCNN(self):
55-
self._test_model("COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_3x.yaml")
56-
57-
@unittest.skipIf(not torch.cuda.is_available(), "CUDA not available")
58-
def testMaskRCNNGPU(self):
59-
self._test_model("COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_3x.yaml", device="cuda")
60-
61-
def testRetinaNet(self):
62-
self._test_model("COCO-Detection/retinanet_R_50_FPN_3x.yaml")

0 commit comments

Comments
 (0)