- 
                Notifications
    You must be signed in to change notification settings 
- Fork 25
Open
Description
In 'train' mode you make exactly [400,257] data frames.
In other mode you make [x,257] data frames, where x - length of mag phase spectrogramm.
    if mode=='train':
        randtime = np.random.randint(0, mag_T.shape[1]-spec_len)
        spec_mag = mag_T[:, randtime:randtime+spec_len]
    else:
        spec_mag = mag_T
In validating mode you get list of different-sized tensors and of course - error during
features = torch.from_numpy(np.asarray([torch_tensor.numpy().T for torch_tensor in sample_batched[0]])).float()
TypeError: can't convert np.ndarray of type numpy.object_. The only supported types are: float64
I am wonder about you train\valid approach in dataset. Can you repair project and clarify it?
Metadata
Metadata
Assignees
Labels
No labels