sagemaker-voice-classification/notebook/train.py [34:41]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        data_resampled, target_resampled = ros.fit_resample(np.squeeze(data), target)
        data = torch.from_numpy(data_resampled)
        data = data.unsqueeze_(-2)
        target = torch.tensor(target_resampled)
        
        data, target = data.to(device), target.to(device)
        output = model(data)
        output = output.permute(1, 0, 2)[0]  # original output dimensions are batchSizex1x10
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



sagemaker-voice-classification/notebook/train.py [66:73]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            data_resampled, target_resampled = ros.fit_resample(np.squeeze(data), target)
            data = torch.from_numpy(data_resampled)
            data = data.unsqueeze_(-2)
            target = torch.tensor(target_resampled)

            data, target = data.to(device), target.to(device)
            output = model(data)
            output = output.permute(1, 0, 2)[0]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



