ravens/agents/transporter.py
def load(self, num_iter):
        """Load pre-trained models."""
        attention_fname = 'attention-ckpt-%d.h5' % num_iter
        transport_fname = 'transport-ckpt-%d.h5' % num_iter
        attention_fname = os.path.join(self.models_dir, attention_fname)
        transport_fname = os.path.join(self.models_dir, transport_fname)
        self.attention_model.load(attention_fname)
        self.transport_model.load(transport_fname)
        self.total_iter = num_iter
Load pre-trained models.
Load pre-trained models.
Load pre - trained models .
def load(self, num_iter):
        attention_fname = 'attention-ckpt-%d.h5' % num_iter
        transport_fname = 'transport-ckpt-%d.h5' % num_iter
        attention_fname = os.path.join(self.models_dir, attention_fname)
        transport_fname = os.path.join(self.models_dir, transport_fname)
        self.attention_model.load(attention_fname)
        self.transport_model.load(transport_fname)
        self.total_iter = num_iter
def load ( self , num_iter ) : attention_fname = 'attention-ckpt-%d.h5' % num_iter transport_fname = 'transport-ckpt-%d.h5' % num_iter attention_fname = os . path . join ( self . models_dir , attention_fname ) transport_fname = os . path . join ( self . models_dir , transport_fname ) self . attention_model . load ( attention_fname ) self . transport_model . load ( transport_fname ) self . total_iter = num_iter
Load pre-trained models.
Load pre - trained models .
"""Load pre-trained models."""
self
num_iter