Skip to content

Commit

Permalink
remove deprecated pos_embed
Browse files Browse the repository at this point in the history
Signed-off-by: YunLiu <[email protected]>
  • Loading branch information
KumoLiu committed Sep 10, 2024
1 parent ae7496e commit 486c8cd
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion 3d_segmentation/unetr_btcv_segmentation_3d.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@
" hidden_size=768,\n",
" mlp_dim=3072,\n",
" num_heads=12,\n",
" pos_embed=\"perceptron\",\n",
" proj_type=\"perceptron\",\n",
" norm_name=\"instance\",\n",
" res_block=True,\n",
" dropout_rate=0.0,\n",
Expand Down
2 changes: 1 addition & 1 deletion 3d_segmentation/unetr_btcv_segmentation_3d_lightning.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@
" hidden_size=768,\n",
" mlp_dim=3072,\n",
" num_heads=12,\n",
" pos_embed=\"perceptron\",\n",
" proj_type=\"perceptron\",\n",
" norm_name=\"instance\",\n",
" res_block=True,\n",
" conv_block=True,\n",
Expand Down
2 changes: 1 addition & 1 deletion deepedit/ignite/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def get_network(network, labels, spatial_size):
hidden_size=1536,
mlp_dim=3072,
num_heads=48,
pos_embed="conv",
proj_type="conv",
norm_name="instance",
res_block=True,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def main(args):
in_channels=1,
img_size=(96, 96, 96),
patch_size=(16, 16, 16),
pos_embed="conv",
proj_type="conv",
hidden_size=768,
mlp_dim=3072,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@
" hidden_size=768,\n",
" mlp_dim=3072,\n",
" num_heads=12,\n",
" pos_embed=\"conv\",\n",
" proj_type=\"conv\",\n",
" norm_name=\"instance\",\n",
" res_block=True,\n",
" dropout_rate=0.0,\n",
Expand Down
2 changes: 1 addition & 1 deletion self_supervised_pretraining/vit_unetr_ssl/ssl_train.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@
" in_channels=1,\n",
" img_size=(96, 96, 96),\n",
" patch_size=(16, 16, 16),\n",
" pos_embed=\"conv\",\n",
" proj_type=\"conv\",\n",
" hidden_size=768,\n",
" mlp_dim=3072,\n",
")\n",
Expand Down

0 comments on commit 486c8cd

Please sign in to comment.