Skip to content

TypeError: validation_step() takes 2 positional arguments but 3 were given #12838

Discussion options

You must be logged in to vote

your code looks correct. Are you sure you are using a single validation dataloader?
if yes, can you reproduce it using BoringModel??

Replies: 1 comment 10 replies

Comment options

You must be logged in to vote
10 replies
@chriswangky
Comment options

@rohitgr7
Comment options

@chriswangky
Comment options

@rohitgr7
Comment options

@chriswangky
Comment options

Answer selected by chriswangky
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment