Adding Additional Parameters
In the ANN-Benchmarks source code, the result is output in non-batch mode by default. You can add the --outbatch parameter to the source code to view the command. After the modification, the result is output in batch mode.
- Open the data_export.py file.
1vim /data/ann-benchmarks-main/data_export.py - Add the outbatch parameter to line 12 in the data_export.py file.
1parser.add_argument("--outbatch",action="store_true",help="output using batch mode")
- Modify the methods in lines 19 and 20 of the data_export.py file to transfer parameters.
1 2
if len(list(load_all_results(dataset_name,None, args.outbatch))) > 0: results = load_all_results(dataset_name,None, args.outbatch)

Parent topic: Checking Results