Generating Various Deep Dream Images Through Maximizing the Loss Function of Particular Layers Using Inception-v3 and Inception-ResNet-V2 Models

Authors

  • Lafta R. Al-Khazraji Department of Computer Science, University of Technology, Baghdad, Iraq / General Directorate of Education of Salahuddin Governorate, Iraq https://orcid.org/0000-0002-6246-1174
  • Ayad R. Abbas Department of Computer Science, University of Technology, Baghdad, Iraq https://orcid.org/0000-0002-9797-421X
  • Abeer S. Jamil Department of Computer Technology Engineering, Al-Mansour University College, Baghdad, Iraq

DOI:

https://doi.org/10.24996/ijs.2024.65.6.39

Keywords:

Deep dream, Inception-v3, Inception-ResNet-V2, gradient ascent, Convolutional neural network (CNN)

Abstract

     Recently, Deep Learning (DL) has been used in a new technology known as the Deep Dream (DD) to produce images that resemble dreams. It is utilized to mimic hallucinations that drug users or people with schizophrenia experience. Additionally, DD is sometimes incorporated into the images as decoration. This study produces DD images using two deep-CNN model architectures (Inception-ResNet-V2 and Inception-v3). It starts by choosing particular layers in each model (from both lower and upper layers) to maximize their activation function, then detect several iterations. In each iteration, the gradient is computed and then used to compute loss and present the resulting images. Finally, the total loss is presented, and the final deep dream image is visualized. The output of the two models is different, and even for the same model there are some variations, the lower layers' loss values in the Inception-v3 model are significantly higher in comparison to the upper levels' values. In the case of Inception-ResNet-V2, the loss values are convergent.

Downloads

Published

2024-06-30

Issue

Section

Computer Science

How to Cite

Generating Various Deep Dream Images Through Maximizing the Loss Function of Particular Layers Using Inception-v3 and Inception-ResNet-V2 Models. (2024). Iraqi Journal of Science, 65(6), 3468-3483. https://doi.org/10.24996/ijs.2024.65.6.39

Similar Articles

11-20 of 353

You may also start an advanced similarity search for this article.