Thanks @ptrblck … but I am not calculating loss … I just want forward pass output. Also I am confuse about my above doubt for till  m layer  forward pass of model.
featmap = nn.Sequential(*list(model.children())[:8])(img.cuda())
Where it is given correct or not?
Thnaks