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

18 lines
398 B
Python
Raw Normal View History

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