Skip To Content

Create samples for deep learning training

Available with Image Server

Training samples are used to derive image chips to train deep learning models in Deep Learning Studio. Image chips are small images containing the feature or object of interest used to train the deep learning model.

Collect training samples

Create training samples by completing the Prepare training data step. When you select the Prepare training data step, you must configure the project for collecting samples.

    After selecting the option to prepare training, the configure project wizard appears and guides you through the process. Once you have created the project, follow the steps below to configure the project for training.
  1. Select the Deep Learning Studio project and open it.
  2. On the step choice page, select Prepare training data to start the process of collecting training samples.
    Tip:

    A prompt to configure the project for preparing training data appears if it has not been configured previously.

  3. In the prompt, click Yes to configure the project as instructed in the Configure the project for training section of the Work with Deep Learning Studio projects topic.
  4. The Prepare training data landing page appears with all available substeps to complete the training sample preparation process.
  5. Click the Collect training samples substep.
  6. Use the collection tools to select all of the training samples in the selected work unit.

    There are keyboard shortcuts to make the collection efficient.

    Show list of shortcuts

    Alt + ?

    Map Tool

    Rectangle

    r

    Circle

    c

    Polygon

    p

    Polygon from lasso

    i

    Circle from point and buffer

    o

    Polygon from line and buffer

    n

    Select

    s

    Layers

    l

    Basemap

    b

    Filter

    f

    Map Navigation

    Home

    Alt + h

    Zoom in

    +

    Zoom out

    -

    Pan

    Arrow keys

    Toggle the crosshair cursor

    m

    Tip:

    All keyboard shortcuts are for Windows users. For Mac users, substitute Option key for Alt.

  7. Click Complete or Complete and next to collect the next work unit.
  8. Once the work unit is marked as complete, it cannot be selected in the Collect training samples substep. Once the work unit is ready for review, mark it as complete to change the status to pending review.

    Caution:

    If the work unit was marked as complete incorrectly, it must be set to Queued in the Review training samples substep in order to be available again.

Review training samples

Once the work unit is marked as complete, it is available for review. All the training samples must be reviewed in order to proceed to the next step.

  1. Click the Review training samples substep to start reviewing the samples in the next work unit that is pending review open.

    The Prepare training data landing page allows you to see the status of the work units and samples to review the progress of the project. The graphics change colors based on the status and update as the work units are reviewed.

    Note:

    A work unit can only be reviewed when the collector has marked that work unit as complete.

    Note:

    To get information about a work unit, click the map or the entry in the table for specific information about that work unit.

    The work unit opens with all of the collected samples listed.

  2. Click individual training samples in the Training samples list to review them.

    When a sample is selected, the Approve selected and Reject selected options appear on the dialog box.

  3. To zoom in to the highlighted training sample, select the Visit mode option. The map zooms and pans the map to the highlighted training sample.
    Tip:

    More than one sample can be selected and approved without reviewing each individual sample. You can also approve or reject all of the samples in one step by choosing either the Approval all pending or Reject all pending option. By choosing an option, the selected work units, and training samples within each, will be processed.

    Keyboard shortcuts for reviewing training samples

    Approve selected

    Alt + a

    Reject selected

    Alt + r

    Complete

    Alt + c

    Complete and next

    Alt + n

    Once all of the training samples have been approved or rejected, a message appears indicating they have all been reviewed.

  4. Mark the work unit as Completed.

    The substep returns to the Prepare training data landing page.

Updating work unit properties (Optional)

If you need to update work unit properties manually, there are tools within Prepare training data landing page. You can filter and select specific work units to update efficiently.

  1. Click the drop-down under the Show section to use a predefined filter to find specific work units.
  2. Optionally, you can also create a custom filter to select from the work units. Click the Filter button to open the Filter open dialog box.
    1. Enable one or more of the four options to filter the work units and set the filtering criteria.
      Tip:

      You can select any combination of filter options to select the desired work units. You will see the number of selected work units in parentheses next to the filter option.

    The work units that meet the filter criteria will be shown on the map or table in the left panel.

  3. If you want to manually update the properties of the selected work units, then you can select one or more work units on the map or table and update them.

  4. Select the work unit(s) to be updated and the properties that can be updated will appear on the left panel.

    You can update all of the selected work units in one step rather than review them individually. This process allows you to alter the status of many work units at once.

    1. Choose which property to alter from the available options.
    2. Edit the property in the panel.

      Edits made to the properties will be automatically saved.

  5. Click the Clear selection button to see the main left panel.

Manage image chips

After the training samples have been reviewed and approved, the last step is to export the image chips that will be used to train the model.

  1. Click Manage image chips when the project has enough approved training samples.
  2. Click the Export button to start the process of exporting the image chips based on the training samples.
  3. The options for the process are available to indicate where the image chips will be exported, as well as additional configuration options about the image chips to be created.
  4. Optionally, adjust the configuration options and click Export.
  5. The progress of the image chip creation appears in the substep and an entry appears indicating information about the image chips with visual previews of them.

Once the image chips are created, the next step is to train the deep learning model, which will be completed in the Train model substep.

Complete workflow

By following this workflow, you can create the training samples and the image chips for deep learning model training in a complete end-to-end workflow. There are several optional substeps available for use in the project. The additional substeps are provided to allow modification of existing projects as the analysis is conducted. The following are the three required substeps:

  • Collect training samples
  • Review training samples
  • Manage image chips

When the image chips are created, they are available for the deep learning training process in the Train model step. If the trained model does not meet the expectations for the analysis, this substep can be revisited. You can modify or collect additional training samples and create image chips to use in the next model training process.