Text experiments data load not work in python3
michelleowen opened this issue · 0 comments
michelleowen commented
fname = 'bayes_neuro_np794_nq788_d2000_random_noun.p'
#fname = 'bayes_neuro_np794_nq788_d400.p'
np.random.seed(2984)
fpath = glo.data_file(fname)
with open(fpath, 'r') as f:
loaded = pickle.load(f)
TypeError: a bytes-like object is required, not 'str'