Customizing CSV file reading settings

Edge AI Lab

tags
edge-ai-lab

When using a CSV file as a dataset, you can customize the delimiter character, target column name, and session column name if they differ from the default values (,, target, and session respectively). Specify these as additional parameters when calling the inference or metrics command.

Parameter Description Example
-d, --delimiter Specifies the delimiter character. Supported keywords: comma (,), semicolon (;), tab (\t), caret (^), vbar (\|). nrf_edgeai_inference_runner_linux inference test.csv -d tab
-t, --target Specifies the target column name of the provided dataset. nrf_edgeai_inference_runner_linux inference test.csv -t label
-sn, --session Specifies the session column name of the provided dataset. nrf_edgeai_inference_runner_linux inference test.csv -sn testee