1. Setup
This section will set up your environment and API credentials so that you can start making calls to the Edge Impulse API from this notebook. Run this block only once per runtime session, or every time you:- Open the notebook on your browser or IDE to start working on it, or
- restart the runtime, or
- change the project you are working on
1.1 Update your PROJECT_ID
You will need to enter the correct PROJECT_ID
for the project you want to work with, in the code in section 1.3 below. The project ID can be obtained from your Edge Impulse Project’s Dashboard under the Project Info section.
1.2 Obtain your API Key
The block below will prompt you for your project’s API Key. You can obtain this key from your Project’s Dashboard, by selecting the Keys tab from the top navigation bar.1.3 Run the setup block
Run the block below and enter your API key when prompted. Then continue to the next section.2. Customization
You can use the code in section 2.2 below to programmatically update the configuration of the EON Tuner.2.1 Enable advanced EON Tuner mode (optional)
In basic mode (the default) you will be able to modify thedatasetCategory
, targetLatency
and targetDevice
. For additional control, ask your User Success or Solutions Engineer to enable the EON Tuner advanced mode for you.
2.2 Update the EON Tuner configuration
2.3 Start the EON Tuner
Run the cell below to start spinning up EON Tuner optimization jobs. If your project is already running an EON Tuner optimization, go instead to section 2.4 to track the job’s progress.2.4 Track the EON Tuner optimization progress
Run the cell below to track the progress of your EON Tuner job. You can safely stop and restart the cell at any time since this will not affect the running EON Tuner jobs.2.5 Get the EON Tuner optimization results
Use the cell below to retrieve the EON Tuner optimization results and save them to thetrials
variable.