PyTorch tutorials and fun projects including neural talk, neural style, poem writing, anime generation (《深度学习框架PyTorch:入门与实战》)
deep-learning
jupyter-notebook
nn
pytorch
autograd
caption
gan
image-classification
tensorboard
tensor
neural-style
visdom
pytorch-tutorials
pytorch-tutorials-cn
charrnn
neuraltalk
-
Updated
Mar 14, 2021 - Jupyter Notebook
Hi I would like to propose a better implementation for 'test_indices':
We can remove the unneeded np.array casting:
Cleaner/New:
test_indices = list(set(range(len(texts))) - set(train_indices))
Old:
test_indices = np.array(list(set(range(len(texts))) - set(train_indices)))