Build a CNN model that classifies the given pet images

Assignment Help Python Programming
Reference no: EM132506590

Pet Classification Model Using CNN.

DESCRIPTION

Build a CNN model that classifies the given pet images correctly into dog and cat images.

The project scope document specifies the requirements for the project "Pet Classification Model Using CNN." Apart from specifying the functional and nonfunctional requirements for the project, it also serves as an input for project scoping.

Project Description and Scope

You are provided with the following resources that can be used as inputs for your model:
1. A collection of images of pets, that is, cats and dogs. These images are of
different sizes with varied lighting conditions. 2. Code template containing the following code blocks:
a. Import modules (part 1) b. Set hyper parameters (part 2) c. Read image data set (part 3) d. Run TensorFlow model (part 4)
You are expected to write the code for CNN image classification model (between Parts 3 and 4) using TensorFlow that trains on the data and calculates the accuracy score on the test data.

Project Guidelines
Begin by extracting ipynb file and the data in the same folder. The CNN model (cnn_model_fn) should have the following layers:
• Input layer
• Convolutional layer 1 with 32 filters of kernel size[5,5]
• Pooling layer 1 with pool size[2,2] and stride 2
• Convolutional layer 2 with 64 filters of kernel size[5,5]
• Pooling layer 2 with pool size[2,2] and stride 2
• Dense layer whose output size is fixed in the hyper parameter: fc_size=32
• Dropout layer with dropout probability 0.4
Predict the class by doing a softmax on the output of the dropout layers.
• For the training step, define the loss function and minimize it
• For the evaluation step, calculate the accuracy
Run the program for 100, 200, and 300 iterations, respectively. Follow this by a report on the final accuracy and loss on the evaluation data.

Attachment:- Project - Pet Classification Model.rar

Reference no: EM132506590

Questions Cloud

Determine amount to be shown within non-current liabilities : The annual payment was RM10,975 in arrears. Determine the amount to be shown within non-current liabilities at 31 October 20x3.
BMO6630 Business Research Methods Assignment : BMO6630 Business Research Methods Assignment Help and Solution - Victoria University - Assessment Writing Service - Article Collection & Structured Abstract
Discuss few best-selling and award winning author techniques : Discuss a few best-selling and award winning author techniques that align with your own approaches to writing from the Sampson et al. (2016) article.
What would be the significance of such a characteristic : Suppose nominal wages never changed. What would be the significance of such a characteristic?
Build a CNN model that classifies the given pet images : Build a CNN model that classifies the given pet images correctly into dog and cat images - write the code for CNN image classification model
Estimate targets return on invested capital or roic : Estimate Target's return on invested capital or ROIC. For the fiscal year ending January 31, 2012, Target's EBIT was $5,322 and its tax rate was 34.3 percent.
Estimate the markets expected growth in dividends : Assume that the current dividend per share is $1.52 and is expected to grow thereafter, and that the cost of equity capital is 8.0%
What are outsourcing and sweatshop labor : How do global wealth inequality and global poverty compare to wealth inequality and poverty in the U.S.?
Difference between three interest rates : List and explain the difference between these three interest rates:

Reviews

Write a Review

Python Programming Questions & Answers

  Calculate the average of the test scores and assign a letter

Write a program called StudentGrades using lists and loops to ask for student name and 3 test scores. Calculate the average of the test scores and assign letter

  Ask the user to input from the keyboard a positive non-zero

ITI1120D-Ask the user to input from the keyboard a positive non-zero number. You are to validate that the input is indeed as expected.

  Write new python program that contains a main function

Start with a comment that includes your name and course number. Include pseudocode that describes all steps required to solve the problem.

  Write a program that asks for the user age

Write a program that asks for the user's age. Based on their response print "You can vote" (18 years old or older) or "You can't vote" and also whether or not he/she is a senior citizen (over 64)

  Create a new matrix whose rows are the columns

Your task now is to construct a Python function called transpose which expects one argument: a two-dimensional table representing a matrix.

  We would like to implement the lexical order

We would like to implement the lexical order for lists. For simplicity, we only consider lists of numbers, where , >= have their usual meaning.

  Describe the original data for the city you are observing

Describe the original data for the city you are observing. Regression Analysis Hypothesis testing. Explain the hypothesis and the result by graph.

  Why is software configuration management

Why is software configuration management considered an umbrella activity in software engineering?

  Results of the golf tournament played at the end of march

Write a program to gather, then display the results of the golf tournament played at the end of March. The Club president Mr. Martin has asked you to write two

  How is the survival chance related to the gender

How is the survival chance related to the gender? How is the survival chance related to age? How is the survival chance related to socio-economic status?

  Write a program that asks for the users age

Write a program that asks for the user's age. Based on their response print "You can vote" (18 years old or older) or "You can't vote" and also whether or not he/she is a senior citizen (over 64). If senior citizen print "You're a Senior Citizen.

  Design and implementation of your demonstration system

ICT705 - Data and System Integration - University of the Sunshine Coast - write a report explaining the theory underlining the key concepts around the design

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd