Skip to content

Commit

Permalink
Increase default n_points for trilinear renderer
Browse files Browse the repository at this point in the history
  • Loading branch information
eigenvivek committed Apr 28, 2024
1 parent 01c8df9 commit a787a0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion diffdrr/renderers.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def forward(
spacing,
source,
target,
n_points=250,
n_points=500,
align_corners=True,
mask=None,
):
Expand Down
2 changes: 1 addition & 1 deletion notebooks/api/01_renderers.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@
" return torch.tensor(volume.shape).to(volume) - 1\n",
"\n",
" def forward(\n",
" self, volume, origin, spacing, source, target, n_points=250, align_corners=True, mask=None,\n",
" self, volume, origin, spacing, source, target, n_points=500, align_corners=True, mask=None,\n",
" ):\n",
" # Ensure not using mask_to_channels\n",
" if mask is not None:\n",
Expand Down

0 comments on commit a787a0b

Please sign in to comment.