Example #1
0
    def build_meters(self, run_type):
        from mmf.utils.build import build_meters

        self.train_meter, self.val_meter, self.test_meter = build_meters(
            run_type)
Example #2
0
    def build_meters(self, run_type):
        from mmf.utils.build import build_meters

        """Function only used in lightning setting"""
        self.train_meter, self.val_meter, self.test_meter = build_meters(run_type)