Skip to content

UnboundLocalError of "new_batches" in iterators.py #10

@ZexueHe

Description

@ZexueHe

I was trying to reproduce the results in your paper by running language modeling with newgpt class, where the codes failed to execute due to the error about new_batches in fairseq/fairseq/data/iterators.py. Is this function correct?

UnboundLocalError: local variable 'new_batches' referenced before assignment

And can you provide a demo/script on how to run the codes in order to reproduce your results? Thank you in advance! :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions