Skip to content

KeyError: 'train_dataloader' #1853

Answered by gaotongxiao
frankstorming asked this question in Q&A
Discussion options

You must be logged in to vote

I see. You have overwritten train_dataloader first and then tried to access the one in the _base_, which no longer existed. Removing the later line and only modifying the train_dataloader variable should be fine.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@frankstorming
Comment options

@gaotongxiao
Comment options

Answer selected by gaotongxiao
@frankstorming
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants