arthurai.datasets.download.ArthurExampleDownloader#
- class arthurai.datasets.download.ArthurExampleDownloader(example_name, target_base_dir, source=ArthurDatasetSource.S3)#
Bases:
object
Class for downloading data for an Arthur Example
Methods
Gets an example dataset for an ArthurExample
Gets metadata for an ArthurExample
Gets a pretrained model for an ArthurExample
Gets pretrained model predictions for an ArthurExample
- download_dataset()#
Gets an example dataset for an ArthurExample
- Return type
Path
- Returns
Path to the downloaded dataset
- download_metadata()#
Gets metadata for an ArthurExample
- Return type
Dict
- Returns
metadata dictionary with parameters relating to file locations & ArthurModel model & attribute info
- download_pretrained_model()#
Gets a pretrained model for an ArthurExample
- Return type
Path
- Returns
Path to the downloaded model
- download_pretrained_model_predictions()#
Gets pretrained model predictions for an ArthurExample
- Return type
Path
- Returns
Path to the downloaded predictions