-
Notifications
You must be signed in to change notification settings - Fork 65
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
custome model error #32
Comments
I guess this has something to do with defining |
Hi @mhmd97z thank you for reporting this issue to us! As a workaround, can you try to change @shizhouxing It looks like it is an issue with forward mode bound propagation. Can you take a look? |
@huanzhang12 As mentioned by @mhmd97z, the issue is gone when the input shape is set to [1, 19]. The issue is not related to the forward bound propagation. |
@mhmd97z You may refer to the help message regarding input_shape: |
@shizhouxing If the input shape is wrong, we should give an error early, not deep inside the forward mode bound propagation code. Can you ensure that we check the shape early and the code does not crash inside bound propagation? |
I think we only need to check if the batch dimension is missing. If the shape is totally wrong, BoundedModule can’t be created. Or the batch dimension can just be omitted when specifying the input shape. |
thanks for the response |
Hi there,
I tried to verify a customized model using alpha-beta-crown, but I got an error I could not figure out how to fix. I'd appreciate it if you could have a look at it.
yaml file:
The model is defined in model_defs.py:
basic.vnnlib
The error:
The text was updated successfully, but these errors were encountered: