TorchSpatiotemporal/tsl

SpatioTemporalDataset.from_dataset does not accept the transform parameter.

LucaButera opened this issue · 1 comments

Issue:
The convenience method SpatioTemporalDataset.from_dataset does not accept any transform parameter, so it either has to be set manually after instantiation or the user must use the standard constructor.

Proposed solution:
Add transform as parameter to from_dataset or move to a kwargs based implementation.

I can implement this based on an agreed upon solution.

Adding the parameter sounds good to me, I think having only explicit parameters in that method makes all more transparent. More than happy if you could contribute in this regard! :)