def METHOD_NAME(self):
    print('Starting inference test for SiamRPN...')
    self.learner._model = None
    self.learner.load(os.path.join(self.temp_dir, "siamrpn_opendr"))
    img = cv2.imread(os.path.join(self.temp_dir, "test_data", "Basketball", "img", "0001.jpg"))
    init_box = TrackingAnnotation(left=198, top=214, width=34, height=81, id=0, name=0)
    self.assertIsNotNone(self.learner.infer(img, init_box=init_box),
                         msg="Returned empty TrackingAnnotation.")
    del img
    gc.collect()
    print('Finished inference test for SiamRPN...')