torchstat icon indicating copy to clipboard operation
torchstat copied to clipboard

For 3D Networks?

Open DISAPPEARED13 opened this issue 4 years ago • 3 comments

Hello! I want to check my 3D CNN model's GPU using with torchstat, but it seems not support inputs with more than 3D... assertionerror occured.. any solutions to solve this problem? or can you recommend some effective tools to check GPU usage? thx..

DISAPPEARED13 avatar May 10 '21 09:05 DISAPPEARED13

assert isinstance(input_size, (tuple, list)) and len(input_size) == 3

DISAPPEARED13 avatar May 10 '21 09:05 DISAPPEARED13

if i cancel the assert sentence, torch.nn 's 3D layers are not suported by torchstat

DISAPPEARED13 avatar May 10 '21 09:05 DISAPPEARED13

try another package "thop"

ShinoSpace avatar Mar 24 '22 05:03 ShinoSpace