part2 icon indicating copy to clipboard operation
part2 copied to clipboard

Results 8 part2 issues
Sort by recently updated
recently updated
newest added

Hi, def load_glove(loc): return (bcolz.open(loc+'.dat')[:], pickle.load(open(loc+'_words.pkl','rb'), encoding='latin1'), pickle.load(open(loc+'_idx.pkl','rb'), encoding='latin1')) en_vecs, en_wv_word, en_wv_idx = load_glove('/data/datasets/nlp/glove/results/6B.100d') en_w2v = {w: en_vecs[en_wv_idx[w]] for w in en_wv_word} n_en_vec, dim_en_vec = en_vecs.shape I can't find 6B.100d_words.pkl,...

I am modifying bits of the code so that it works with keras 2. Would you be interested in PRs?

``` NameError Traceback (most recent call last) in () ----> 1 dl,gl = train(MLP_D, MLP_G, m, 4000) NameError: name 'm' is not defined ``` This is clearly intended to be...

I ran into these errors while trying to run `DCGAN.ipynb` (almost certainly due to different versions of Keras and nltk). Since these particular imports are unused, there is no reason...

Hey, what's up? Thanks so much for uploading the code. regarding this line: `def Var(*sz): return Parameter(Arr(*sz)).cuda()` I believe cudaing this decoder parameters is redundant as we are cudaing the...

Hi, Jeremy, In the lesson 1, the vgg16.py has a extra Lambda layer for the vgg_preprocess which minus the rgb mean and revert the RGB to BGR. Do we still...

1. add one more import: from torch.nn import Parameter 2. At In[16] and In[17], in case you don't have the preprocessed pkl files. (guess you won't) def loadGloveModel(gloveFile): print "Loading...