question:
i installed a module with pip which works on a specific dataset.
when I want to work with a different dataset, it gives the error :: :Expected more than 1 value per channel when training, got input size torch.Size([1, 15])
I understand that I can set the model to eval mode and run as the batch norm is creating the issue;
how do I set the pytorch model to eval mode when the module downloaded gives the error:
‘module’ object has no attribute ‘eval’