Load and Pre-process Data
Last updated
Was this helpful?
Last updated
Was this helpful?
This topic describes how to load data into PerceptiLabs, pre-process it, and get to a working model:
The first step towards creating a model in PerceptiLabs is to specify the model type:
Follow the steps below to specify a model type:
1. Click Create Project on the screen to display the Load dataset popup:
2. Choose one of the follow model types:
a. Image Classification: You get to choose a top-level directory, where each sub-directory represents a class of images.
b. Segment Images: You get to choose two directories, one containing images and one containing masks.
c. Multi-Modal: For non-image classification/segmentation projects. Here, it's assumed that the data files live in the relative path(s) specified in the CSV file.
You can choose to:
This is a good choice for getting a model up and running quickly using existing, publicly-available data. Scroll to a public dataset, hover your mouse over it, and click Load:
PerceptiLabs will load your public dataset, allowing you to create models from it. Wait for the dataset to complete loading, and then click Create to create your first model:
Click Browse, select the top-level directory containing your sub directories of images, and click Next:
Click Browse for both of the folder selections to specify the directories for the images and masks respectively, and then click Next to continue:
Click Browse, select the CSV to upload, and click Next:
After you have imported a dataset, you must the define your data settings:
2. (Optional) Click on the pre-processing button in the column heading to configure data pre-processing settings:
This allows you to define any pre-processing steps that PerceptiLabs should perform on your data (e.g., resizing images):
After configuring your pre-processing settings, click Save to return to the Data Wizard.
Depending on your selection, PerceptiLabs will automatically customize the if you . If you , you'll be able to perform the following:
Ensure you have a file and the data it references, all on your local machine. Click Local at the top of the Data Wizard and click Upload .CSV :
Tip: Our also has a number of curated datasets and CSV files that you can download and import to get you to a working model faster.
Depending on which model type you selected in , you will be provided with different options:
1. Define your Data Settings so that the are on the correct columns:
For a list and description of each pre-processing setting, see the reference guide.
3. Click Create. PerceptiLabs will generate a model and navigate you to the .
Note: Upon completing the Data Wizard, PerceptiLabs will create a directory with the model.json file on disk, and the model will be listed on the screen. Any time you save the model, PerceptiLabs will update the model's model.json file.
Congratulations on having created your first project and model in PerceptiLabs! Make sure you read to learn how to work with the model.