diff options
Diffstat (limited to 'options/test_options.py')
| -rwxr-xr-x | options/test_options.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/options/test_options.py b/options/test_options.py index aaeff53..504edf3 100755 --- a/options/test_options.py +++ b/options/test_options.py @@ -12,4 +12,8 @@ class TestOptions(BaseOptions): self.parser.add_argument('--which_epoch', type=str, default='latest', help='which epoch to load? set to latest to use latest cached model') self.parser.add_argument('--how_many', type=int, default=50, help='how many test images to run') self.parser.add_argument('--cluster_path', type=str, default='features_clustered_010.npy', help='the path for clustered results of encoded features') + self.parser.add_argument("--export_onnx", type=str, help="export ONNX model to a given file") + self.parser.add_argument("--engine", type=str, help="run serialized TRT engine") + self.parser.add_argument("--onnx", type=str, help="run ONNX model via TRT") + self.parser.add_argument("-d", "--data_type", default=32, type=int, choices=[8, 16, 32], help="Supported data type i.e. 8, 16, 32 bit") self.isTrain = False |
