Skip to content

Commit

Permalink
Merge branch 'master' into rev_1
Browse files Browse the repository at this point in the history
  • Loading branch information
surajpaib committed Dec 8, 2023
2 parents 1abf168 + c524087 commit 2fef9db
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 38 deletions.
35 changes: 0 additions & 35 deletions .github/dependabot.yml

This file was deleted.

1 change: 1 addition & 0 deletions experiments/supervised_training/foundation_finetune.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ system:
weights_path: "./fmcib.torch"
heads: [4096, 2048, 512, 256, 1] # Note: Change to [4096, 2048, 1] for Task 2 and [4096, Task 3


post_criterion_activation: "$torch.sigmoid" # Note: Change to $torch.sigmoid for Task 2 and Task 3
cast_target_dtype_to: "$torch.float32" # Note: Uncomment for Task 2 and Task 3

Expand Down
2 changes: 1 addition & 1 deletion experiments/supervised_training/supervised_finetune.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ system:
model:
_target_: fmcib.ssl.models.LoadPretrainedResnet3D
pretrained: "./models/supervised/task1_supervised.torch"
heads: [4096, 2048, 1]
heads: [4096, 2048, 1] # Note: Change to [4096, 2048, 512, 256, 1] for Task 3

post_criterion_activation: "$torch.sigmoid"
cast_target_dtype_to: "$torch.float32"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ system:
num_workers: 3
model:
_target_: fmcib.ssl.models.LoadPretrainedResnet3D
heads: [4096, 2048, 8] # Note: Change to [4096, 2048, 1] for Task 2 and Task 3
heads: [4096, 2048, 8] # Note: Change to [4096, 2048, 1] for Task 2 and [4096, 2048, 512, 256, 1] for Task 3

post_criterion_activation: "$torch.nn.functional.softmax" # Note: Change to $torch.sigmoid for Task 2 and Task 3
# cast_target_dtype_to: "$torch.float32" # Note: Uncomment for Task 2 and Task 3
Expand Down
13 changes: 12 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ aiohttp = "^3.8.6"
fonttools = "^4.44.1"
pydantic = "^2.5.0"


[tool.poetry.group.dev.dependencies]
black = "^23.7.0"
bandit = "^1.7.1"
Expand Down

0 comments on commit 2fef9db

Please sign in to comment.