You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to import field module from torchtext 0.15.2 version
But it is throwing "AttributeError: module 'torchtext.data' has no attribute 'Field'" Like this
Can anyone help me with this issue?
Thanks in Advance
The text was updated successfully, but these errors were encountered:
'Field' was moved to torchtext.legacy since torchtext 0.9.0 release and legacy retired from torchtext==0.12.0 onwards. Refer here https://github.com/pytorch/text/issues/664
I'm trying to import field module from torchtext 0.15.2 version
But it is throwing "AttributeError: module 'torchtext.data' has no attribute 'Field'" Like this
Can anyone help me with this issue?
Thanks in Advance
The text was updated successfully, but these errors were encountered: