MCPcopy Create free account
hub / github.com/MarcCoru/locationencoder / __init__

Method __init__

data/landoceandataset.py:79–82  ·  view source on GitHub ↗
(self, num_samples=5000, batch_size=1000)

Source from the content-addressed store, hash-verified

77
78class LandOceanDataModule(pl.LightningDataModule):
79 def __init__(self, num_samples=5000, batch_size=1000):
80 super().__init__()
81 self.num_samples = num_samples
82 self.batch_size=batch_size
83
84 def setup(self, stage: str):
85 self.train_ds = TensorDataset(*get_data(self.num_samples, seed=0))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected