plot.py 文件源码

python
阅读 21 收藏 0 点赞 0 评论 0

项目:SGAN 作者: YuhangSong 项目源码 文件源码
def restore(self):

        print('Try load previous plot....')
        try:
            self._since_beginning = dill.load(open(self.LOGDIR+'log.pkl', "r"))
            self._iter = dill.load(open(self.LOGDIR+'iteration.pkl', "r"))
            # self._iter += 1
            print('Restore plot from iter: '+str(self._iter))
            return self._iter
        except Exception, e:
            print('Previous plot unfounded')
            return 0
        print('')
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号