Load dataset related information from disk. Parameters ---------- path : str File to load information from. Returns ------- info : dict A python dict storing information loaded from disk.
(path)
| 340 | |
| 341 | |
| 342 | def load_info(path): |
| 343 | """Load dataset related information from disk. |
| 344 | |
| 345 | Parameters |
| 346 | ---------- |
| 347 | path : str |
| 348 | File to load information from. |
| 349 | |
| 350 | Returns |
| 351 | ------- |
| 352 | info : dict |
| 353 | A python dict storing information loaded from disk. |
| 354 | """ |
| 355 | with open(path, "rb") as pf: |
| 356 | info = pickle.load(pf) |
| 357 | return info |
| 358 | |
| 359 | |
| 360 | def deprecate_property(old, new): |