yangxue0827 / RotationDetection

This is a tensorflow-based rotation detection benchmark, also called AlphaRotate.
https://rotationdetection.readthedocs.io/
Apache License 2.0
1.07k stars 181 forks source link

Where to find eval_with_plac() function? #67

Closed Testbild closed 2 years ago

Testbild commented 2 years ago

Hi, in the test_hrsc2016.py there is the following function:

eval_with_plac()

class TestHRSC2016RetinaNet(TestHRSC2016):

    def eval(self):
        retinanet = build_whole_network.DetectionNetworkRetinaNet(cfgs=self.cfgs,
                                                                  is_training=False)

        all_boxes_r = self.eval_with_plac(img_dir=self.args.img_dir, det_net=retinanet,
                                          image_ext=self.args.image_ext)
...

I struggle to find, where the function is defined, so I can see what it does. Could you tell me where I have to look?

Thank you very much and best regards!

yangxue0827 commented 2 years ago

eval_with_plac() is in TestHRSC2016

Testbild commented 2 years ago

Thank you