Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

what's is the replacement of legacy? #1661

Closed
1152545264 opened this issue Mar 21, 2022 · 3 comments
Closed

what's is the replacement of legacy? #1661

1152545264 opened this issue Mar 21, 2022 · 3 comments

Comments

@1152545264
Copy link

1152545264 commented Mar 21, 2022

❓ Questions and Help

Description

in torchtext0.12.0, the module legacy has been removed, so how to implement the same functions as the class legacy.Field?
thanks for your help.

@Nayef211
Copy link
Contributor

The legacy module has been deprecated since torchtext 0.11 and has been deleted in 0.12.0. If you want to use legacy.Field class or associated functions, feel free to downgrade your version of torchtext or copy over the functions/classes to your own project!

@pandya6988
Copy link

Why pytorch should remove such a useful functions? specially when it was already developed.

@Nayef211
Copy link
Contributor

Nayef211 commented Oct 4, 2022

Why pytorch should remove such a useful functions? specially when it was already developed.

@pandya6988 refer to #664 for the plans to revamp the torchtext library (which contains the motivation behind why these features were deprecated).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants