pytorch-nlp-tutorial-nyc2017 icon indicating copy to clipboard operation
pytorch-nlp-tutorial-nyc2017 copied to clipboard

02_Names_CharNN_Nationality_Classifier

Open csgwon opened this issue 7 years ago • 0 comments

  • in NamesClassifier class: "last_item_indices += torch.arange(0, x_in.size(0)).long().cuda() * x_in.size(1)" needs a non-gpu version (and should be pushed into the "if use_gpu" check.
  • need "import json" for save

csgwon avatar Jun 27 '17 19:06 csgwon