Skip to content

Commit

Permalink
Add patch sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
eigenvivek committed Dec 2, 2023
1 parent adcd7b1 commit 26eff25
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions notebooks/experiments/03_sparse_rendering.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@
}
],
"source": [
"# Full image with SparseRegistration\n",
"%timeit -n 10 -r 100 registration(n_patches=None, patch_size=13)"
]
},
Expand All @@ -127,6 +128,7 @@
}
],
"source": [
"# 100 patches\n",
"%timeit -n 10 -r 100 registration(n_patches=100, patch_size=13)"
]
},
Expand All @@ -145,6 +147,7 @@
}
],
"source": [
"# 250 patches\n",
"%timeit -n 10 -r 100 registration(n_patches=250, patch_size=13)"
]
},
Expand All @@ -163,6 +166,7 @@
}
],
"source": [
"# 500 patches\n",
"%timeit -n 10 -r 100 registration(n_patches=500, patch_size=13)"
]
},
Expand All @@ -181,6 +185,7 @@
}
],
"source": [
"# 750 patches\n",
"%timeit -n 10 -r 100 registration(n_patches=750, patch_size=13)"
]
},
Expand All @@ -199,6 +204,7 @@
}
],
"source": [
"# Full image with DiffDRR\n",
"%timeit -n 10 -r 100 drr(None, None, None, pose=pose)"
]
},
Expand Down

0 comments on commit 26eff25

Please sign in to comment.