WSSS_ResNet50 / tools /general /pickle_utils.py
kittendev's picture
Upload 176 files
c20a1af verified
raw
history blame contribute delete
260 Bytes
# Copyright (C) 2020 * Ltd. All rights reserved.
# author : Sanghyeon Jo <[email protected]>
import pickle
def dump_pickle(path, data):
pickle.dump(data, open(path, 'wb'))
def load_pickle(path):
return pickle.load(open(path, 'rb'))