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

Predict method allows bonehead null-reference bug #74

Open
normanhh3 opened this issue Aug 7, 2017 · 1 comment
Open

Predict method allows bonehead null-reference bug #74

normanhh3 opened this issue Aug 7, 2017 · 1 comment
Assignees

Comments

@normanhh3
Copy link

Hi folks,

Great work here!

I've recently run into a null-reference exception on this line due to not providing a proper Descriptor. I realize that is clear when reading the code, it just isn't all that clear from creating a model and then loading it from a serialized state and oh, you also need a descriptor to go with it.

Anyway, a pre-condition check on the Descriptor would, I think help clarify things for new folks.

@sethjuarez
Copy link
Owner

Good call

@sethjuarez sethjuarez self-assigned this Aug 11, 2017
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

2 participants