WordAdver
WordAdver copied to clipboard
Can't find `sst2.p`
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.
I've met the same issue.
me too