BAAF-Net icon indicating copy to clipboard operation
BAAF-Net copied to clipboard

model.summary() / model parameters calculation issue

Open raoumairwaheed opened this issue 3 years ago • 1 comments

I want to Print model summary, but when I call model.summary() in s3dis.main after model = Network(dataset, cfg) attribute error occurs. If you know any other way to calculate the number of model parameters that will be also helpful.

thankyou

Error: AttributeError: 'Network' object has no attribute 'summary'

raoumairwaheed avatar Feb 10 '22 09:02 raoumairwaheed

please refer to the posts here: https://stackoverflow.com/questions/38160940/how-to-count-total-number-of-trainable-parameters-in-a-tensorflow-model

ShiQiu0419 avatar Feb 11 '22 01:02 ShiQiu0419