You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the label of each frame has the indices from 0 to 14, but only the indices of 0, 1, 7, 8, 14 are used
I'm interested in the meaning of label[2:7] and label[9:14]
Thanks for your help!
Your code is like:
for label in labels:
triplet = label[0:1]
if triplet[0] != -1.0:
triplet_label[triplet[0]] += 1
tool = label[1:7]
if tool[0] != -1.0:
tool_label[tool[0]] += 1
verb = label[7:8]
if verb[0] != -1.0:
verb_label[verb[0]] += 1
target = label[8:14]
if target[0] != -1.0:
target_label[target[0]] += 1
phase = label[14:15]
if phase[0] != -1.0:
phase_label[phase[0]] += 1
The text was updated successfully, but these errors were encountered:
Dear contributors:
the label of each frame has the indices from 0 to 14, but only the indices of 0, 1, 7, 8, 14 are used
I'm interested in the meaning of label[2:7] and label[9:14]
Thanks for your help!
Your code is like:
for label in labels:
triplet = label[0:1]
if triplet[0] != -1.0:
triplet_label[triplet[0]] += 1
tool = label[1:7]
if tool[0] != -1.0:
tool_label[tool[0]] += 1
verb = label[7:8]
if verb[0] != -1.0:
verb_label[verb[0]] += 1
target = label[8:14]
if target[0] != -1.0:
target_label[target[0]] += 1
phase = label[14:15]
if phase[0] != -1.0:
phase_label[phase[0]] += 1
The text was updated successfully, but these errors were encountered: