Sfoglia il codice sorgente

Merge pull request #17 from cclauss/patch-1

False
Jackie Loong 6 anni fa
parent
commit
c7974799ba
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      ch11/nb.py

+ 1 - 1
ch11/nb.py

@@ -16,7 +16,7 @@ out
 #%%
 net.embeddings
 net.embeddings.trainable
-net.trainable = Flase
+net.trainable = False
 #%%
 # 从预训练模型中加载词向量表
 embed_glove = load_embed('glove.6B.50d.txt')