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 the model FLOPs and Parameters #2495

Open
OCEANOUXIN opened this issue Sep 12, 2024 · 4 comments
Open

About the model FLOPs and Parameters #2495

OCEANOUXIN opened this issue Sep 12, 2024 · 4 comments
Assignees

Comments

@OCEANOUXIN
Copy link

Hi Fabian, thanks for your excellent works! But I get few confusion. I worte a UNet.py code following your code(the same configurtion), i think i did not write wrong, but i get the following:
ee9bdc88a6b211265599e0378a7daa82
3a5d6807ece81959dbfd0924bb5f1cea
I don't why your model FLOPs and Parameters more than mine.

@seziegler
Copy link
Member

Hi @OCEANOUXIN ,

this could have many reasons, but generally the U-Net topology in nnunet is also adapted to the dataset at hand. This means that depending on the dataset you will get different U-Nets with different amounts of parameters etc.

@OCEANOUXIN
Copy link
Author

.

Thanks for your earily reply,@seziegler. But I used the same input for both of tow models,as following:
image
image
There is a problem with profile module. I don't know whether the nnunet has the other not used modules and profile module also calculate the parts.Or maybe we should only calculate the input stream.

@seziegler
Copy link
Member

You can check the exact architecture of the two models to see where they differ by using print(model)

@OCEANOUXIN
Copy link
Author

You can check the exact architecture of the two models to see where they differ by using print(model)

Yes, I accturally did it. Then I find this in nnunet:
36d3347dc8fc3d12f58f2ac6ce01b266
I don't know why the tow parts are the same. How do they work? Whether both of they is useful? Thanks for your reply.

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