mindearth.data.DemData
- class mindearth.data.DemData(data_params, run_mode='train')[source]
This class is used to process Dem Super resolution data, and is used to generate the dataset generator supported by MindSpore. This class inherits the Data class.
- Parameters
- Supported Platforms:
Ascend
GPU
Examples
>>> from mindearth.data import DemData >>> data_params = { ... 'name': 'nasadem', ... 'root_dir': './dataset', ... 'patch_size': 32, ... 'batch_size': 64, ... 'epoch_size': 10, ... 'num_workers': 1, ... 't_out_train': '', ... } >>> dataset_generator = DemData(data_params)