When I use the H5py library to read the .mat dataset, I get the following error. What is wrong? I have not found duplicate function and variable names. Thank you!
    tgt_dataset_root = h5py.File('E:\\ADDA\\pytorch-adda-master-lab\\datasets\\lab\\sandy\\mat\\test_target_domain_sandy.mat','r')
    data = tgt_dataset_root['data'] # use the key for data here
    label = tgt_dataset_root['label'] # use the key for target here

    data = numpy.array(data)
    label = numpy.array(label)

    tgt_dataset = TensorDataset(data, label)![微信图片_20200304093151|690x169](upload://nFSRllMj081KMNDu5qNcH1b2IaB.png)