Commit
·
c278406
1
Parent(s):
af62faf
remove edge semantics
Browse files- handcrafted_solution.py +1 -1
- script.py +1 -2
handcrafted_solution.py
CHANGED
@@ -240,4 +240,4 @@ def predict(entry, visualize=False) -> Tuple[np.ndarray, List[int]]:
|
|
240 |
from hoho.viz3d import plot_estimate_and_gt
|
241 |
plot_estimate_and_gt(all_3d_vertices_clean, connections_3d_clean, good_entry['wf_vertices'],
|
242 |
good_entry['wf_edges'])
|
243 |
-
return good_entry['__key__'], all_3d_vertices_clean, connections_3d_clean
|
|
|
240 |
from hoho.viz3d import plot_estimate_and_gt
|
241 |
plot_estimate_and_gt(all_3d_vertices_clean, connections_3d_clean, good_entry['wf_vertices'],
|
242 |
good_entry['wf_edges'])
|
243 |
+
return good_entry['__key__'], all_3d_vertices_clean, connections_3d_clean
|
script.py
CHANGED
@@ -134,8 +134,7 @@ if __name__ == "__main__":
|
|
134 |
solution.append({
|
135 |
'__key__': key,
|
136 |
'wf_vertices': pred_vertices.tolist(),
|
137 |
-
'wf_edges': pred_edges
|
138 |
-
'edge_semantics': semantics,
|
139 |
})
|
140 |
if i % 100 == 0:
|
141 |
# incrementally save the results in case we run out of time
|
|
|
134 |
solution.append({
|
135 |
'__key__': key,
|
136 |
'wf_vertices': pred_vertices.tolist(),
|
137 |
+
'wf_edges': pred_edges
|
|
|
138 |
})
|
139 |
if i % 100 == 0:
|
140 |
# incrementally save the results in case we run out of time
|