INNER CODE UNIT · Python

_stop_heartbeat

IDSIA/sacred · sacred/run.py:283

    def _stop_heartbeat(self):
        self.run_logger.debug("Stopping Heartbeat")
        # only stop if heartbeat was started
        if self._heartbeat is not None:
            self._stop_heartbeat_event.set()
            self._heartbeat.join(timeout=2)

    def _emit_queued(self):
        self.status = "QUEUED"
        queue_time = datetime.datetime.utcnow()
        self.meta_info["queue_time"] = queue_time
        command = join_paths(
            self.main_function.prefix, self.main_function.signature.name
        )
        self.run_logger.info("Queuing-up command '%s'", command)
        for observer in self.observers:
            _id = observer.queued_event(
                ex_info=self.experiment_info,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…