You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've run into a bit of an issue when using your package. The @requires statement causes Flux to be loaded in full inside NeuralVerification if it's used in Main at any point. This causes a conflict with the symbol σ, which is exported by both LazySets and Flux.
A MWE is Flux + the script given in the README, used with a reachability-based solver,
using NeuralVerification
using NeuralVerification: Hyperrectangle
using Flux
solver = ReluVal()
nnet = read_nnet("test/networks/small_nnet.nnet")
input_set = Hyperrectangle(low = [-1.0], high = [1.0])
output_set = Hyperrectangle(low = [-1.0], high = [70.0])
problem = Problem(nnet, input_set, output_set)
solve(solver, problem)
Hi,
I've run into a bit of an issue when using your package. The
@requires
statement causes Flux to be loaded in full inside NeuralVerification if it's used in Main at any point. This causes a conflict with the symbolσ
, which is exported by both LazySets and Flux.A MWE is Flux + the script given in the README, used with a reachability-based solver,
which errors with the message
I think if the
using
statement inutils/flux.jl
were qualified with only the required names, it would avert the conflict.The text was updated successfully, but these errors were encountered: