-
-
Save sugartom/2c38cfb6816681f151e63739cf54d95a to your computer and use it in GitHub Desktop.
devicehive-video-analysis DarkFlow modifications
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# darkflow/net/build.py | |
def saveckpt(self): | |
self.saver.save(self.sess, './{}_model.ckpt'.format(self.meta['name'])) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# darkflow/cli.py | |
if FLAGS.saveckpt: | |
print('Rebuild a constant version ...') | |
tfnet.saveckpt(); exit('Done') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# darkflow/cli.py | |
self.define('saveckpt', False, 'save net and weight to a .ckpt file') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment