Cogito2012 / UString

[ACM MM 2020] Uncertainty-based Traffic Accident Anticipation
MIT License
67 stars 19 forks source link

How do I know the network architecture of the model? #26

Closed Alex-fishred closed 1 year ago

Alex-fishred commented 1 year ago

How do I know the network architecture of the model? I try to read the pth model with netron I have tried torch.save to store the whole model instead of the model parameters only but can't get the answer I want

I want to get the input and output dimensions of each layer, of course I can get it from the program code, but I don't believe my observation.

未命名

Cogito2012 commented 1 year ago

You can debug the code line by line, and you can print all the input / output dimensions at each layer, as well as the complete network arch.