-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
6268 enhance hovernet load pretrained function #6269
6268 enhance hovernet load pretrained function #6269
Conversation
Signed-off-by: Yiheng Wang <vennw@nvidia.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for update!
Hi @yiheng-wang-nv @KumoLiu , I don't quite understand the use case of this PR, could you please help share some examples here? Thanks in advance. |
Hi Nic, some users are used to save not only weights, but also other information such as learning rate, epoch ... into the whole weight file, if print the keys of the file we will see something like:
Where, only the Currently, Hovernet is designed to load standard pytorch resnet50 pretrained weights which only contain the weights information, and print the keys of the file we will see:
|
I mean an example to show how to use this arg in a python program and a bundle config. |
I see, in a bundle config we can do:
Only add this arg: |
@yiheng-wang-nv OK, looks good to me, please fix the CI errors. Thanks. |
Signed-off-by: Yiheng Wang <vennw@nvidia.com>
Signed-off-by: Yiheng Wang <vennw@nvidia.com>
…ng-wang-nv/MONAI into 6268-enhance-hovernet-load-pretrain
Signed-off-by: Wenqi Li <wenqil@nvidia.com>
Merge queue setting changed
Fixes #6268 .
Description
This PR enhances Hovernet's load pretrained function.
Types of changes
./runtests.sh -f -u --net --coverage
../runtests.sh --quick --unittests --disttests
.make html
command in thedocs/
folder.