Open zhaoxiongjun opened 5 years ago
if args.dataset == "vg": args.imdb_name = "vg_train" args.imdbval_name = "vg_val" args.set_cfgs = ['ANCHOR_SCALES', '[2, 4, 8, 16, 32]', 'MAX_NUM_GT_BOXES', '50'] cls_r_prob = pickle.load(open('data/graph/vg_graph_r.pkl', 'rb')) cls_r_prob = np.float32(cls_r_prob) cls_a_prob = pickle.load(open('data/graph/vg_graph_a.pkl', 'rb')) cls_a_prob = np.float32(cls_a_prob)
when i run train_HKRM,py ,it raise ValueError, "unsupported pickle protocol: %d" % proto ValueError: unsupported pickle protocol: 3
if args.dataset == "vg": args.imdb_name = "vg_train" args.imdbval_name = "vg_val" args.set_cfgs = ['ANCHOR_SCALES', '[2, 4, 8, 16, 32]', 'MAX_NUM_GT_BOXES', '50'] cls_r_prob = pickle.load(open('data/graph/vg_graph_r.pkl', 'rb')) cls_r_prob = np.float32(cls_r_prob) cls_a_prob = pickle.load(open('data/graph/vg_graph_a.pkl', 'rb')) cls_a_prob = np.float32(cls_a_prob)
when i run train_HKRM,py ,it raise ValueError, "unsupported pickle protocol: %d" % proto ValueError: unsupported pickle protocol: 3