2407 Add support to set number classes for TorchVision models#2408
2407 Add support to set number classes for TorchVision models#2408wyli merged 24 commits intoProject-MONAI:devfrom
Conversation
merge master
merge master
merge master
Signed-off-by: Nic Ma <[email protected]>
Signed-off-by: Nic Ma <[email protected]>
Signed-off-by: Nic Ma <[email protected]>
|
/black |
Signed-off-by: Nic Ma <[email protected]>
506ce60 to
a8296a7
Compare
wyli
left a comment
There was a problem hiding this comment.
thanks, I put some comments inline
Signed-off-by: Nic Ma <[email protected]>
21dd99e to
56c9ff9
Compare
|
Hi @wyli , Thanks for your great suggestions, I updated the PR based on your comments and added more unit tests to cover. Thanks in advance. |
|
/black |
Signed-off-by: monai-bot <[email protected]>
wyli
left a comment
There was a problem hiding this comment.
thanks, please see some comments inline
|
/black |
|
Hi @wyli , Thanks for your cool suggestions. Thanks. |
Signed-off-by: Nic Ma <[email protected]>
Signed-off-by: Nic Ma <[email protected]>
Signed-off-by: Nic Ma <[email protected]>
|
/black |
|
/integration-test |
|
Hi @wyli , Thanks for pointing out the potential issue, I updated the PR according to your comments. Thanks in advance. |
Signed-off-by: monai-bot <[email protected]>
Signed-off-by: Nic Ma <[email protected]>
|
/black |
|
/integration-test |
Signed-off-by: Nic Ma <[email protected]>
|
/black |
Signed-off-by: Nic Ma <[email protected]>
|
/integration-test |
Hi @wyli , It seems that integration tests can not be triggered today, something related to the new Blossom CI? Thanks. |
I think @IsaacYangSLA resolved the integration issue by adding a missing package to requirements-dev.txt yesterday. Thanks for the quick fix! |
Fixes #2407 .
Description
This PR added the wrapper class to finetune 2D classification models, support to change the output classes of FC layer.
Status
Ready
Types of changes
./runtests.sh -f -u --net --coverage../runtests.sh --quick --unittests.make htmlcommand in thedocs/folder.