-
Notifications
You must be signed in to change notification settings - Fork 26
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
Where is DWConv used in the LightM-UNet model? #6
Comments
Running the model with |
|
So the current model does not reflect the one mentioned in the paper? Even the initial and final layers don't have DWConv. Even with these changes, the model size is 2.8 million for 3d model. |
Yes, it looks like the author probably uploaded the code used in the test by mistake. |
Response from the author regarding this issue will be appreciated. |
Thank you very much for your attention to our work. We apologize for inadvertently uploading the code related to our ablation experiments in our previous submission, such as replacing |
So when will the correct code be uploaded? |
We have updated our code. |
Allow us to kindly remind you. The number of parameters and computations in the network vary with the settings of network hyperparameters. For example, altering the |
model = LightMUNet( spatial_dims=3, init_filters=32, in_channels=1, out_channels=14, blocks_down=[1, 2, 2, 2], blocks_up=[1, 1, 1], ) |
No, the relevant parameter settings for the LiTS dataset should be as follows: |
Also please respond to this issue as well |
Apologies, based solely on the current information provided, I'm unable to analyze the reason. If possible, please provide more information to help me understand your issue better. |
Using the the model class from your updated code i am getting 2.9 M parameters. |
how many input_channels and num_classes you have set? |
Input channels: 1 |
We're sorry, but we are unable to reproduce your issue. 🤦 |
Can you please provide a short script for this then? How many total parameters are you getting? |
I received a total parameters of 0.4667M. |
`
` Total Model Parameters = 2,997,821 [INFO] Register zero_ops() for <class 'torch.nn.modules.activation.ReLU'>. |
Perhaps the principles behind the two methods of parameter counting are different? Although I'm not sure of the reason. |
Haven't used thop package before, so I am also a bit confused. Using |
Anyway, thank you very much for your feedback, and we will follow up on this issue. |
LightM-UNet/lightm-unet/nnunetv2/nets/LightMUNet.py
Lines 17 to 24 in b484335
Can you please point out where is the DWConv used in constructing the model. I wasn't able to find where this is used in the model.
The text was updated successfully, but these errors were encountered: