torchinfo icon indicating copy to clipboard operation
torchinfo copied to clipboard

Show summary up to error

Open R-N opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe. Torchinfo summary is very useful to debug shapes and module chain. However, it doesn't work when it encounters error. Often, errors are caused by wrong shape. This is where torchinfo summary should be very useful.

Describe the solution you'd like When summary encounters error, print summary up to the error layer.

Describe alternatives you've considered print manually

R-N avatar Dec 16 '23 23:12 R-N