Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Train ResNet18 on Tiny ImageNet dataset (download from-http://cs231n.stanford.edu/tiny-imagenet-200.zip) with Adam as the optimizer for classification task. Plot curves for training loss, training accuracy, validation accuracy

Train ResNet18 on Tiny ImageNet dataset (download from-http://cs231n.stanford.edu/tiny-imagenet-200.zip) with Adam as the optimizer for classification task. Plot curves for training loss, training accuracy, validation accuracy and report the final test accuracy. Here consider accuracy as top-5 accuracy. 1. Use CrossEntropy as the final classification loss function [10 marks] 2. Use Triplet Loss with hard mining as the final classification loss function [30 marks] 3. Use Central Loss as the final classification loss function [40 marks] Compare the performance of different models and analyze the results in the report.

Note - The code for ResNet18 architecture and the loss functions needs to be implemented from scratch. Directly importing from the library is not allowed and 0 marks will be awarded for that

Python code, that can be implemented in colab

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems Design Implementation And Management

Authors: Peter Robb,Carlos Coronel

5th Edition

061906269X, 9780619062699

More Books

Students also viewed these Databases questions

Question

Choose natural conversational words

Answered: 1 week ago

Question

Why is the System Build Process an iterative process?

Answered: 1 week ago