In this article, we will show you step by step how to upload the files you will use to train your model.
Prepare the files you will use beforehand. OSAI accepts both .jpg and .png formats. You can select images one at a time from the system location, or you can add folders and .zip directories in bulk.
To show you how the upload feature works, we will use "Toys" - one of our free to use public datasets. This is the perfect dummy data for you to learn how to work with our application. Download it here.
Ready to learn? Let's get started!
Create the data directory
Before adding files, you need to create a directory where you will store and manage the images. To do this, click on the
Datasets tab in the left hand menu.
To upload files, click
Add new dataset.
Enter a name and then confirm by clicking
Keep in mind: The dataset name must be unique, with a minimum of 3 and a maximum of 50 characters. When creating a dataset name, use only letters from the Latin alphabet, numbers and hyphens.
Once the dataset is added, you can manage it from the management view. At the bottom of the screen, there are 4 options for uploading. In this example, to add new files first use the
Add directory option. This will upload an entire directory containing the files you need.
When you click
Add Directory, a system window will open. Find the folder you want to use and select it. Then click
Some browsers (usually Microsoft Edge) may ask for additional permission to upload multiple files. Agree by clicking the
Upload button next to the message.
Once the request has been processed, you will see a preview of the images being added to the database. If everything checks out, click
Upload again in the bottom right corner.
OneStepAI has some limitations on the size of uploaded images, so you need to decide what should happen to images outside the resolution range. In the case of this tutorial, it does not matter, choose
Keep in mind: The screen will now show only a preview of the uploaded images. You must click
Uploadagain at the bottom of the screen or your files will not be added to the database.
Now, the actual upload will start. You can go and do something else in the app, but it is necessary to keep the tab open. When the upload is complete, you will see a notification at the top of the screen. Clicking on it will redirect you to the dataset management screen.
Keep in mind: Do not close the OSAI page while uploading. Doing so will interrupt and terminate the upload process.
Here you can go through the dataset preview and check if anything is missing. If more images are needed, you can always upload additional files using the
Add more images button.
Adding a .zip
Add directory is not the only way to add multiple files at once. One Step AI also accepts zip files, added using the
Add Zip button.
Clicking on the button will open a system window. Select the .zip file and click
The next steps are similar to adding a folder. When you see a preview of your files, do not forget to click
Upload at the bottom of the screen. Otherwise your files will not be added to our database.