Skip to content

Conversation

KickItLikeShika
Copy link
Contributor

@KickItLikeShika KickItLikeShika commented Mar 27, 2021

Fixes #1777

In torchtext==0.9.0: Field, LabelField and data.BucketIterator.splits all have been moved to legacy.

Check list:

  • New tests are added (if a new feature is added)
  • New doc strings: description and/or example code are in RST format
  • Documentation is updated (if required)

@github-actions github-actions bot added the examples Examples label Mar 27, 2021
Copy link
Collaborator

@vfdev-5 vfdev-5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@KickItLikeShika thanks for the PR !

Would you like in a follow-up PR to update this example to the recent torchtext API without using legacy code ?

@vfdev-5 vfdev-5 enabled auto-merge (squash) March 28, 2021 12:30
@vfdev-5 vfdev-5 disabled auto-merge March 28, 2021 12:30
@vfdev-5 vfdev-5 merged commit acdce44 into pytorch:master Mar 28, 2021
@KickItLikeShika
Copy link
Contributor Author

@vfdev-5 sure!

@KickItLikeShika KickItLikeShika deleted the fix-textcnn-example branch March 28, 2021 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
examples Examples
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Attribute errors in TextCNN.ipynb
2 participants