summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--AlphaTheme/styles.css29
-rw-r--r--feed.rss6
-rw-r--r--index.html2
-rw-r--r--sitemap.xml2
-rw-r--r--styles.css29
-rw-r--r--tags/colab/index.html2
-rw-r--r--tags/tutorial/index.html2
-rw-r--r--tutorials/custom-image-classifier-keras-tensorflow/index.html4
-rw-r--r--tutorials/index.html2
9 files changed, 54 insertions, 24 deletions
diff --git a/AlphaTheme/styles.css b/AlphaTheme/styles.css
index 7d131ff..700a0de 100644
--- a/AlphaTheme/styles.css
+++ b/AlphaTheme/styles.css
@@ -14,7 +14,7 @@
body {
background: #fff;
color: #000;
- font-family: Helvetica, Arial;
+ font-family: -apple-system, BlinkMacSystemFont; /*,Helvetica, Arial;*/
text-align: center;
}
@@ -40,12 +40,10 @@ header {
height: 200px;
}
*/
+
header .wrapper {
- padding: 0;
- margin: 0;
- max-width: none;
- /* padding-top: 30px;
- padding-bottom: 30px; */
+ padding-top: 30px;
+ padding-bottom: 30px;
text-align: center;
}
@@ -65,8 +63,16 @@ nav {
nav li {
display: inline-block;
+ background-color: #000;
+ color: #ddd;
+ padding: 4px 6px;
+ border-radius: 5px;
+ margin-right: 5px;
+}
+nav li:hover {
+ color: #000;
+ background-color: #ddd;
}
-
h1 {
margin-bottom: 20px;
font-size: 2em;
@@ -155,6 +161,15 @@ footer {
header .site-name {
color: #ddd;
}
+ nav li {
+ background-color: #ddd;
+ color: #000;
+
+ }
+ nav li:hover {
+ color: #ddd;
+ background-color: #000;
+ }
.item-list > li {
background-color: #333;
diff --git a/feed.rss b/feed.rss
index 54e0f89..5fec857 100644
--- a/feed.rss
+++ b/feed.rss
@@ -1,7 +1,7 @@
-<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content"><channel><title>Navan Chauhan</title><description>I try to post tutorials, tips and tricks related to programming, designing and just some science stuff</description><link>https://navanchauhan.github.io/SwiftWebsite/</link><language>en</language><lastBuildDate>Sat, 4 Jan 2020 14:28:26 +0530</lastBuildDate><pubDate>Sat, 4 Jan 2020 14:28:26 +0530</pubDate><ttl>250</ttl><atom:link href="https://navanchauhan.github.io/SwiftWebsite/feed.rss" rel="self" type="application/rss+xml"/><item><guid isPermaLink="true">https://navanchauhan.github.io/SwiftWebsite/posts/splitting-zips</guid><title>Splitting ZIPs into Multiple Parts</title><description>Short code snippet for splitting zips.</description><link>https://navanchauhan.github.io/SwiftWebsite/posts/splitting-zips</link><pubDate>Sun, 8 Dec 2019 13:27:00 +0530</pubDate><content:encoded><![CDATA[<h1>Splitting ZIPs into Multiple Parts</h1><p><strong>Tested on macOS</strong></p><p>Creating the archive:</p><pre><code>zip -r -s 5 oodlesofnoodles.zip website/
+<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content"><channel><title>Navan Chauhan</title><description>I try to post tutorials, tips and tricks related to programming, designing and just some science stuff</description><link>https://navanchauhan.github.io/SwiftWebsite/</link><language>en</language><lastBuildDate>Sat, 4 Jan 2020 14:57:36 +0530</lastBuildDate><pubDate>Sat, 4 Jan 2020 14:57:36 +0530</pubDate><ttl>250</ttl><atom:link href="https://navanchauhan.github.io/SwiftWebsite/feed.rss" rel="self" type="application/rss+xml"/><item><guid isPermaLink="true">https://navanchauhan.github.io/SwiftWebsite/posts/splitting-zips</guid><title>Splitting ZIPs into Multiple Parts</title><description>Short code snippet for splitting zips.</description><link>https://navanchauhan.github.io/SwiftWebsite/posts/splitting-zips</link><pubDate>Sun, 8 Dec 2019 13:27:00 +0530</pubDate><content:encoded><![CDATA[<h1>Splitting ZIPs into Multiple Parts</h1><p><strong>Tested on macOS</strong></p><p>Creating the archive:</p><pre><code>zip -r -s 5 oodlesofnoodles.zip website/
</code></pre><p>5 stands for each split files' size (in mb, kb and gb can also be specified)</p><p>For encrypting the zip:</p><pre><code>zip -er -s 5 oodlesofnoodles.zip website
</code></pre><p>Extracting Files</p><p>First we need to collect all parts, then</p><pre><code>zip -F oodlesofnoodles.zip --out merged.zip
-</code></pre>]]></content:encoded></item><item><guid isPermaLink="true">https://navanchauhan.github.io/SwiftWebsite/tutorials/custom-image-classifier-keras-tensorflow</guid><title>Creating a Custom Image Classifier using Tensorflow 2.x and Keras for Detecting Malaria</title><description>Short tutorial for creating a custom image classifier using TF 2.0</description><link>https://navanchauhan.github.io/SwiftWebsite/tutorials/custom-image-classifier-keras-tensorflow</link><pubDate>Sun, 8 Dec 2019 11:27:00 +0530</pubDate><content:encoded><![CDATA[<h1>Creating a Custom Image Classifier using Tensorflow 2.x and Keras for Detecting Malaria</h1><p><strong>Done during Google Code-In. Org: Tensorflow.</strong></p><h2>Imports</h2><pre><code>%tensorflow_version 2.x #This is for telling Colab that you want to use TF 2.0, ignore if running on local machine
+</code></pre>]]></content:encoded></item><item><guid isPermaLink="true">https://navanchauhan.github.io/SwiftWebsite/tutorials/custom-image-classifier-keras-tensorflow</guid><title>Creating a Custom Image Classifier using TensorFlow 2.x and Keras for Detecting Malaria</title><description>Short tutorial for creating a custom image classifier using TF 2.0</description><link>https://navanchauhan.github.io/SwiftWebsite/tutorials/custom-image-classifier-keras-tensorflow</link><pubDate>Sun, 8 Dec 2019 11:27:00 +0530</pubDate><content:encoded><![CDATA[<h1>Creating a Custom Image Classifier using TensorFlow 2.x and Keras for Detecting Malaria</h1><p><strong>Done during Google Code-In. Org: Tensorflow.</strong></p><h2>Imports</h2><pre><code>%tensorflow_version 2.x #This is for telling Colab that you want to use TF 2.0, ignore if running on local machine
from PIL import Image # We use the PIL Library to resize images
import numpy as np
@@ -61,7 +61,7 @@ model.add(layers.Dense(500,activation="relu"))
model.add(layers.Dropout(0.2))
model.add(layers.Dense(2,activation="softmax"))#2 represent output layer neurons
model.summary()
-</code></pre><h3>Compiling Model</h3><p>We use the adam optimiser as it is an adaptive learning rate optimization algorithm that's been designed specifically for <em>training</em> deep neural networks, which means it changes its learning rate automaticaly to get the best results</p><pre><code>model.compile(optimizer="adam",
+</code></pre><h3>Compiling Model</h3><p>We use the Adam optimizer as it is an adaptive learning rate optimization algorithm that's been designed specifically for <em>training</em> deep neural networks, which means it changes its learning rate automatically to get the best results</p><pre><code>model.compile(optimizer="adam",
loss="sparse_categorical_crossentropy",
metrics=["accuracy"])
</code></pre><h3>Training Model</h3><p>We train the model for 10 epochs on the training data and then validate it using the testing data</p><pre><code>history = model.fit(X_train,y_train, epochs=10, validation_data=(X_test,y_test))
diff --git a/index.html b/index.html
index 9246253..8b17584 100644
--- a/index.html
+++ b/index.html
@@ -1 +1 @@
-<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"/><meta name="og:site_name" content="Navan Chauhan"/><link rel="canonical" href="https://navanchauhan.github.io/SwiftWebsite/"/><meta name="twitter:url" content="https://navanchauhan.github.io/SwiftWebsite/"/><meta name="og:url" content="https://navanchauhan.github.io/SwiftWebsite/"/><title>Hi | Navan Chauhan</title><meta name="twitter:title" content="Hi | Navan Chauhan"/><meta name="og:title" content="Hi | Navan Chauhan"/><meta name="description" content="I try to post tutorials, tips and tricks related to programming, designing and just some science stuff"/><meta name="twitter:description" content="I try to post tutorials, tips and tricks related to programming, designing and just some science stuff"/><meta name="og:description" content="I try to post tutorials, tips and tricks related to programming, designing and just some science stuff"/><meta name="twitter:card" content="summary"/><link rel="stylesheet" href="/styles.css" type="text/css"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><link rel="shortcut icon" href="/images/favicon.png" type="image/png"/><link rel="alternate" href="/feed.rss" type="application/rss+xml" title="Subscribe to Navan Chauhan"/><meta name="twitter:image" content="https://navanchauhan.github.io/SwiftWebsite/images/logo.png"/><meta name="og:image" content="https://navanchauhan.github.io/SwiftWebsite/images/logo.png"/></head><body><header><div class="wrapper"><a class="site-name" href="/">Navan Chauhan</a><nav><ul><li><a href="/posts">Posts</a></li><li><a href="/tutorials">Tutorials</a></li></ul></nav></div></header><div class="wrapper"><h1>Hi</h1><p class="description">I try to post tutorials, tips and tricks related to programming, designing and just some science stuff</p><h2>Latest content</h2><ul class="item-list"><li><article><h1><a href="/posts/splitting-zips">Splitting ZIPs into Multiple Parts</a></h1><ul class="tag-list"><li><a href="/tags/codesnippet">code-snippet</a></li><li><a href="/tags/article">article</a></li></ul><p>Short code snippet for splitting zips.</p></article></li><li><article><h1><a href="/tutorials/custom-image-classifier-keras-tensorflow">Creating a Custom Image Classifier using Tensorflow 2.x and Keras for Detecting Malaria</a></h1><ul class="tag-list"><li><a href="/tags/tutorial">tutorial</a></li><li><a href="/tags/colab">colab</a></li></ul><p>Short tutorial for creating a custom image classifier using TF 2.0</p></article></li><li><article><h1><a href="/posts/hello-world">Hello World</a></h1><ul class="tag-list"><li><a href="/tags/helloworld">hello-world</a></li><li><a href="/tags/article">article</a></li></ul><p>My first post.</p></article></li></ul></div><footer><p>Made with ❤️ using <a href="https://github.com/johnsundell/publish">Publish</a></p><p><a href="/feed.rss">RSS feed</a></p></footer></body></html> \ No newline at end of file
+<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"/><meta name="og:site_name" content="Navan Chauhan"/><link rel="canonical" href="https://navanchauhan.github.io/SwiftWebsite/"/><meta name="twitter:url" content="https://navanchauhan.github.io/SwiftWebsite/"/><meta name="og:url" content="https://navanchauhan.github.io/SwiftWebsite/"/><title>Hi | Navan Chauhan</title><meta name="twitter:title" content="Hi | Navan Chauhan"/><meta name="og:title" content="Hi | Navan Chauhan"/><meta name="description" content="I try to post tutorials, tips and tricks related to programming, designing and just some science stuff"/><meta name="twitter:description" content="I try to post tutorials, tips and tricks related to programming, designing and just some science stuff"/><meta name="og:description" content="I try to post tutorials, tips and tricks related to programming, designing and just some science stuff"/><meta name="twitter:card" content="summary"/><link rel="stylesheet" href="/styles.css" type="text/css"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><link rel="shortcut icon" href="/images/favicon.png" type="image/png"/><link rel="alternate" href="/feed.rss" type="application/rss+xml" title="Subscribe to Navan Chauhan"/><meta name="twitter:image" content="https://navanchauhan.github.io/SwiftWebsite/images/logo.png"/><meta name="og:image" content="https://navanchauhan.github.io/SwiftWebsite/images/logo.png"/></head><body><header><div class="wrapper"><a class="site-name" href="/">Navan Chauhan</a><nav><ul><li><a href="/posts">Posts</a></li><li><a href="/tutorials">Tutorials</a></li></ul></nav></div></header><div class="wrapper"><h1>Hi</h1><p class="description">I try to post tutorials, tips and tricks related to programming, designing and just some science stuff</p><h2>Latest content</h2><ul class="item-list"><li><article><h1><a href="/posts/splitting-zips">Splitting ZIPs into Multiple Parts</a></h1><ul class="tag-list"><li><a href="/tags/codesnippet">code-snippet</a></li><li><a href="/tags/article">article</a></li></ul><p>Short code snippet for splitting zips.</p></article></li><li><article><h1><a href="/tutorials/custom-image-classifier-keras-tensorflow">Creating a Custom Image Classifier using TensorFlow 2.x and Keras for Detecting Malaria</a></h1><ul class="tag-list"><li><a href="/tags/tutorial">tutorial</a></li><li><a href="/tags/colab">colab</a></li></ul><p>Short tutorial for creating a custom image classifier using TF 2.0</p></article></li><li><article><h1><a href="/posts/hello-world">Hello World</a></h1><ul class="tag-list"><li><a href="/tags/helloworld">hello-world</a></li><li><a href="/tags/article">article</a></li></ul><p>My first post.</p></article></li></ul></div><footer><p>Made with ❤️ using <a href="https://github.com/johnsundell/publish">Publish</a></p><p><a href="/feed.rss">RSS feed</a></p></footer></body></html> \ No newline at end of file
diff --git a/sitemap.xml b/sitemap.xml
index 7693c89..01a16ee 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -1 +1 @@
-<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1"><url><loc>https://navanchauhan.github.io/SwiftWebsite/posts</loc><changefreq>daily</changefreq><priority>1.0</priority><lastmod>2020-01-01</lastmod></url><url><loc>https://navanchauhan.github.io/SwiftWebsite/posts/splitting-zips</loc><changefreq>monthly</changefreq><priority>0.5</priority><lastmod>2020-01-02</lastmod></url><url><loc>https://navanchauhan.github.io/SwiftWebsite/posts/hello-world</loc><changefreq>monthly</changefreq><priority>0.5</priority><lastmod>2020-01-02</lastmod></url><url><loc>https://navanchauhan.github.io/SwiftWebsite/tutorials</loc><changefreq>daily</changefreq><priority>1.0</priority><lastmod>2020-01-01</lastmod></url><url><loc>https://navanchauhan.github.io/SwiftWebsite/tutorials/custom-image-classifier-keras-tensorflow</loc><changefreq>monthly</changefreq><priority>0.5</priority><lastmod>2020-01-01</lastmod></url></urlset> \ No newline at end of file
+<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1"><url><loc>https://navanchauhan.github.io/SwiftWebsite/posts</loc><changefreq>daily</changefreq><priority>1.0</priority><lastmod>2020-01-01</lastmod></url><url><loc>https://navanchauhan.github.io/SwiftWebsite/posts/splitting-zips</loc><changefreq>monthly</changefreq><priority>0.5</priority><lastmod>2020-01-04</lastmod></url><url><loc>https://navanchauhan.github.io/SwiftWebsite/posts/hello-world</loc><changefreq>monthly</changefreq><priority>0.5</priority><lastmod>2020-01-02</lastmod></url><url><loc>https://navanchauhan.github.io/SwiftWebsite/tutorials</loc><changefreq>daily</changefreq><priority>1.0</priority><lastmod>2020-01-01</lastmod></url><url><loc>https://navanchauhan.github.io/SwiftWebsite/tutorials/custom-image-classifier-keras-tensorflow</loc><changefreq>monthly</changefreq><priority>0.5</priority><lastmod>2020-01-04</lastmod></url></urlset> \ No newline at end of file
diff --git a/styles.css b/styles.css
index 7d131ff..700a0de 100644
--- a/styles.css
+++ b/styles.css
@@ -14,7 +14,7 @@
body {
background: #fff;
color: #000;
- font-family: Helvetica, Arial;
+ font-family: -apple-system, BlinkMacSystemFont; /*,Helvetica, Arial;*/
text-align: center;
}
@@ -40,12 +40,10 @@ header {
height: 200px;
}
*/
+
header .wrapper {
- padding: 0;
- margin: 0;
- max-width: none;
- /* padding-top: 30px;
- padding-bottom: 30px; */
+ padding-top: 30px;
+ padding-bottom: 30px;
text-align: center;
}
@@ -65,8 +63,16 @@ nav {
nav li {
display: inline-block;
+ background-color: #000;
+ color: #ddd;
+ padding: 4px 6px;
+ border-radius: 5px;
+ margin-right: 5px;
+}
+nav li:hover {
+ color: #000;
+ background-color: #ddd;
}
-
h1 {
margin-bottom: 20px;
font-size: 2em;
@@ -155,6 +161,15 @@ footer {
header .site-name {
color: #ddd;
}
+ nav li {
+ background-color: #ddd;
+ color: #000;
+
+ }
+ nav li:hover {
+ color: #ddd;
+ background-color: #000;
+ }
.item-list > li {
background-color: #333;
diff --git a/tags/colab/index.html b/tags/colab/index.html
index 3e63ad6..62a5d30 100644
--- a/tags/colab/index.html
+++ b/tags/colab/index.html
@@ -1 +1 @@
-<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"/><meta name="og:site_name" content="Navan Chauhan"/><link rel="canonical" href="https://navanchauhan.github.io/SwiftWebsite/tags/colab"/><meta name="twitter:url" content="https://navanchauhan.github.io/SwiftWebsite/tags/colab"/><meta name="og:url" content="https://navanchauhan.github.io/SwiftWebsite/tags/colab"/><title>Navan Chauhan</title><meta name="twitter:title" content="Navan Chauhan"/><meta name="og:title" content="Navan Chauhan"/><meta name="description" content="I try to post tutorials, tips and tricks related to programming, designing and just some science stuff"/><meta name="twitter:description" content="I try to post tutorials, tips and tricks related to programming, designing and just some science stuff"/><meta name="og:description" content="I try to post tutorials, tips and tricks related to programming, designing and just some science stuff"/><meta name="twitter:card" content="summary"/><link rel="stylesheet" href="/styles.css" type="text/css"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><link rel="shortcut icon" href="/images/favicon.png" type="image/png"/><link rel="alternate" href="/feed.rss" type="application/rss+xml" title="Subscribe to Navan Chauhan"/><meta name="twitter:image" content="https://navanchauhan.github.io/SwiftWebsite/images/logo.png"/><meta name="og:image" content="https://navanchauhan.github.io/SwiftWebsite/images/logo.png"/></head><body><header><div class="wrapper"><a class="site-name" href="/">Navan Chauhan</a><nav><ul><li><a href="/posts">Posts</a></li><li><a href="/tutorials">Tutorials</a></li></ul></nav></div></header><div class="wrapper"><h1>Tagged with <span class="tag">colab</span></h1><a class="browse-all" href="/tags">Browse all tags</a><ul class="item-list"><li><article><h1><a href="/tutorials/custom-image-classifier-keras-tensorflow">Creating a Custom Image Classifier using Tensorflow 2.x and Keras for Detecting Malaria</a></h1><ul class="tag-list"><li><a href="/tags/tutorial">tutorial</a></li><li><a href="/tags/colab">colab</a></li></ul><p>Short tutorial for creating a custom image classifier using TF 2.0</p></article></li></ul></div><footer><p>Made with ❤️ using <a href="https://github.com/johnsundell/publish">Publish</a></p><p><a href="/feed.rss">RSS feed</a></p></footer></body></html> \ No newline at end of file
+<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"/><meta name="og:site_name" content="Navan Chauhan"/><link rel="canonical" href="https://navanchauhan.github.io/SwiftWebsite/tags/colab"/><meta name="twitter:url" content="https://navanchauhan.github.io/SwiftWebsite/tags/colab"/><meta name="og:url" content="https://navanchauhan.github.io/SwiftWebsite/tags/colab"/><title>Navan Chauhan</title><meta name="twitter:title" content="Navan Chauhan"/><meta name="og:title" content="Navan Chauhan"/><meta name="description" content="I try to post tutorials, tips and tricks related to programming, designing and just some science stuff"/><meta name="twitter:description" content="I try to post tutorials, tips and tricks related to programming, designing and just some science stuff"/><meta name="og:description" content="I try to post tutorials, tips and tricks related to programming, designing and just some science stuff"/><meta name="twitter:card" content="summary"/><link rel="stylesheet" href="/styles.css" type="text/css"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><link rel="shortcut icon" href="/images/favicon.png" type="image/png"/><link rel="alternate" href="/feed.rss" type="application/rss+xml" title="Subscribe to Navan Chauhan"/><meta name="twitter:image" content="https://navanchauhan.github.io/SwiftWebsite/images/logo.png"/><meta name="og:image" content="https://navanchauhan.github.io/SwiftWebsite/images/logo.png"/></head><body><header><div class="wrapper"><a class="site-name" href="/">Navan Chauhan</a><nav><ul><li><a href="/posts">Posts</a></li><li><a href="/tutorials">Tutorials</a></li></ul></nav></div></header><div class="wrapper"><h1>Tagged with <span class="tag">colab</span></h1><a class="browse-all" href="/tags">Browse all tags</a><ul class="item-list"><li><article><h1><a href="/tutorials/custom-image-classifier-keras-tensorflow">Creating a Custom Image Classifier using TensorFlow 2.x and Keras for Detecting Malaria</a></h1><ul class="tag-list"><li><a href="/tags/tutorial">tutorial</a></li><li><a href="/tags/colab">colab</a></li></ul><p>Short tutorial for creating a custom image classifier using TF 2.0</p></article></li></ul></div><footer><p>Made with ❤️ using <a href="https://github.com/johnsundell/publish">Publish</a></p><p><a href="/feed.rss">RSS feed</a></p></footer></body></html> \ No newline at end of file
diff --git a/tags/tutorial/index.html b/tags/tutorial/index.html
index 9bac7ed..881bb94 100644
--- a/tags/tutorial/index.html
+++ b/tags/tutorial/index.html
@@ -1 +1 @@
-<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"/><meta name="og:site_name" content="Navan Chauhan"/><link rel="canonical" href="https://navanchauhan.github.io/SwiftWebsite/tags/tutorial"/><meta name="twitter:url" content="https://navanchauhan.github.io/SwiftWebsite/tags/tutorial"/><meta name="og:url" content="https://navanchauhan.github.io/SwiftWebsite/tags/tutorial"/><title>Navan Chauhan</title><meta name="twitter:title" content="Navan Chauhan"/><meta name="og:title" content="Navan Chauhan"/><meta name="description" content="I try to post tutorials, tips and tricks related to programming, designing and just some science stuff"/><meta name="twitter:description" content="I try to post tutorials, tips and tricks related to programming, designing and just some science stuff"/><meta name="og:description" content="I try to post tutorials, tips and tricks related to programming, designing and just some science stuff"/><meta name="twitter:card" content="summary"/><link rel="stylesheet" href="/styles.css" type="text/css"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><link rel="shortcut icon" href="/images/favicon.png" type="image/png"/><link rel="alternate" href="/feed.rss" type="application/rss+xml" title="Subscribe to Navan Chauhan"/><meta name="twitter:image" content="https://navanchauhan.github.io/SwiftWebsite/images/logo.png"/><meta name="og:image" content="https://navanchauhan.github.io/SwiftWebsite/images/logo.png"/></head><body><header><div class="wrapper"><a class="site-name" href="/">Navan Chauhan</a><nav><ul><li><a href="/posts">Posts</a></li><li><a href="/tutorials">Tutorials</a></li></ul></nav></div></header><div class="wrapper"><h1>Tagged with <span class="tag">tutorial</span></h1><a class="browse-all" href="/tags">Browse all tags</a><ul class="item-list"><li><article><h1><a href="/tutorials/custom-image-classifier-keras-tensorflow">Creating a Custom Image Classifier using Tensorflow 2.x and Keras for Detecting Malaria</a></h1><ul class="tag-list"><li><a href="/tags/tutorial">tutorial</a></li><li><a href="/tags/colab">colab</a></li></ul><p>Short tutorial for creating a custom image classifier using TF 2.0</p></article></li></ul></div><footer><p>Made with ❤️ using <a href="https://github.com/johnsundell/publish">Publish</a></p><p><a href="/feed.rss">RSS feed</a></p></footer></body></html> \ No newline at end of file
+<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"/><meta name="og:site_name" content="Navan Chauhan"/><link rel="canonical" href="https://navanchauhan.github.io/SwiftWebsite/tags/tutorial"/><meta name="twitter:url" content="https://navanchauhan.github.io/SwiftWebsite/tags/tutorial"/><meta name="og:url" content="https://navanchauhan.github.io/SwiftWebsite/tags/tutorial"/><title>Navan Chauhan</title><meta name="twitter:title" content="Navan Chauhan"/><meta name="og:title" content="Navan Chauhan"/><meta name="description" content="I try to post tutorials, tips and tricks related to programming, designing and just some science stuff"/><meta name="twitter:description" content="I try to post tutorials, tips and tricks related to programming, designing and just some science stuff"/><meta name="og:description" content="I try to post tutorials, tips and tricks related to programming, designing and just some science stuff"/><meta name="twitter:card" content="summary"/><link rel="stylesheet" href="/styles.css" type="text/css"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><link rel="shortcut icon" href="/images/favicon.png" type="image/png"/><link rel="alternate" href="/feed.rss" type="application/rss+xml" title="Subscribe to Navan Chauhan"/><meta name="twitter:image" content="https://navanchauhan.github.io/SwiftWebsite/images/logo.png"/><meta name="og:image" content="https://navanchauhan.github.io/SwiftWebsite/images/logo.png"/></head><body><header><div class="wrapper"><a class="site-name" href="/">Navan Chauhan</a><nav><ul><li><a href="/posts">Posts</a></li><li><a href="/tutorials">Tutorials</a></li></ul></nav></div></header><div class="wrapper"><h1>Tagged with <span class="tag">tutorial</span></h1><a class="browse-all" href="/tags">Browse all tags</a><ul class="item-list"><li><article><h1><a href="/tutorials/custom-image-classifier-keras-tensorflow">Creating a Custom Image Classifier using TensorFlow 2.x and Keras for Detecting Malaria</a></h1><ul class="tag-list"><li><a href="/tags/tutorial">tutorial</a></li><li><a href="/tags/colab">colab</a></li></ul><p>Short tutorial for creating a custom image classifier using TF 2.0</p></article></li></ul></div><footer><p>Made with ❤️ using <a href="https://github.com/johnsundell/publish">Publish</a></p><p><a href="/feed.rss">RSS feed</a></p></footer></body></html> \ No newline at end of file
diff --git a/tutorials/custom-image-classifier-keras-tensorflow/index.html b/tutorials/custom-image-classifier-keras-tensorflow/index.html
index 9ea32fe..c3518fd 100644
--- a/tutorials/custom-image-classifier-keras-tensorflow/index.html
+++ b/tutorials/custom-image-classifier-keras-tensorflow/index.html
@@ -1,4 +1,4 @@
-<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"/><meta name="og:site_name" content="Navan Chauhan"/><link rel="canonical" href="https://navanchauhan.github.io/SwiftWebsite/tutorials/custom-image-classifier-keras-tensorflow"/><meta name="twitter:url" content="https://navanchauhan.github.io/SwiftWebsite/tutorials/custom-image-classifier-keras-tensorflow"/><meta name="og:url" content="https://navanchauhan.github.io/SwiftWebsite/tutorials/custom-image-classifier-keras-tensorflow"/><title>Creating a Custom Image Classifier using Tensorflow 2.x and Keras for Detecting Malaria | Navan Chauhan</title><meta name="twitter:title" content="Creating a Custom Image Classifier using Tensorflow 2.x and Keras for Detecting Malaria | Navan Chauhan"/><meta name="og:title" content="Creating a Custom Image Classifier using Tensorflow 2.x and Keras for Detecting Malaria | Navan Chauhan"/><meta name="description" content="Short tutorial for creating a custom image classifier using TF 2.0"/><meta name="twitter:description" content="Short tutorial for creating a custom image classifier using TF 2.0"/><meta name="og:description" content="Short tutorial for creating a custom image classifier using TF 2.0"/><meta name="twitter:card" content="summary"/><link rel="stylesheet" href="/styles.css" type="text/css"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><link rel="shortcut icon" href="/images/favicon.png" type="image/png"/><link rel="alternate" href="/feed.rss" type="application/rss+xml" title="Subscribe to Navan Chauhan"/><meta name="twitter:image" content="https://navanchauhan.github.io/SwiftWebsite/images/logo.png"/><meta name="og:image" content="https://navanchauhan.github.io/SwiftWebsite/images/logo.png"/></head><body class="item-page"><header><div class="wrapper"><a class="site-name" href="/">Navan Chauhan</a><nav><ul><li><a href="/posts">Posts</a></li><li><a class="selected" href="/tutorials">Tutorials</a></li></ul></nav></div></header><div class="wrapper"><article><div class="content"><h1>Creating a Custom Image Classifier using Tensorflow 2.x and Keras for Detecting Malaria</h1><p><strong>Done during Google Code-In. Org: Tensorflow.</strong></p><h2>Imports</h2><pre><code>%tensorflow_version 2.x #This is for telling Colab that you want to use TF 2.0, ignore if running on local machine
+<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"/><meta name="og:site_name" content="Navan Chauhan"/><link rel="canonical" href="https://navanchauhan.github.io/SwiftWebsite/tutorials/custom-image-classifier-keras-tensorflow"/><meta name="twitter:url" content="https://navanchauhan.github.io/SwiftWebsite/tutorials/custom-image-classifier-keras-tensorflow"/><meta name="og:url" content="https://navanchauhan.github.io/SwiftWebsite/tutorials/custom-image-classifier-keras-tensorflow"/><title>Creating a Custom Image Classifier using TensorFlow 2.x and Keras for Detecting Malaria | Navan Chauhan</title><meta name="twitter:title" content="Creating a Custom Image Classifier using TensorFlow 2.x and Keras for Detecting Malaria | Navan Chauhan"/><meta name="og:title" content="Creating a Custom Image Classifier using TensorFlow 2.x and Keras for Detecting Malaria | Navan Chauhan"/><meta name="description" content="Short tutorial for creating a custom image classifier using TF 2.0"/><meta name="twitter:description" content="Short tutorial for creating a custom image classifier using TF 2.0"/><meta name="og:description" content="Short tutorial for creating a custom image classifier using TF 2.0"/><meta name="twitter:card" content="summary"/><link rel="stylesheet" href="/styles.css" type="text/css"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><link rel="shortcut icon" href="/images/favicon.png" type="image/png"/><link rel="alternate" href="/feed.rss" type="application/rss+xml" title="Subscribe to Navan Chauhan"/><meta name="twitter:image" content="https://navanchauhan.github.io/SwiftWebsite/images/logo.png"/><meta name="og:image" content="https://navanchauhan.github.io/SwiftWebsite/images/logo.png"/></head><body class="item-page"><header><div class="wrapper"><a class="site-name" href="/">Navan Chauhan</a><nav><ul><li><a href="/posts">Posts</a></li><li><a class="selected" href="/tutorials">Tutorials</a></li></ul></nav></div></header><div class="wrapper"><article><div class="content"><h1>Creating a Custom Image Classifier using TensorFlow 2.x and Keras for Detecting Malaria</h1><p><strong>Done during Google Code-In. Org: Tensorflow.</strong></p><h2>Imports</h2><pre><code>%tensorflow_version 2.x #This is for telling Colab that you want to use TF 2.0, ignore if running on local machine
from PIL import Image # We use the PIL Library to resize images
import numpy as np
@@ -58,7 +58,7 @@ model.add(layers.Dense(500,activation="relu"))
model.add(layers.Dropout(0.2))
model.add(layers.Dense(2,activation="softmax"))#2 represent output layer neurons
model.summary()
-</code></pre><h3>Compiling Model</h3><p>We use the adam optimiser as it is an adaptive learning rate optimization algorithm that's been designed specifically for <em>training</em> deep neural networks, which means it changes its learning rate automaticaly to get the best results</p><pre><code>model.compile(optimizer="adam",
+</code></pre><h3>Compiling Model</h3><p>We use the Adam optimizer as it is an adaptive learning rate optimization algorithm that's been designed specifically for <em>training</em> deep neural networks, which means it changes its learning rate automatically to get the best results</p><pre><code>model.compile(optimizer="adam",
loss="sparse_categorical_crossentropy",
metrics=["accuracy"])
</code></pre><h3>Training Model</h3><p>We train the model for 10 epochs on the training data and then validate it using the testing data</p><pre><code>history = model.fit(X_train,y_train, epochs=10, validation_data=(X_test,y_test))
diff --git a/tutorials/index.html b/tutorials/index.html
index a0cdf48..92794b8 100644
--- a/tutorials/index.html
+++ b/tutorials/index.html
@@ -1 +1 @@
-<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"/><meta name="og:site_name" content="Navan Chauhan"/><link rel="canonical" href="https://navanchauhan.github.io/SwiftWebsite/tutorials"/><meta name="twitter:url" content="https://navanchauhan.github.io/SwiftWebsite/tutorials"/><meta name="og:url" content="https://navanchauhan.github.io/SwiftWebsite/tutorials"/><title>Tutorials | Navan Chauhan</title><meta name="twitter:title" content="Tutorials | Navan Chauhan"/><meta name="og:title" content="Tutorials | Navan Chauhan"/><meta name="description" content="I try to post tutorials, tips and tricks related to programming, designing and just some science stuff"/><meta name="twitter:description" content="I try to post tutorials, tips and tricks related to programming, designing and just some science stuff"/><meta name="og:description" content="I try to post tutorials, tips and tricks related to programming, designing and just some science stuff"/><meta name="twitter:card" content="summary"/><link rel="stylesheet" href="/styles.css" type="text/css"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><link rel="shortcut icon" href="/images/favicon.png" type="image/png"/><link rel="alternate" href="/feed.rss" type="application/rss+xml" title="Subscribe to Navan Chauhan"/><meta name="twitter:image" content="https://navanchauhan.github.io/SwiftWebsite/images/logo.png"/><meta name="og:image" content="https://navanchauhan.github.io/SwiftWebsite/images/logo.png"/></head><body><header><div class="wrapper"><a class="site-name" href="/">Navan Chauhan</a><nav><ul><li><a href="/posts">Posts</a></li><li><a class="selected" href="/tutorials">Tutorials</a></li></ul></nav></div></header><div class="wrapper"><h1>Tutorials</h1><ul class="item-list"><li><article><h1><a href="/tutorials/custom-image-classifier-keras-tensorflow">Creating a Custom Image Classifier using Tensorflow 2.x and Keras for Detecting Malaria</a></h1><ul class="tag-list"><li><a href="/tags/tutorial">tutorial</a></li><li><a href="/tags/colab">colab</a></li></ul><p>Short tutorial for creating a custom image classifier using TF 2.0</p></article></li></ul></div><footer><p>Made with ❤️ using <a href="https://github.com/johnsundell/publish">Publish</a></p><p><a href="/feed.rss">RSS feed</a></p></footer></body></html> \ No newline at end of file
+<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"/><meta name="og:site_name" content="Navan Chauhan"/><link rel="canonical" href="https://navanchauhan.github.io/SwiftWebsite/tutorials"/><meta name="twitter:url" content="https://navanchauhan.github.io/SwiftWebsite/tutorials"/><meta name="og:url" content="https://navanchauhan.github.io/SwiftWebsite/tutorials"/><title>Tutorials | Navan Chauhan</title><meta name="twitter:title" content="Tutorials | Navan Chauhan"/><meta name="og:title" content="Tutorials | Navan Chauhan"/><meta name="description" content="I try to post tutorials, tips and tricks related to programming, designing and just some science stuff"/><meta name="twitter:description" content="I try to post tutorials, tips and tricks related to programming, designing and just some science stuff"/><meta name="og:description" content="I try to post tutorials, tips and tricks related to programming, designing and just some science stuff"/><meta name="twitter:card" content="summary"/><link rel="stylesheet" href="/styles.css" type="text/css"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><link rel="shortcut icon" href="/images/favicon.png" type="image/png"/><link rel="alternate" href="/feed.rss" type="application/rss+xml" title="Subscribe to Navan Chauhan"/><meta name="twitter:image" content="https://navanchauhan.github.io/SwiftWebsite/images/logo.png"/><meta name="og:image" content="https://navanchauhan.github.io/SwiftWebsite/images/logo.png"/></head><body><header><div class="wrapper"><a class="site-name" href="/">Navan Chauhan</a><nav><ul><li><a href="/posts">Posts</a></li><li><a class="selected" href="/tutorials">Tutorials</a></li></ul></nav></div></header><div class="wrapper"><h1>Tutorials</h1><ul class="item-list"><li><article><h1><a href="/tutorials/custom-image-classifier-keras-tensorflow">Creating a Custom Image Classifier using TensorFlow 2.x and Keras for Detecting Malaria</a></h1><ul class="tag-list"><li><a href="/tags/tutorial">tutorial</a></li><li><a href="/tags/colab">colab</a></li></ul><p>Short tutorial for creating a custom image classifier using TF 2.0</p></article></li></ul></div><footer><p>Made with ❤️ using <a href="https://github.com/johnsundell/publish">Publish</a></p><p><a href="/feed.rss">RSS feed</a></p></footer></body></html> \ No newline at end of file