Shifting CUDA to CPU for Inferencing

I am trying to generate inference results of my trained Text-to-Speech Tacotron2 model on CPU. However, initially the model provide inferencing on GPU but due to the non-availability of GPU I am transferring to CPU device. I have made the required changes like map_location = torch.device('cpu')
CUDA to CPU Inferencing

I am trying to generate inference results of my trained Text-to-Speech Tacotron2 model on CPU. However, initially the model provide inferencing on GPU but due to the non-availability of GPU I am transferring to CPU device. I have made the required changes like map_location = torch.device('cpu').
Still the error is not resolved. Please help me understand the issue and get the error resolved. Thanks!!

image1079×531 38.2 KB


image1296×475 26.5 KB