COSIE.image_preprocessing.load_pickle

load_pickle(filename, verbose=True)[source]

Load a Python object from a .pkl file.

Parameters

filenamestr

The full path of the pickle file to load.

verbosebool, optional

Whether to print a confirmation message upon successful loading. Default is True.

Returns

xAny

The deserialized Python object.