WordAdver icon indicating copy to clipboard operation
WordAdver copied to clipboard

Can't find `sst2.p`

Open RenShuhuai-Andy opened this issue 5 years ago • 2 comments

Different versions of codes like use_pretrained_gene_testset.py need to load sst2.p in line 298, but I can't find it. Is it the file /save/sst2_model.pickle ? If so, when I use x = cPickle.load(open("./save/sst2_model.pickle", "rb")) in line 298 of use_pretrained_gene_testset.py, the type of x is <type 'list'>: [W, b, W_conv, b_conv, W_conv, b_conv, W_conv, b_conv, Words], it seems not compatible with revs, W, W2, word_idx_map, vocab, max_ in line 299 and will go wrong in line 318.

RenShuhuai-Andy avatar Sep 09 '19 09:09 RenShuhuai-Andy

I've met the same issue.

hustc12 avatar Mar 03 '20 21:03 hustc12

me too

WinddyAkoky avatar Oct 08 '20 07:10 WinddyAkoky