Skip to content

Commit

Permalink
Add back in bonus task
Browse files Browse the repository at this point in the history
  • Loading branch information
cmalinmayor committed Aug 21, 2024
1 parent 6cd1a15 commit 225a531
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions solution.py
Original file line number Diff line number Diff line change
Expand Up @@ -876,6 +876,16 @@ def add_gt_annotations(gt_tracks, cand_graph, segmentation):
# <p>Now, similar to before, we make the solver by adding costs and constraints. You can copy your best set of costs and constraints from before. It does not matter what weights and constants you choose. However, this time we just return the solver, rather than actually solving.</p>
# </div>

# %% tags=["task"]
def get_ssvm_solver(cand_graph):

cand_trackgraph = motile.TrackGraph(cand_graph, frame_attribute="t")
solver = motile.Solver(cand_trackgraph)

### YOUR CODE HERE ###
return solver


# %%
def get_ssvm_solver(cand_graph):

Expand Down

0 comments on commit 225a531

Please sign in to comment.