bug fix ... need to design porting/loading models on the fly
This commit is contained in:
parent
725e32b160
commit
383d7b7e64
|
@ -331,7 +331,7 @@ class Train (GNet):
|
||||||
self.meta = self.log_meta()
|
self.meta = self.log_meta()
|
||||||
if(self.logger):
|
if(self.logger):
|
||||||
|
|
||||||
self.logger.write( row=self.meta )
|
self.logger.write( self.meta )
|
||||||
|
|
||||||
self.log (real_shape=list(self._REAL.shape),label_shape = list(self._LABEL.shape),meta_data=self.meta)
|
self.log (real_shape=list(self._REAL.shape),label_shape = list(self._LABEL.shape),meta_data=self.meta)
|
||||||
def load_meta(self, column):
|
def load_meta(self, column):
|
||||||
|
@ -480,7 +480,7 @@ class Train (GNet):
|
||||||
#
|
#
|
||||||
if self.logger :
|
if self.logger :
|
||||||
row = {"logs":logs} #,"model":pickle.dump(sess)}
|
row = {"logs":logs} #,"model":pickle.dump(sess)}
|
||||||
self.logger.write(row=row)
|
self.logger.write(row)
|
||||||
#
|
#
|
||||||
# @TODO:
|
# @TODO:
|
||||||
# We should upload the files in the checkpoint
|
# We should upload the files in the checkpoint
|
||||||
|
|
Loading…
Reference in New Issue