Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Disallow creating bad classification iterator #8042
When doing classification we need to know the
Ran into a weird null-pointer when calling fit on a classification network. My data looked pristine, and this was quite gnarly to track down. Turns out I had re-used some code from a segmentation task and was creating the iterator in the same way, but just passing in "false" for regression.
This lead to
Switching to another constructor solved the problem.
There might be cases where calling this constructor with