We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d4c703 commit aabf175Copy full SHA for aabf175
monai/networks/blocks/pos_embed_utils.py
@@ -55,9 +55,7 @@ def build_fourier_position_embedding(
55
to_tuple = _ntuple(spatial_dims)
56
grid_size_t = to_tuple(grid_size)
57
if len(grid_size_t) != spatial_dims:
58
- raise ValueError(
59
- f"Length of grid_size ({len(grid_size_t)}) must be the same as spatial_dims."
60
- )
+ raise ValueError(f"Length of grid_size ({len(grid_size_t)}) must be the same as spatial_dims.")
61
62
if embed_dim % (2 * spatial_dims) != 0:
63
raise AssertionError(
0 commit comments