ASCAD
ASCAD copied to clipboard
Error in creating labels for ASCADv2 dataset
I wonder what's the label for y = to_categorical(Y_profiling, num_classes=256) since Y contains multiple tensors within one sample? The error of course occurs: TypeError: Cannot cast array data from dtype([('alpha_mask', 'u1', (1,)), ('beta_mask', 'u1', (1,)), ('sbox_masked', 'u1', (16,)), ('sbox_masked_with_perm', 'u1', (16,)), ('perm_index', 'u1', (16,))]) to dtype('int64')