You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current version could support your need. Please use the newest GitHub version instead of the version installed by PyPI, because torchsummary.summary_string does not exist in torchsummary 1.5.1.
Here is an example:
importtorchsummarymodule= ... # Get my torch.nn.Modulewithopen('my_module_log.log', 'w') asf:
report, _=torchsummary.summary_string(model, ...)
f.write(report)
Hi,
How can I save the model summary output to variable? text file? print to file?
The text was updated successfully, but these errors were encountered: