Skip to content

Commit

Permalink
maybe?
Browse files Browse the repository at this point in the history
  • Loading branch information
mldiego committed Jul 11, 2024
1 parent 66c0377 commit 58cd89b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
14 changes: 7 additions & 7 deletions code/nnv/examples/Submission/VNN_COMP2024/execute.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def run_instance(category, onnx, vnnlib, timeout, outputlocation) -> None:
timeout = float(timeout)
print('Trying to get the results without specified timeout')

[status, total_time] = future.result()
#[status, total_time] = future.result()

# try:
# [status, total_time] = future.result(timeout=float(timeout))
Expand All @@ -65,13 +65,13 @@ def run_instance(category, onnx, vnnlib, timeout, outputlocation) -> None:
# total_time = timeout
# status = 3

future.cancel()
eng.quit()
#future.cancel()
#eng.quit()

if status == 3:
resultfile = outputlocation
with open(resultfile, 'w') as f:
f.write('timeout')
# if status == 3:
# resultfile = outputlocation
# with open(resultfile, 'w') as f:
# f.write('timeout')
# All the other results are written from matlab


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,7 @@
reachOptionsList{1} = reachOptions;
reachOptions = struct;
reachOptions.reachMethod = 'exact-star'; % default parameters
reachOptions.numCores = numCores;
reachOptionsList{2} = reachOptions;

elseif contains(category, "cora")
Expand Down

0 comments on commit 58cd89b

Please sign in to comment.