We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For the latest version of torch_geometric 2.4.0, the Collater was refactored and require an argument dataset.
dataset
Therefore, the current implementation of PYGGraphTransformer.get_collate_fn is no longer valid.
PYGGraphTransformer.get_collate_fn
The argument dataset should also be added in the get_collate_fn.
get_collate_fn
def get_collate_fn( self, dataset: Union[Dataset, Sequence[BaseData], DatasetAdapter], follow_batch: Optional[List[str]] = None, exclude_keys: Optional[List[str]] = None, return_pair: Optional[bool] = True, **kwargs, ): collator = Collater(dataset=dataset, follow_batch=follow_batch, exclude_keys=exclude_keys) return partial(self._collate_batch, collator=collator, return_pair=return_pair)
No response
The text was updated successfully, but these errors were encountered:
Thanks @zhu0619, can you make a PR ?
Sorry, something went wrong.
@zhu0619, can you document the alternative of using the pyg DataLoader object directly somewhere ?
It allows actually not providing any collate function
Successfully merging a pull request may close this issue.
Motivation
For the latest version of torch_geometric 2.4.0, the Collater was refactored and require an argument
dataset
.Therefore, the current implementation of
PYGGraphTransformer.get_collate_fn
is no longer valid.Pitch
The argument
dataset
should also be added in theget_collate_fn
.Additional context
No response
The text was updated successfully, but these errors were encountered: