Skip to content

gamzekecibas/udacity-nd-deep-learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

udacity-nd-deep-learning

Project & practices from Udacity Deep Learning Nanodegree

A NeuralNetwork function is created to build the model. The function is in my_answers.py. In the method, there are fundamental layers of feedword and backward passes. End of hidden layers, weights are updated using derivatives of error that is equal to difference between actual value and prediction. Activation function of each layer is sigmoid. Hyperparameters of the trained model are:
* epochs = 4800
* learning rate = 0.35
* hidden nodes = 20
* # output = 1
Trained model can make predictions as below:

The model is run on GPU.

Convolutional Neural Network (CNN) is studied using landmarks-dataset. It may be specialized for the project because it includes data augmentation process. Samples from after data loader:

The CNN is built by three Conv2d layers, MaxPool2d, two fully connected layers, view (flatten layer) & batch_norm2d and batch_norm1d. Activation function is selected as leaky ReLU with -0.2 slope.
Dropout is preferred as regularizer with 0.3 probability.
Stochastic Gradient Descent (SGD) is used as optimizer where learning rate is 1e-2.
Loss is calculated by cross entropy.
Initially, epochs is equal to 20, however it is too low to predict successfully. Therefore, epochs is adjusted as 100.

You can check porject report for detais...

About

Project & practices from Udacity Deep Learning Nanodegree programhttps://www.udacity.com/course/deep-learning-nanodegree--nd101

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published