◆ loadData() [1/2]
T fiftyone.pipeline.engines.data.DataLoader< T >.loadData | ( | String | filePath, |
Class< T > | type | ||
) | throws IOException, IllegalAccessException, InvocationTargetException, InstantiationException |
Load a new instance of T using the data in the file provided.
- Parameters
-
- filePath - file to load from
- type - the type of object to load
- Returns
- new instance of T
- Exceptions
-
- IOException -
- IllegalAccessException -
- InvocationTargetException -
- InstantiationException -
Implemented in fiftyone.pipeline.engines.data.JsonLoader< T >.