-
Notifications
You must be signed in to change notification settings - Fork 2
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
How is the dronet.onnx model in rq3/benchmark created? #5
Comments
Hi, thanks for your interest in our artifact. We used the best_model as provided in the DroNet repo. I believe we converted this model to onnx using onnxmltools. This was 3 or so years ago so the output of this tool may be slightly different now (I believe we used version 1.5 or 1.6). I believe the only change that we made was to add a Concat operation at the end to get a single output vector with 2 values, rather than 2 vectors with 1 value each. This was done due to some limitations of other tools we were using at the time of conversion (unrelated to this work). The Concat doesn't affect the functionality of the model, and our properties actually slice it off the end of the network, e.g., |
Hi! Thank you very much for the reply. Unfortunately when I tried the conversion with onnxmltools and I still encounter the same problem. I wanted to provide more detail so maybe you can spot the issue. The experiments of rq3 run successfully for me with the original dronet.onnx file included in the repository however fails with dronet models that I tried to train from scratch. The falsification process seems to be running however no counter examples are generated (even for a model that has the same architecture as the dronet included in the artifact repo). The output files from running the experiment looks something like this (doesn't have falsification stats from dnnf): I'm trying to find the reason that is causing the experiment pipeline to not generate counter-examples. I inspected and found that the dronet.onnx model included in the artifact repo has some "identity" blocks that are not in the dronet models that I have trained and converted. The models are included in the figures below: I then tried generating the onnx file with the best_model provided in the DroNet repo and the resulted model also didn't have identity block. I'm not sure why that is since you generated the dronet.onnx file in this artifact repo with those weights and model_struc or if this even effects the experiment output. Thank you very much again for your time! |
If you used You probably need to add a Concat operation, or change:
to
in the property files for your network. |
Hello!
I am interested in experimenting the DFV program with my own DroNet variations. I trained my own DroNet with the resources in their repository and converted it to onnx and imported it to the DFV codebase. However, I noticed that the model originally included in the DFV (rq3/benchmark/dronet.onnx) codebase has a slightly different architecture from the one I trained. I was wondering if you can provide some information on if or how you modified the original DroNet code to obtain the network included in this repository?
Thank you very much!
The text was updated successfully, but these errors were encountered: