Draft
Conversation
CodeOcean test runners for FairNNV, ProbVer, ModelStar, VideoStar, and GNNV with environment setup, README documentation, and test coverage matching original NNV 3.0 configurations.
MATLAB R2024b's importNetworkFromONNX creates nnet.onnx.layer.AddLayer variants instead of nnet.cnn.layer.AdditionLayer for ONNX Add operations. This caused test_regression_acasxu_vnnlib to fail with "Unsupported Class of Layer". Add contains(class(L), 'AddLayer') check and use direct constructor to handle both standard and ONNX-imported addition layers.
- Add generate_figures.py for publication figures and LaTeX tables - Generate ModelStar, GNNV, FairNNV, VideoStar, ProbVer outputs - Fix ProbVer Direction_trainer to save .mat instead of .npz - Remove pyenv dependency from ProbReach_ImageStar and Prob_reach - Make FairNNV and VideoStar paths portable (auto-detect nnvDir) - Add ProbVer ONNX model, vnnlib properties, and results - Add FairNNV results (counterfactual/individual fairness CSVs)
Restore matlab2nnv.m, Direction_trainer.py, ProbReach_ImageStar.m, and Prob_reach.m to their original versions to fix CI test failures.
The codeocean capsule contains a standalone NNV copy with +nnet package overrides that shadow MATLAB's built-in ONNX layer definitions when genpath adds them to the path. This caused importNetworkFromONNX to generate custom AddLayer classes instead of standard AdditionLayer, breaking test_regression_acasxu_vnnlib and test_matlab2nnv. Also update ModelStar figure to prevent timing labels from intersecting the upper axis boundary.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add NNV 3.0 submission folder with instructions on reproducing artifacts.