pytorch-nlp-tutorial-nyc2017
pytorch-nlp-tutorial-nyc2017 copied to clipboard
02_Names_CharNN_Nationality_Classifier
- 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