Efficiency-of-Neural-Archit.../read_pickle.py

17 lines
399 B
Python
Raw Normal View History

2023-06-01 08:20:51 +00:00
import pickle
gpu_data = []
with (open("bayes_wattdata_1.pkl", "rb")) as openfile:
while True:
try:
gpu_data.append(pickle.load(openfile))
except EOFError:
break
exp_data = []
with (open("bayes_exp_data_1.pkl", "rb")) as openfile:
while True:
try:
exp_data.append(pickle.load(openfile))
except EOFError:
break