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
in my model there is a very special case, where the input tensor only have the shape of [3, 1, 1] and [9, 1, 1], thus while estimating the FLOPs by feeding only one batch, the BatchNorm2d layer can't handle this sinlge input tensor and also it seems that fvcore lib doesn't consider this case too, so an error will just be threw out.
So I'm just wondering is it possible to feed two batches and get the FLOPs computed over them, then dividing the FLOPs by 2 to have the equivalent FLOPs as feeding one batch? Just as a beginner in computing FLOPs so really have no too much idea if this works in theory.... so I would appreciate if I can have some answers on this question. Big thanks in advance!
The text was updated successfully, but these errors were encountered:
Hi dear fvcore team,
in my model there is a very special case, where the input tensor only have the shape of
[3, 1, 1]
and[9, 1, 1]
, thus while estimating the FLOPs by feeding only one batch, theBatchNorm2d
layer can't handle this sinlge input tensor and also it seems that fvcore lib doesn't consider this case too, so an error will just be threw out.So I'm just wondering is it possible to feed two batches and get the FLOPs computed over them, then dividing the FLOPs by 2 to have the equivalent FLOPs as feeding one batch? Just as a beginner in computing FLOPs so really have no too much idea if this works in theory.... so I would appreciate if I can have some answers on this question. Big thanks in advance!
The text was updated successfully, but these errors were encountered: