|
384 | 384 | else |
385 | 385 | error("We don't have those"); |
386 | 386 | end |
| 387 | + reachOptions.reachMethod = 'relax-star-area'; |
| 388 | + reachOptions.relaxFactor = 0.8; |
| 389 | + reachOptionsList{1} = reachOptions; |
387 | 390 | reachOptions = struct; |
388 | 391 | reachOptions.reachMethod = 'approx-star'; % default parameters |
389 | | - reachOptionsList{1} = reachOptions; |
| 392 | + reachOptionsList{2} = reachOptions; |
390 | 393 |
|
391 | 394 | elseif contains(category, "vggnet16") |
392 | 395 | % vgg16: onnx to matlab |
393 | 396 | net = importNetworkFromONNX(onnx); % flattenlayer |
394 | 397 | nnvnet = ""; |
395 | 398 | needReshape = 1; |
396 | | - reachOptions = struct; |
397 | | - reachOptions.reachMethod = 'approx-star'; % default parameters |
| 399 | + reachOptions.reachMethod = 'relax-star-area'; |
| 400 | + reachOptions.relaxFactor = 0.9; |
398 | 401 | reachOptionsList{1} = reachOptions; |
| 402 | + reachOptions = struct; |
| 403 | + reachOptions.reachMethod = 'relax-star-area'; |
| 404 | + reachOptions.relaxFactor = 0.5; |
| 405 | + reachOptionsList{2} = reachOptions; |
399 | 406 |
|
400 | 407 | elseif contains(category, "tllverify") |
401 | 408 | % tllverify: onnx to nnv |
402 | 409 | net = importNetworkFromONNX(onnx,"InputDataFormats", "BC", 'OutputDataFormats',"BC"); |
403 | 410 | nnvnet = matlab2nnv(net); |
404 | 411 | reachOptions = struct; |
405 | | - reachOptions.reachMethod = 'approx-star'; % default parameters |
| 412 | + reachOptions.reachMethod = 'relax-star-area'; |
| 413 | + reachOptions.relaxFactor = 0.9; |
406 | 414 | reachOptionsList{1} = reachOptions; |
| 415 | + reachOptions = struct; |
| 416 | + reachOptions.reachMethod = 'approx-star'; % default parameters |
| 417 | + reachOptionsList{2} = reachOptions; |
407 | 418 |
|
408 | 419 | elseif contains(category, "vit") |
409 | 420 | % vit: onnx to matlab |
|
459 | 470 | needReshape = 1; |
460 | 471 | reachOptions = struct; |
461 | 472 | reachOptions.reachMethod = 'relax-star-area'; |
462 | | - reachOptions.relaxFactor = 0.5; |
| 473 | + reachOptions.relaxFactor = 0.9; |
463 | 474 | reachOptionsList{1} = reachOptions; |
464 | | - reachOptions = struct; |
465 | | - reachOptions.reachMethod = 'approx-star'; % default parameters |
| 475 | + reachOptions.reachMethod = 'relax-star-area'; |
| 476 | + reachOptions.relaxFactor = 0.5; |
466 | 477 | reachOptionsList{2} = reachOptions; |
467 | 478 |
|
468 | 479 | elseif contains(category, "tinyimagenet") |
|
0 commit comments