Skip to content
Discussion options

You must be logged in to vote

I think the problem is down to this line super(EEDataset, self).__init__(root, folders, transform, pre_transform). The signature of __init__ in the dataset class is

def __init__(self, root: Optional[str] = None,transform: Optional[Callable] = None,pre_transform:Optional[Callable] = None,pre_filter: Optional[Callable] = None):

The second argument is transform, in your case the second argument is folder that's the reason you get an error when self.transform gets executed. Simply removing folder from the super call should fix the issue.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ahmedramly
Comment options

Answer selected by ahmedramly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants