There is a problem when running:
the parameters of the code torch.utils.data.DataLoaderr are as follows:
Reason for the error : Multiple child processes can be used to load data in Linux, but not in Windows. Therefore, in Windows, the num_workers in the torch.utils.data.DataLoaderr of the data is set to 0 or the default setting (num_workers=0) is used. The value of num_workers cannot be customized, otherwise the situation shown above will occur.
After modifying torch.utils.data.DataLoaderr to the default settings:
Running results: Normal operation