<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Oktay UĞURLU on Medium]]></title>
        <description><![CDATA[Stories by Oktay UĞURLU on Medium]]></description>
        <link>https://medium.com/@oktay-ugurlu98?source=rss-32548df1f066------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*2QCVgk70Gx4-bL0W.jpg</url>
            <title>Stories by Oktay UĞURLU on Medium</title>
            <link>https://medium.com/@oktay-ugurlu98?source=rss-32548df1f066------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 14:14:01 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@oktay-ugurlu98/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Week 7 — Image Transformation According to Art Style]]></title>
            <link>https://medium.com/bbm406-spring-2021-projects/week-7-image-transformation-according-to-art-style-5a69947746c0?source=rss-32548df1f066------2</link>
            <guid isPermaLink="false">https://medium.com/p/5a69947746c0</guid>
            <dc:creator><![CDATA[Oktay UĞURLU]]></dc:creator>
            <pubDate>Sun, 30 May 2021 18:47:04 GMT</pubDate>
            <atom:updated>2021-05-31T06:00:16.353Z</atom:updated>
            <content:encoded><![CDATA[<h3>Week 7 — Image Transformation According to Art Style</h3><p>Hi everyone! Last week, we have talked about the results of our style-based clustering and object-based clustering methods. Today, we are going to talk about our final phase of the project.</p><p>After running the model on different clusters, we run the model on different clusters. But, some of the clusters didn’t give accurate results. Object-based clusters haven’t good results. So, we focused on style-based clustered images.</p><h3><strong>Evaluation</strong></h3><p>In the <a href="https://arxiv.org/pdf/1802.03446.pdf">Pros and Cons of the GAN Evaluation Measures</a> paper, 24 different evaluation methods are mentioned. These are separated into 2 different quantitative and qualitative subtitles. According to the quantitative, results are evaluated by more objective methods based on numerical scores. Some of the methods include pre-trained models to classify generated results like Inception Score and Frechet Inception Distance. However, we can’t use these methods because they classify more object-based results.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*BEh9KKPCUF2yLYFe.png" /><figcaption>Quantitative GAN Generator Evaluation Methods, <a href="https://arxiv.org/pdf/1802.03446.pdf">https://arxiv.org/pdf/1802.03446.pdf</a></figcaption></figure><p>Qualitative evaluation metrics are mostly human-based evaluation techniques. Preference Judgement is one of these techniques. According to these techniques, results are mostly evaluated by a participation group. But here, the participants should have the necessary information about the transformed domain. And, we firstly worked on more participants in our close friends. However, after our lecturer’s feedback, we noticed that more domain expert people should take place in the participant group. So, we prepare one extra user story after that.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*LaYXQq2g7Q55e90j.png" /><figcaption>Qualitative GAN Generator Evaluation Methods, <a href="https://arxiv.org/pdf/1802.03446.pdf">https://arxiv.org/pdf/1802.03446.pdf</a></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ymW8BCTOR38biOBx5bYFOQ.png" /><figcaption>Results of Preference Judgement for 5 Image</figcaption></figure><p>We use 10 different Van Gogh style transformed image to ask 6 art expert from art department students. We asked them “Does these images look like one of Van Gogh’s styles?”. According to their rates, the model trained over the style-cluster 1 dataset gave better results. If you remember from last week, we got 3 different style based clusters and cluster 1 gave us more the first thing coming to mind when Van Gogh’s art is considered. Let’s we talked about our model’s strengths and weaknesses.</p><h3>Strengths</h3><ul><li>If the artist’s paintings contain many pictures and have different styles, we divide the data set into clusters to obtain better-styled pictures.</li><li>When the artworks are divided into clusters, we can get better results on the specific paintings of an artist.</li><li>While the number of artist’s artworks is high, our model saves time.</li></ul><h3><strong>Weaknesses</strong></h3><ul><li>Our model cannot be trained very much with a small dataset.</li><li>If the artist’s artworks have a few numbers, of images, our model cannot be trained very efficiently.</li><li>If the artist has only one style, clustering cannot be done.</li><li>If the artist has too many styles, the dataset is divided into too many clusters.</li></ul><h3>Future Works</h3><p>If we consider how our model can be improved and what high-level methods can be used:</p><ul><li>Graph-Based Representativity Learning methods can be used to choose the presentative paintings.</li><li>We can try to extract style-based features with more complex feature extraction methods. For example, RestNet50.</li><li>We can examine the effects of clustered train sets on other generative models such as GAN, cGAN wGAN.</li></ul><p><strong>Contributors:</strong></p><ul><li><a href="https://medium.com/@oktay.ugurlu98">Oktay Uğurlu</a></li><li><a href="https://medium.com/@ahmetdenizguner">Ahmet Deniz Güner</a></li><li><a href="https://medium.com/@koray.kara98.kk">Koray Kara</a></li></ul><p><strong>References:</strong></p><ul><li><a href="https://arxiv.org/pdf/1802.03446.pdf">https://arxiv.org/pdf/1508.06576.pdf</a>, Pros and Cons of GAN Evaluation Measures</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5a69947746c0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/bbm406-spring-2021-projects/week-7-image-transformation-according-to-art-style-5a69947746c0">Week 7 — Image Transformation According to Art Style</a> was originally published in <a href="https://medium.com/bbm406-spring-2021-projects">BBM406 Spring 2021 Projects</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 6 — Image  Transformation According to Art Style]]></title>
            <link>https://medium.com/bbm406-spring-2021-projects/week-6-image-transformation-according-to-art-style-79bbcc368b6f?source=rss-32548df1f066------2</link>
            <guid isPermaLink="false">https://medium.com/p/79bbcc368b6f</guid>
            <dc:creator><![CDATA[Oktay UĞURLU]]></dc:creator>
            <pubDate>Mon, 24 May 2021 19:58:13 GMT</pubDate>
            <atom:updated>2021-05-26T10:32:28.581Z</atom:updated>
            <content:encoded><![CDATA[<h3>Week 6 — Image Transformation According to Art Style</h3><p>Hi everyone! Last week, we have talked about our clustering results after applying the clustering on extracted features from the VGG19. Today, we will talk about more feature extraction methods that we have applied.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/707/1*oKSdiejYgPXqxEp_cRSpMw.png" /><figcaption><a href="https://www.researchgate.net/publication/336545230_An_Improved_Style_Transfer_Algorithm_Using_Feedforward_Neural_Network_for_Real-Time_Image_Conversion">https://www.researchgate.net/publication/336545230_An_Improved_Style_Transfer_Algorithm_Using_Feedforward_Neural_Network_for_Real-Time_Image_Conversion</a></figcaption></figure><p>After applying the clustering on activation values extracted from the last layer activation functions, we have only got the object-based clustering method. When we research to find the best methodology to find style-based features of the artworks, we found a method which is proposed by A Neural Algorithm of Artistic Style paper. According to the paper, we can use the top layers of the VGG19 to extract texture information which composes style-based information. These layers are Conv1_1, Conv2_1, Conv3_1, Conv4_1, and Conv4_1. You can see these layer below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*44kqjgbeK0XLjxxb.png" /><figcaption>VGG19 architecture</figcaption></figure><p>After extract the activation values of these layers, these features need to extra pre-processing step to get rid of object structure and positioning information which is called Gram-Matrix. The Gram-Matrix method is applied according to the given formula:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/341/1*JkjnMuYCelHSUS07DSgJ1A.png" /><figcaption>Gram Matrix Formula</figcaption></figure><p>In the proposed model, these features are used directly in style transformation as an image processing operation. In the selective clustering paper, these features are used in the Robust Continuous Clustering algorithm to find the artist’s artworks that mainly contain his/her style. We have inspired this solution to separate the artist’s works into different sub-styles, and After this feature extraction step, we have composed all 5 feature vector and create one vector to use in the K-means clustering. When we applied this methodology to Van Gogh artworks, we got good results on 3 number clusters. You can see 2 different clustering sets below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E0Lb9tahrpCUnO45y8fNOA.png" /><figcaption>Example of a cluster which contains more sketch artworks of Van Gogh</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-uiLBMbXCb3JTXtJRhQo3g.png" /><figcaption>This cluster more includes Van-Gogh style</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EphcJZ9SoBtGAkfEzLVwcg.png" /><figcaption>This also contains more cold and dark coloured artworks</figcaption></figure><p>We will apply style-based clustering. Our final step is to run the cycle-gan method on different clusters which is generated by object-based and style-based clustering methods and evaluating the final results. See you next week!</p><p><strong>Contributors:</strong></p><ul><li><a href="https://medium.com/@oktay.ugurlu98">Oktay Uğurlu</a></li><li><a href="https://medium.com/@ahmetdenizguner">Ahmet Deniz Güner</a></li><li><a href="https://medium.com/@koray.kara98.kk">Koray Kara</a></li></ul><p><strong>References:</strong></p><ul><li><a href="https://arxiv.org/pdf/1508.06576.pdf">https://arxiv.org/pdf/1508.06576.pdf</a>, A Neural Algorithm of Artistic Style</li><li><a href="https://kops.uni-konstanz.de/bitstream/handle/123456789/45588/Deng_2-o7wcklpfg6zr4.pdf?sequence=1">https://kops.uni-konstanz.de/bitstream/handle/123456789/45588/Deng_2-o7wcklpfg6zr4.pdf?sequence=1</a>, Selective clustering for representative paintings selection</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=79bbcc368b6f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/bbm406-spring-2021-projects/week-6-image-transformation-according-to-art-style-79bbcc368b6f">Week 6 — Image  Transformation According to Art Style</a> was originally published in <a href="https://medium.com/bbm406-spring-2021-projects">BBM406 Spring 2021 Projects</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 5 — Image Transformation According to Art Style]]></title>
            <link>https://medium.com/bbm406-spring-2021-projects/week-5-image-transformation-according-to-art-style-94098faa3337?source=rss-32548df1f066------2</link>
            <guid isPermaLink="false">https://medium.com/p/94098faa3337</guid>
            <dc:creator><![CDATA[Oktay UĞURLU]]></dc:creator>
            <pubDate>Mon, 17 May 2021 00:13:58 GMT</pubDate>
            <atom:updated>2021-05-17T06:19:02.215Z</atom:updated>
            <content:encoded><![CDATA[<h3>Week 5 — Image Transformation According to Art Style</h3><p>Hi! Last time, we talked about clustering and artist’s arts from the dataset to generate more styled images.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/660/1*rab0WYC9m91G-Dt08NX-fw.jpeg" /></figure><p>The K-means is an unsupervised learning algorithm that is a clustering algorithm. The K-means first randomly choose k points for the k cluster. After, the algorithm tries to fit these points centre of each cluster as centroid points until the repositioning is stopped. Finally, the points are assigned to the clusters according to their position.</p><p>The number of clusters can be evaluated by the Elbow method. According to the Elbow method, the sum of squares are calculated for each number of cluster. The squares of the difference between the centroid and each point belong to the centroid of the clusters are summed. When this summation is changed distinctively, the best cluster number is chosen which seems on this change.</p><p>We have run the K-means algorithm on directly extracted features from Monet’s arts. But the results didn’t get as expected. Because style based clustering is more complicated than a basic clustering process, we needed to extract some more features from each image.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/340/1*FhRgUBtpnQhJLLZeUznxKA.png" /><figcaption>K-means on pure features</figcaption></figure><p>When we applied the Elbow method to see an optimum cluster, the elbow seems on the 2 clusters, so it means that the algorithm only clusters 2 styles optimally. Therefore, when we look at the number of images for each cluster, we saw that the images are almost clustered randomly. The numbers are equal and the centre points are closed to each other. So, we decided to increase features using some feature extracting technics.</p><p>We have used VGG16 with ImageNET to preprocess images. The VGG16 model is a CNN based deep learning model which is used pre-trained weights on the ImageNet dataset. The processes in between the input layer and max-pooling layer take the role of feature extracting. After feature extraction, we got more fine clustered images whose styles looks the same as each other.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/436/1*MvtHv-nwb-ceuwNNuihATQ.png" /><figcaption>Elbow method for VGG16 feature extraction</figcaption></figure><p>According to the Elbow method, the optimum clustering seems as 4 clusters. After applying the K-means with 4 clusters, the number of images distributes more meaningful. You can see some clustered images for the same cluster below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/652/1*OXd3zzSrrYoRdXUj89n69g.png" /><figcaption>Same clustered images after K-means</figcaption></figure><p>Today, we have talked about how did we use K-means on the art dataset for clustering styles. Our aim for next week is to improve the accuracy of our image style transformation algorithm by using the accurate algorithm that we have implemented. In order to implement this algorithm, we have used K-means and the VGG16 model. We will also use this algorithm to cluster same looking styled arts.</p><p><strong>Contributors:</strong></p><ul><li><a href="https://medium.com/@oktay.ugurlu98">Oktay Uğurlu</a></li><li><a href="https://medium.com/@ahmetdenizguner">Ahmet Deniz Güner</a></li><li><a href="https://medium.com/@koray.kara98.kk">Koray Kara</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZjPC-8BsJsxjAAoJxrcUUQ.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=94098faa3337" width="1" height="1" alt=""><hr><p><a href="https://medium.com/bbm406-spring-2021-projects/week-5-image-transformation-according-to-art-style-94098faa3337">Week 5 — Image Transformation According to Art Style</a> was originally published in <a href="https://medium.com/bbm406-spring-2021-projects">BBM406 Spring 2021 Projects</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 4 — Image Transformation according to Art Style]]></title>
            <link>https://medium.com/bbm406-spring-2021-projects/week-4-image-transformation-according-to-art-style-37ee4df6bdf?source=rss-32548df1f066------2</link>
            <guid isPermaLink="false">https://medium.com/p/37ee4df6bdf</guid>
            <dc:creator><![CDATA[Oktay UĞURLU]]></dc:creator>
            <pubDate>Mon, 10 May 2021 22:44:25 GMT</pubDate>
            <atom:updated>2021-05-12T09:40:20.915Z</atom:updated>
            <content:encoded><![CDATA[<h3>Week 4 — Image Transformation according to Art Style</h3><p>Hi! Last week, we have run CycleGAN first. Today, we are going to talk about selective clustering to improve our CycleGAN model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/706/0*UytlBkneDRL2aaui.png" /><figcaption>Generated Image-based Ukiyoe’s Arts</figcaption></figure><p>So far, we have worked on Cycle-GAN. We have tried our model with different artist. The model works properly for most of the artist’s arts. After that, our next aim is to add different solutions to improve the results of our model. We overthink this problem and decided to implement an outlier detection. We will use selective clustering as the outlier detection for our model. This clustering method takes the role to eliminate artist&#39;s outlier arts.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8PoWM4PLPrVtyi4l.png" /></figure><p>Selective classification (or rejection based classification) has been proved useful in many solutions to problems. With the help of deep learning techniques, we will extract content-style features from a pre-trained convolutional network for the paintings. By proposing a rejection mechanism under the Bayesian framework, we will focus on selecting style-oriented representative paintings of an artist, which is an interesting and challenging cultural heritage application. Two kinds of samples are rejected during the rejection based robust continuous clustering process. Representative paintings are selected during the selective clustering phase. Visual qualitative analysis on small painting set and large scale quantitative experiments on a subset. Also, we will research different clustering method if we fail in selective clustering. For example, we can try the oriented clustering method that object-based clustering method to style based method.</p><h3>Contributors:</h3><ul><li><a href="https://medium.com/@oktay.ugurlu98">Oktay Uğurlu</a></li><li><a href="https://medium.com/@ahmetdenizguner">Ahmet Deniz Güner</a></li><li><a href="https://medium.com/@koray.kara98.kk">Koray Kara</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*jL74QsyyVA1re2qPh_zN_g.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=37ee4df6bdf" width="1" height="1" alt=""><hr><p><a href="https://medium.com/bbm406-spring-2021-projects/week-4-image-transformation-according-to-art-style-37ee4df6bdf">Week 4 — Image Transformation according to Art Style</a> was originally published in <a href="https://medium.com/bbm406-spring-2021-projects">BBM406 Spring 2021 Projects</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 3 — Image Transformation according to Art Style]]></title>
            <link>https://medium.com/bbm406-spring-2021-projects/week-3-image-transformation-according-to-art-style-e7a933f6fbcc?source=rss-32548df1f066------2</link>
            <guid isPermaLink="false">https://medium.com/p/e7a933f6fbcc</guid>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[cyclegan]]></category>
            <dc:creator><![CDATA[Oktay UĞURLU]]></dc:creator>
            <pubDate>Sun, 02 May 2021 20:32:31 GMT</pubDate>
            <atom:updated>2021-05-03T05:24:40.921Z</atom:updated>
            <content:encoded><![CDATA[<h3>Week 3 — Image Transformation according to Art Style</h3><p>Hi everyone, we have done specific research and some implementation stages. In this article, we will talk about the basic features of the gan model, differences between gan and cycle-gan, and the basics of TensorFlow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/587/1*NZPY1yJ7yhIy5Nr-smykOg.png" /></figure><p><strong>What is the GAN?</strong></p><p>If you give the GAN model enough samples of the data you want to produce, you can have new samples produced with the same data type. If you give thousands of horse photos to the system, the system will learn what a horse should look like and will generate new horse photos or translate another photo to horse photos. There are 2 different artificial neural networks in GANs that conflict with each other. These are called Generator and Discriminator networks. While the generative network generates new data (images, models, etc.) that look like reality, the Distinctive network tries to distinguish between fake and real data. As these two neural networks clash with each other, the Distinctive network gradually begins to better distinguish between real and fake images. The producer network produces more realistic fake images. We can compare this scheme to the counterfeit and the police duo. As time goes on, the police are better at catching counterfeit coins to find counterfeiters. The counterfeiter starts producing more realistic counterfeit coins to beat the police.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*-NFpPqXg_YSD-9ex7Ei__g.png" /></figure><p><strong>Cycle-GAN</strong></p><p>The system first converts the picture to the desired content using 2 nested GANs and then converts it back to its original state. A loss is calculated to show how well the result fits into the new content and another loss that shows how similar it is to the original. Later, these losses are reduced. Thanks to this cycle, paintings that are very similar to the original form and that have achieved the desired transformation are produced. For example, by looping a horse -&gt; zebra -&gt; horse, one can find out what a horse would look like if it were a zebra. In this work, we use a pix2pix based cycle-gan model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*LHoNNBYFAl4-u6Yv2yixmQ.png" /></figure><p><strong>Implementing the Cycle-GAN</strong></p><p>Many frameworks can be used in the implementation of CycleGAN like Keras, Pytorch and Tensorflow. In our implementation part, we have used the Tensorflow framework because of easy to use.</p><p>For our first style transformation, we have imported Van Gogh datasets and real image datasets. The real images mostly include landscape images. Since we fed the discriminator model with these landscape images, the discriminator made a dedication with real images and Van Gogh images. So, the discriminators give information to generate Van Gogh style on the learned real images.</p><p>We used random jittering and mirroring as image augmentation. The importance of image augmentation is, generate more train set and decrease the overfitting.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/338/1*Uo_gjaC1Aw4kWpV73-9OUA.png" /><figcaption>Applying random jitter on a landscape image</figcaption></figure><p>As a generator model, we have used a U-net generator. U-net is a special type of architecture for image segmentation purposes. That means the arrangement of deep learning tools resulted in image segmentation. By using UNet we can do image localisation by predicting the image pixel by pixel.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*wzkaOTK-9l-_pMupxRat6w.png" /><figcaption>Initializing the generators and discriminators for Cycle-GAN</figcaption></figure><p>We initialized 2 generators and 2 discriminators. The first pair is responsible for transforming a real photo into Van Gogh style paints, and the second pair is responsible for transforming Van Gogh images into real photos.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/520/1*F69WKiYPT8UAKblw4MVbjg.png" /><figcaption>Prediction part</figcaption></figure><p>After each generation and discrimination, we have used cycle consistency loss. The cycle consistency is calculated differences between real photo as input and transformation of generated Van Gogh images by using the input. After, we have used these loss values in the calculation of the gradient.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*wGUHEsfgCbYCuH6Ape3HhA.png" /><figcaption>Calculating the loss</figcaption></figure><p>We have used Adam optimizer as stochastic gradient descent. The Adam optimizer calculates the weights for the discriminator and generator with gradient values.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/552/1*5oc-vXgaxLEFnCyYuW_PsQ.png" /><figcaption>Adam Optimizer</figcaption></figure><p>On our first trying, we didn’t use human images as real photo. For his reason, while the model is transforming trees, buildings and skies very well, it isn’t successful to transform humans as much. In our purpose is to feed more real photo to helps the discriminator in the discrimination of real image and arts. See you next week!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*Ac_tCPECOcNPuFghmrGXhg.jpeg" /><figcaption>Transformation example after 39 epoch</figcaption></figure><p><strong>References:</strong></p><ul><li><a href="https://developers.google.com/machine-learning/gan/gan_structure">https://developers.google.com/machine-learning/gan/gan_structure</a><a href="https://www.tensorflow.org/tutorials/generative/cyclegan">https://www.tensorflow.org/tutorials/generative/cyclegan</a></li><li><a href="https://towardsdatascience.com/cyclegan-learning-to-translate-images-without-paired-training-data-5b4e93862c8d">https://towardsdatascience.com/cyclegan-learning-to-translate-images-without-paired-training-data-5b4e93862c8d</a></li><li><a href="https://www.tensorflow.org/tutorials/generative/cyclegan">https://www.tensorflow.org/tutorials/generative/cyclegan</a></li></ul><p><strong>Contributors</strong>:</p><p>· <a href="https://medium.com/@oktay-ugurlu98">Oktay Uğurlu</a></p><p>· <a href="https://medium.com/@koray.kara98.kk">Koray Kara</a></p><p>· <a href="https://medium.com/@ahmetdenizguner">Ahmet Deniz Güner</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*uRFSKMUYI9gh_7rQzHdBbA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e7a933f6fbcc" width="1" height="1" alt=""><hr><p><a href="https://medium.com/bbm406-spring-2021-projects/week-3-image-transformation-according-to-art-style-e7a933f6fbcc">Week 3 — Image Transformation according to Art Style</a> was originally published in <a href="https://medium.com/bbm406-spring-2021-projects">BBM406 Spring 2021 Projects</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 2 - Image Transformation according to Art Style]]></title>
            <link>https://medium.com/bbm406-spring-2021-projects/week-2-image-transformation-according-to-art-style-1ca4d1072a40?source=rss-32548df1f066------2</link>
            <guid isPermaLink="false">https://medium.com/p/1ca4d1072a40</guid>
            <category><![CDATA[generative-model]]></category>
            <category><![CDATA[image-clustering]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Oktay UĞURLU]]></dc:creator>
            <pubDate>Sun, 18 Apr 2021 20:31:20 GMT</pubDate>
            <atom:updated>2021-05-02T13:48:38.392Z</atom:updated>
            <content:encoded><![CDATA[<p>Hi everyone! We have done some research about our project steps, and today we are going to talk about these steps in more detail.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/557/1*zLX9NkK9S1o_ZCZDCwd8Ig.png" /></figure><p><strong>Style Clustering</strong></p><p>In the first step, we want to eliminate less related arts from the dataset. For this purpose, we will apply some clustering methods to the image set. According to the <a href="https://www.researchgate.net/publication/330989802_Selective_clustering_for_representative_paintings_selection"><strong>Selective Clustering for Representative Paintings Selection</strong></a> research paper, it is observed that selective clustering improves the performance of the style transformation to eliminate outliers data. Selective clustering provides representative painting selection for one artist’s works. There are three other different clusterings that have been used to compare with representative painting selection methods which are K-means, A-cluster, S-cluster. Although the K-means clustering gives more accurate results for both average recall and precision, the selective clustering gives 91.42% accuracy for precision. So, we plan to use selective clustering in our model.</p><p><strong>CycleGAN</strong></p><p>For image-style transformation, the most proper model is Cycle-Consistent Adversarial Networks which is based on GAN (Generative Adversarial Network) architecture. The CycleGAN is a technique that involves the automatic training of image-to-image translation models without paired examples. The CycleGAN uses an additional extension to the GAN architecture called cycle consistency. This is the idea that an image output by the first generator could be used as input to the second generator and the output of the second generator should match the original image. Firstly, the image input is given to the GAN-1, and the output of the transformation is given to GAN-2 to get the input image. After, the cycle consistency loss calculates the difference between the image input to GAN-1 and the image output by GAN-2, and the model weights are updated accordingly to reduce the difference in the images.</p><p>We plan to compose these two different works in our project. Next week, we will have started the implementation part.</p><p>Stay tuned!</p><h4><strong>References:</strong></h4><ul><li><a href="https://www.researchgate.net/publication/330989802_Selective_clustering_for_representative_paintings_selection">https://www.researchgate.net/publication/330989802_Selective_clustering_for_representative_paintings_selection</a></li><li><a href="https://arxiv.org/pdf/1703.10593v7.pdf">https://arxiv.org/pdf/1703.10593v7.pdf</a></li></ul><h4>Contributors:</h4><ul><li><a href="https://medium.com/@oktay-ugurlu98">Oktay Uğurlu</a></li><li><a href="https://medium.com/@koray.kara98.kk">Koray Kara</a></li><li><a href="https://medium.com/@ahmetdenizguner">Ahmet Deniz Güner</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*KVWU06Sm1yan5mi4PyUWaA.jpeg" /><figcaption>Example of the style transformation</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1ca4d1072a40" width="1" height="1" alt=""><hr><p><a href="https://medium.com/bbm406-spring-2021-projects/week-2-image-transformation-according-to-art-style-1ca4d1072a40">Week 2 - Image Transformation according to Art Style</a> was originally published in <a href="https://medium.com/bbm406-spring-2021-projects">BBM406 Spring 2021 Projects</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 1 — Image Transformation according to Art Style]]></title>
            <link>https://oktay-ugurlu98.medium.com/week-1-image-transformation-according-to-art-style-f60933445cb9?source=rss-32548df1f066------2</link>
            <guid isPermaLink="false">https://medium.com/p/f60933445cb9</guid>
            <category><![CDATA[image-transformation]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[image-processing]]></category>
            <category><![CDATA[art]]></category>
            <dc:creator><![CDATA[Oktay UĞURLU]]></dc:creator>
            <pubDate>Sun, 11 Apr 2021 19:28:13 GMT</pubDate>
            <atom:updated>2021-04-11T19:28:13.410Z</atom:updated>
            <content:encoded><![CDATA[<h3>Week 1 — Image Transformation according to Art Style</h3><h3>Introduction</h3><p>Hi folks! Today, we would like to talk about our machine learning capstone project. In this project, we aim to implement an image-style transformation model by considering the art styles of different artists.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*MLccFk-LSYgfF_RQ.jpg" /><figcaption>Link: <a href="https://www.smithsonianmag.com/smart-news/app-lets-you-style-your-photos-famous-paintings-180974889/">https://www.smithsonianmag.com/smart-news/app-lets-you-style-your-photos-famous-paintings-180974889/</a></figcaption></figure><p>Many artist’s works from the past to the present can be reachable as digital data. This opportunity gives us a huge advantage to work on artist’s styles. We purpose to develop an application of machine learning to artist identification for a style transformation. In this way, we will transform real images into artist-styled images. We will classify styles of paintings, and we will try to train our model with this knowledge for style transformation of real images to styled images. Let&#39;s talk about business!</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F2lImy17jXPPWM%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F2lImy17jXPPWM%2Fgiphy.mp4&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2F2lImy17jXPPWM%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="348" frameborder="0" scrolling="no"><a href="https://medium.com/media/f61d7618e35cd713d4a17401009fb318/href">https://medium.com/media/f61d7618e35cd713d4a17401009fb318/href</a></iframe><h3>About Data</h3><p>We plan to use the Kaggle data which includes 50 different artists with their arts. Also, nationalities, genres, and other stuff about the arts are placed in this dataset. However, we work on the image data directly.</p><p>You can click <a href="https://www.kaggle.com/ikarus777/best-artworks-of-all-time">here </a>to reach the data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/461/1*QOWkL3Dc3aMRkcYU55hJDQ.jpeg" /><figcaption>Van Gogh — Starry Night</figcaption></figure><h3>Work Plan</h3><p>We made some research about image transformation according to style. We found that the GAN framework gives the most accurate results on this problem. We plan to use the GAN as a base for our works. The framework gives the transformed images, but there is a missing, which is the evaluation part.</p><p>The log-likelihood method is used in many generative models to evaluate accuracy. In statistics, the <a href="https://en.wikipedia.org/wiki/Statistical_model"><strong>likelihood function</strong></a> (often simply called the <strong>likelihood</strong>) measures the goodness of fit of a statistical model to a sample of data for given values of the unknown parameters.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/443/1*UqLuHreKHdaq8uq0V8pkRQ.jpeg" /></figure><p>Thanks for reading, see you in the next post 😎</p><h4>Contributors:</h4><ul><li><a href="https://medium.com/@oktay.ugurlu98">Oktay Uğurlu</a></li><li><a href="https://medium.com/@ahmetdenizguner">Ahmet Deniz Güner</a></li><li><a href="https://medium.com/@koray.kara98.kk">Koray Kara</a></li></ul><h4>Related Papers:</h4><ul><li><a href="https://arxiv.org/pdf/1703.10593v7.pdf">https://arxiv.org/pdf/1703.10593v7.pdf</a></li><li><a href="http://cs229.stanford.edu/proj2010/BlessingWen-UsingMachineLearningForIdentificationOfArtPaintings.pdf">http://cs229.stanford.edu/proj2010/BlessingWen-UsingMachineLearningForIdentificationOfArtPaintings.pdf</a></li><li><a href="https://www.researchgate.net/publication/343025784_Deep_Learning_Approach_for_Arbitrary_Image_Style_Fusion_and_Transformation_using_SANET_model">https://www.researchgate.net/publication/343025784_Deep_Learning_Approach_for_Arbitrary_Image_Style_Fusion_and_Transformation_using_SANET_model</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f60933445cb9" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>