TypeError: module() takes at most 2 arguments (3 given) when inheriting torch.utils.data.dataset

Oh, I get it.
It’s of course def __ init __, while markdown hides the double underline. So I think maybe there is no typo.
There is my code picture.

1 Like