How to solve this problem: statements of "__all__" without "Dataset"

This inspection warns if a protected member is accessed outside the class, a descendant of the class where it’s defined or a module. It occurred when I use the following sentence:from torch.utils.data import Dataset

I don’t get this warning when running from torch.utils.data import Dataset. Which PyTorch version are you using?

My version is PyTorch 1.7.1

Thanks, I found it, my dataset.py has some mistakes in defining