Hi,
In the following part, I was wondering why it has a random threshold for assigning the label? It seems to result in an inconsistent threshold for different items in the list?
|
def choose_labels(self, y): |
|
""" retrieve label element from img2sym output. """ |
|
label_indices = [] |
|
for i,v in enumerate(y): |
|
if random.random() <= v: |
|
label_indices.append(i) |
Hi,
In the following part, I was wondering why it has a random threshold for assigning the label? It seems to result in an inconsistent threshold for different items in the list?
scan/data_manager.py
Lines 220 to 225 in cc86131