def load_json(self, fname):
        """Loads a metrics dictionary from a json file.

        :param fname: file name
        """
        # TODO: test
        with open(fname, "w") as f:
            self.metrics_res = json.load(f)
Loads a metrics dictionary from a json file.

        :param fname: file name
        
avalanche/evaluation/collector.py