libs/data/mass.py
def save_checkpoint(self):
        """Saves a pickle file containing the loaded data."""
        os.makedirs(self.ckpt_dir, exist_ok=True)
        with open(self.ckpt_file, 'wb') as handle:
            pickle.dump(
                self.data, handle, protocol=pickle.HIGHEST_PROTOCOL)
        print('Checkpoint saved at %s' % self.ckpt_file)
Saves a pickle file containing the loaded data.
Saves a pickle file containing the loaded data.
Saves a pickle file containing the loaded data .
def save_checkpoint(self):
        os.makedirs(self.ckpt_dir, exist_ok=True)
        with open(self.ckpt_file, 'wb') as handle:
            pickle.dump(
                self.data, handle, protocol=pickle.HIGHEST_PROTOCOL)
        print('Checkpoint saved at %s' % self.ckpt_file)
def save_checkpoint ( self ) : os . makedirs ( self . ckpt_dir , exist_ok = True ) with open ( self . ckpt_file , 'wb' ) as handle : pickle . dump ( self . data , handle , protocol = pickle . HIGHEST_PROTOCOL ) print ( 'Checkpoint saved at %s' % self . ckpt_file )
Saves a pickle file containing the loaded data.
Saves a pickle file containing the loaded data .
"""Saves a pickle file containing the loaded data."""
self