What is the mistake?I checked and found no path errors. How to modify it? Thank you!

微信图片_202003111421031909×745 56.4 KB

for step, (testdata, testlabel) in enumerate(src_data_loader):
            
            testdata = make_variable(testdata)
            testlabel = make_variable(testlabel.squeeze_())



src_dataset = scipy.io.loadmat('E:\\ADDA\\adda-lab-mat\\datasets\\lab_mat\\test_target_domain_sandy')
testdata = src_dataset['testdata'] 
testlabel = src_dataset['testlabel'] 

testdata = torch.from_numpy(testdata).float()
testlabel = torch.from_numpy(testlabel).long() 

src_dataloader = torch.utils.data.DataLoader(
    dataset=src_dataset,
    batch_size=batch_size,
    shuffle=True,
    drop_last=True,
    num_workers=1)

return src_dataloader