How can we view the total number of parameters #1002
-
How can we view the total number of parameters of the model trained in the self-built ultrasonic dataset using nn U-Net? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Just drop something like this somewhere in the code and print it: https://stackoverflow.com/questions/49201236/check-the-total-number-of-parameters-in-a-pytorch-model |
Beta Was this translation helpful? Give feedback.
-
I run this code and it worked : found 31195594 parameters ( but for some reason trainable and total parameters is the same number)
|
Beta Was this translation helpful? Give feedback.
Just drop something like this somewhere in the code and print it: https://stackoverflow.com/questions/49201236/check-the-total-number-of-parameters-in-a-pytorch-model