    def pop_callback(self, callback: Callback):
        """
        Args:
            callback (`towhee.trainer.callback.Callback`)
                The callback need to be removed from callback list.
        """
        if callback in self.callbacks:
            self.callbacks.remove(callback)
Args:
callback (`towhee.trainer.callback.Callback`)
The callback need to be removed from callback list.
towhee/trainer/callback.py