no dist check
Browse files
utils.py
CHANGED
@@ -66,7 +66,6 @@ def pick_and_remove_one():
|
|
66 |
np.random.shuffle(indices)
|
67 |
sel_indices = indices[0]
|
68 |
indices = indices[1:]
|
69 |
-
print("Indices : ",sel_indices)
|
70 |
return sel_indices
|
71 |
|
72 |
|
@@ -132,7 +131,7 @@ def get_song(idx, df = df, filenames = filenames):
|
|
132 |
audio_path = filenames[idx]
|
133 |
state = AudioStateIG(row)
|
134 |
|
135 |
-
print(df.loc[indices].label.value_counts())
|
136 |
|
137 |
return state, audio_path
|
138 |
|
|
|
66 |
np.random.shuffle(indices)
|
67 |
sel_indices = indices[0]
|
68 |
indices = indices[1:]
|
|
|
69 |
return sel_indices
|
70 |
|
71 |
|
|
|
131 |
audio_path = filenames[idx]
|
132 |
state = AudioStateIG(row)
|
133 |
|
134 |
+
#print(df.loc[indices].label.value_counts())
|
135 |
|
136 |
return state, audio_path
|
137 |
|