Skip to content

Commit

Permalink
Update qm9.py
Browse files Browse the repository at this point in the history
Add **kwargs (e.g. for train_sampler_cls)
  • Loading branch information
NiklasGebauer authored Oct 22, 2024
1 parent e440b43 commit 9384270
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/schnetpack_gschnet/datasets/qm9.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ def __init__(
splitting: Optional[SplittingStrategy] = None,
pin_memory: Optional[bool] = None,
force_preprocessing: Optional[bool] = False,
**kwargs,
):
"""
Expand Down Expand Up @@ -176,6 +177,7 @@ def __init__(
splitting=splitting,
pin_memory=pin_memory,
force_preprocessing=force_preprocessing,
**kwargs,
)

self.remove_uncharacterized = remove_uncharacterized
Expand Down

0 comments on commit 9384270

Please sign in to comment.