Question: This assignment is the machine learning project for classifying images. You will have to train a machine learning model to predict the 2 0 possible
This assignment is the machine learning project for classifying images. You will have to train a machine learning model to predict the possible classes of images. The
training set contains these labels along with the number of images in each class:
Class ID Class Name Count
book
bottle
car
cat
chair
computermouse
cup
dog
flower
fork
glass
glasses
headphones
knife
laptop
pen
plate
shoes
spoon
tree A subset of the images collected in Assignment Exercise images is provided for training
download the remaining images serve as hidden test set.
Note that the images have been validated and thus have numbered file names, where the labels are
stored separately in the accompanying labels.csv file. Furthermore, the images have been resized
to pixels either width or height, depending on the aspect ratio In addition to the challenge server submission, you must also upload all of your project files to
Moodle. This will be used to check for plagiarism and to verify that your model corresponds to the
uploaded submissions.
Create a ZIP archive that includes all project files, ie the entire source code, all configuration files
and all documentation files. The filename of the ZIP archive can be arbitrary. You do not have
to include the training data itself, however any scripts that augment the training data need to of
course be included so that we can exactly replicate your result.
General Project Hints:
Divide the project into subtasks and check your program regularly.
Decide which samples you want to use in your training, validation or test sets.
Check the units on data loading, neural network inference and training and the respective
code files and decide which elements are useful for your implementation.
Implement the computation of the loss between NN output and target see code files of
Unit
Implement the NN training loop see code files of Unit
Implement the evaluation of the model performance on a validation set see code files of
Unit
You can have a look at the example project in the code files of Unit This is not a classification
project, but you can still check whether you can use parts of the code as well.
Set a random number seed in order to obtain reproducible results.
Do not use transfer learning, you should create a model from scratch. You can of course
research published models, but do not copy :
You only have attempts to submit predictions, so it will be important for you to use some
samples for a validation set and maybe another test set to get an estimate for the generalization
of your model.
You do not need to reinvent the wheel. Most of this project can be solved by reusing parts of
the code materials and assignments from this semester.
When uploading to the challenge server, you might not immediately see a result due to the
servers task scheduling. Please be patient and check back later. This also means that you
should try to upload your model in due time to avoid having no immediate feedback when the
assignment deadline approaches.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
