Skip to content
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

about a lightweight variant of the ExU-Net #5

Open
cjh-yan opened this issue Jul 20, 2023 · 2 comments
Open

about a lightweight variant of the ExU-Net #5

cjh-yan opened this issue Jul 20, 2023 · 2 comments

Comments

@cjh-yan
Copy link

cjh-yan commented Jul 20, 2023

Hello, I saw that ExU-Net-L was mentioned in the article. But it seems that it is not given in the code you gave. Can you tell me what changes have been made based on ExU_Net?

@wngh1187
Copy link
Owner

Hello, thank you for your interest in my research.
I apologize for not providing information about the light version of ExU-Net mentioned in the paper.
In ExU-Net's argumet.py, I changed the parameters to the following and left the rest unchanged:
l_channel: [16, 32, 64, 128] -> [16, 32, 40, 64]
l_num_convblocks: [3, 4, 6, 3] -> [3, 3, 3, 3]
I will upload the parameters for the trained light version of ExU-Net as soon as possible.

@wngh1187
Copy link
Owner

We have uploaded the weights of the trained ExU-Net-L.
After defining the model and DDP, you can load the model weights based on the following code to get the same results as in the paper.

checkpoint = torch.load(args['path_bestmodel'], map_location=args['device'])
new_dict = {}
for o_key, n_key in zip(list(checkpoint.keys()), list(model.state_dict().keys())):
    new_dict[n_key] = checkpoint[o_key]
model.load_state_dict(new_dict)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants