-
Notifications
You must be signed in to change notification settings - Fork 13
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
assert masks TypeError #135
Comments
Here is an image of relevant code and its link:
|
Hey @sakird , thanks for reporting this issue and we removed this assertion in the next release. Apart from the the assertion, is it possible for you to provide a minimal reproducible example so that we can help investigate the issue? Thanks, |
Would it be OK to provide code here as a comment? Or is there any other way for that? I did not do anything like this before. |
Hey @sakird, you can delete your sensitive information, create dummy data and share codes in the comment. Thanks |
On line 101 of custom.py there is an assert line:
assert handler is not None
and below it, there is a TypeError raised if assert is true:
if handler is None: raise TypeError("Your input type to custom model is not currently supported")
this TypeError is not returning to developer and makes it hard to understand the cause of the error.
It seems asserting line is not necessary. Can we remove it?
The text was updated successfully, but these errors were encountered: