Let's get started
To make this as easy to follow as possible, I'm going for the step-by-step format so you can follow along as you're trying this yourself. Before digging in, however, it might be a good idea to set up an account at platform.peltarion.com so you can dive right in when we get to that part.
Step 1: Finding the dataset
Through a very sophisticated Google search containing the phrase “Bark dataset” we find what we need. The first hit works. Download this data to your computer so you have it ready to upload.
Step 2: Retrieving the dataset
Copy the url to the zip file containing the dataset.
Step 3: Import the dataset into the Peltarion platform
Extra points to all those who have already created your account! For everyone else, you can find the platform here to set up your account. You'll be able to train the model with the GPUs you have in the community version of the platform. Create a project and use “Import data from URL…”, Paste the url from step 2. Click the arrow to start importing the dataset. Click done when it’s imported.
Step 4: Resize images
Modify the data category (the images), set width and height to 240. This will resize the images into something that is easier to build models for.
Step 5: Click 'Save version'
...And wait for it to finish.
Step 6: Start the experiment
Click 'Use in new experiment' (this button appears once the dataset has been saved). This is when the amazing experiment wizard appears! Click Next. Set target feature to category_1 (unfortunately anonymized). The recommended snippet is probably fine. Click Next.
Step 7: Using transfer learning
To use transfer learning, I followed how-to-use-pretrained-snippets (Step 7-10 is basically that guide condensed). Uncheck the Weights trainable checkbox. Click Next.
Step 8: Designing the network
Design the network so that it looks like in the picture below. Add a Dense block to the canvas by clicking in the block list to the right. Connect it to the yellow snippet block in the canvas (Click on the top red circle of the Dense block and drag to the yellow circle of the snippet block. Click on the line to the other dense block from the snippet block. Press the delete button (backspace on Mac). Connect the bottom red circle of the new Dense block to the top of the old Dense block. Click Settings, set Epochs to 1 instead of 10. Click 'Run'.