Save dataset related information into disk. Parameters ---------- path : str File to save information. info : dict A python dict storing information to save on disk.
(path, info)
| 326 | |
| 327 | |
| 328 | def save_info(path, info): |
| 329 | """Save dataset related information into disk. |
| 330 | |
| 331 | Parameters |
| 332 | ---------- |
| 333 | path : str |
| 334 | File to save information. |
| 335 | info : dict |
| 336 | A python dict storing information to save on disk. |
| 337 | """ |
| 338 | with open(path, "wb") as pf: |
| 339 | pickle.dump(info, pf) |
| 340 | |
| 341 | |
| 342 | def load_info(path): |