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
from darkflow.net.build import TFNet | |
import cv2 | |
import tensorflow as tf | |
import os | |
import sys | |
from tensorflow.python.saved_model import builder as saved_model_builder | |
from tensorflow.python.saved_model import signature_constants | |
from tensorflow.python.saved_model import signature_def_utils | |
from tensorflow.python.saved_model import tag_constants |
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
#!/bin/bash | |
################################################################################ | |
### OpenCV2 Installation Script ### | |
################################################################################ | |
# Source code at https://github.com/arthurbeggs/scripts # | |
################################################################################ | |
# # | |
# Feel free to copy and modify this file. Giving me credit for it is your # | |
# choice, but please keep references to other people's work, which I don't # |