import numpy as np
import tensorflow as tf

class YoloKmeans(object):
    def __init__(self, cluster_number, filename="./2012_train.txt"):
        self.cluster_number = cluster_number
        self.filename = filename
    def iou(self, boxes, clusters): # box -> k cluster
        n = np.shape(boxes)[0]

96c8c02944c6a091b9a71a06a9c681ce8777d5f9
<mask token>

<mask token>


class YoloKmeans(object):

    def __init__(self, cluster_number, filename='./2012_train.txt'):
        self.cluster_number = cluster_number
        self.filename = filename
    <mask token>

<mask token>


class YoloKmeans(object):

    def __init__(self, cluster_number, filename='./2012_train.txt'):
        self.cluster_number = cluster_number
        self.filename = filename

    def iou(self, boxes, clusters):
        n = np.shape(boxes)[0]

import numpy as np
import tensorflow as tf


class YoloKmeans(object):

    def __init__(self, cluster_number, filename='./2012_train.txt'):
        self.cluster_number = cluster_number
        self.filename = filename

    def iou(self, boxes, clusters):
        n = np.shape(boxes)[0]

import numpy as np
import tensorflow as tf

class YoloKmeans(object):
    def __init__(self, cluster_number, filename="./2012_train.txt"):
        self.cluster_number = cluster_number
        self.filename = filename
    def iou(self, boxes, clusters): # box -> k cluster
        n = np.shape(boxes)[0]
