Deep-Learning
Deep-Learning copied to clipboard
Kernel dies!
Hello!
Big soccer fan here! I made a copy of you repo in my colab but when I run this code my kernel dies, do you know what can be wrong?
detection_graph = tf.Graph() with detection_graph.as_default(): od_graph_def = tf.GraphDef() with tf.gfile.GFile(PATH_TO_CKPT, 'rb') as fid: serialized_graph = fid.read() od_graph_def.ParseFromString(serialized_graph) tf.import_graph_def(od_graph_def, name='')
To View Color Mask
filename = 'image2.jpg' image = cv2.imread(filename) resize = cv2.resize(image, (640,360)) detect_team(resize, show=True)