SaveTorchModel function has troubles in saving traced models when the latter is composed by multiple piece stacked through nn.Sequential. Furthermore, this method is not able to move all modules to the target device and requires .to() method to be overridden and explicitly called on some parts. This is also indicated by torchsummary, which does not see details of one of the modules. Activities to perform:
SaveTorchModel function has troubles in saving traced models when the latter is composed by multiple piece stacked through nn.Sequential. Furthermore, this method is not able to move all modules to the target device and requires .to() method to be overridden and explicitly called on some parts. This is also indicated by torchsummary, which does not see details of one of the modules. Activities to perform: