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

Error in __getitem__ method #5

Open
bl75 opened this issue Jul 24, 2024 · 0 comments
Open

Error in __getitem__ method #5

bl75 opened this issue Jul 24, 2024 · 0 comments

Comments

@bl75
Copy link

bl75 commented Jul 24, 2024

Hi, whenever I try to execute the run.py as given, there is an error shown each time in the getitem method in every class error is

class BatchBeam(NamedTuple):
RuntimeError: __class__ not set defining 'BatchBeam' as <class 'utils.beam_search.BatchBeam'>. Was __classcell__ propagated to type.__new__?

Python version: 3.11.6
pytorch version: 2.0.0
SciPy : 1.14.0
NumPy: 1.23.5
tensorboard: 2.12.3
cuda 11.7

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

1 participant