Hello together,
I am trying to add nonlinear calculations to the ouput of a network, inlcuding a division.
I am using torch.reciprocal for this, by definition, the denominator is >0.
Nevertheless, alpha-beta-crown reports an assertion error in BoundReciprocal:
File "/home/*/alpha-beta-CROWN/complete_verifier/auto_LiRPA/operators/activation_base.py", line 285, in bound_backward
self.bound_relax(x, init=True, dim_opt=start_shape)
File "/home/*/alpha-beta-CROWN/complete_verifier/auto_LiRPA/operators/convex_concave.py", line 131, in bound_relax
assert x.lower.min() > 0
^^^^^^^^^^^^^^^^^
AssertionError
I added a Relu function to clamp the denominator to >0 but this did not resolve the error.
These are the lines causing my error:
Have you tried to reproduce the problem in a cleanly created conda/virtualenv environment using official installation instructions and the latest code on the main branch?: Yes
Hello together, I am trying to add nonlinear calculations to the ouput of a network, inlcuding a division.
I am using torch.reciprocal for this, by definition, the denominator is >0. Nevertheless, alpha-beta-crown reports an assertion error in BoundReciprocal:
I added a Relu function to clamp the denominator to >0 but this did not resolve the error. These are the lines causing my error:
Full output: https://pastebin.com/Bb9WiwFU
System configuration:
Thank you very much for your help already!