游雁
2024-06-13 a51234d426f540cb6e3998d4063c52dada016c2a
funasr/train_utils/trainer_ds.py
@@ -78,7 +78,7 @@
                      output_dir (str): The directory where model checkpoints will be saved. Default is './'.
                      resume (str, optional): The file path to a checkpoint to resume training from.
        """
        self.rank = kwargs.get("rank", 0)
        self.rank = rank
        self.local_rank = local_rank
        self.world_size = world_size
        self.use_ddp = use_ddp