Driver drowsiness detection using Federated Learning

pankajregmi: <p>I am doing project on Driver drowsiness detection using Federated Learning.<br>
I am unable to classify .</p>
<p>Code for federated learning is:</p><aside class="onebox githubblob" data-onebox-src="https://github.com/yonetaniryo/federated_learning_pytorch/blob/master/FL_pytorch.ipynb?fbclid=IwAR1KT5Iw60fk4NdmCFcGXtpl_5QbxQrOTYtvCPOXhbLmLKGmwHqhHpSkRxE">
  <header class="source">

      <a href="https://github.com/yonetaniryo/federated_learning_pytorch/blob/master/FL_pytorch.ipynb?fbclid=IwAR1KT5Iw60fk4NdmCFcGXtpl_5QbxQrOTYtvCPOXhbLmLKGmwHqhHpSkRxE" target="_blank" rel="noopener nofollow ugc">github.com</a>
  </header>

  <article class="onebox-body">
    <h4><a href="https://github.com/yonetaniryo/federated_learning_pytorch/blob/master/FL_pytorch.ipynb?fbclid=IwAR1KT5Iw60fk4NdmCFcGXtpl_5QbxQrOTYtvCPOXhbLmLKGmwHqhHpSkRxE" target="_blank" rel="noopener nofollow ugc">yonetaniryo/federated_learning_pytorch/blob/master/FL_pytorch.ipynb?fbclid=IwAR1KT5Iw60fk4NdmCFcGXtpl_5QbxQrOTYtvCPOXhbLmLKGmwHqhHpSkRxE</a></h4>


      <pre><code class="lang-ipynb?fbclid=iwar1kt5iw60fk4ndmcfcgxtpl_5qbxqrotytvcpoxhblmlkgmwhqhhpskrxe">{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [],
   "source": [
    "import torch\n",
    "import torch.nn as nn\n",
    "import torch.nn.functional as F\n",
    "import torch.optim as optim\n",
    "from torchvision import datasets, transforms\n",
    "import numpy as np\n",
    "from tqdm import tqdm\n",
    "\n",
    "\n",
    "class Net(nn.Module):\n",
    "    def __init__(self):\n",
    "        super(Net, self).__init__()\n",
</code></pre>



  This file has been truncated. <a href="https://github.com/yonetaniryo/federated_learning_pytorch/blob/master/FL_pytorch.ipynb?fbclid=IwAR1KT5Iw60fk4NdmCFcGXtpl_5QbxQrOTYtvCPOXhbLmLKGmwHqhHpSkRxE" target="_blank" rel="noopener nofollow ugc">show original</a>

  </article>

  <div class="onebox-metadata">
    
    
  </div>

  <div style="clear: both"></div>
</aside>

<p>The dataset need to be implement is :</p><aside class="onebox allowlistedgeneric" data-onebox-src="https://www.kaggle.com/datasets/dheerajperumandla/drowsiness-dataset?fbclid=IwAR0ZNjRgVkPV7IULO00aIQis-VjvI--acqy0-pw1Dl4om-CduAb6NXUWhXw">
  <header class="source">
      <img src="https://www.kaggle.com/static/images/favicon.ico" class="site-icon" width="32" height="32">

      <a href="https://www.kaggle.com/datasets/dheerajperumandla/drowsiness-dataset?fbclid=IwAR0ZNjRgVkPV7IULO00aIQis-VjvI--acqy0-pw1Dl4om-CduAb6NXUWhXw" target="_blank" rel="noopener nofollow ugc">kaggle.com</a>
  </header>

  <article class="onebox-body">
    <img src="https://storage.googleapis.com/kaggle-datasets-images/new-version-temp-images/default-backgrounds-27.png-4802635/dataset-card.png" class="thumbnail onebox-avatar" width="500" height="500">

<h3><a href="https://www.kaggle.com/datasets/dheerajperumandla/drowsiness-dataset?fbclid=IwAR0ZNjRgVkPV7IULO00aIQis-VjvI--acqy0-pw1Dl4om-CduAb6NXUWhXw" target="_blank" rel="noopener nofollow ugc">Drowsiness_dataset</a></h3>

  <p>Kaggle is the world’s largest data science community with powerful tools and resources to help you achieve your data science goals.</p>


  </article>

  <div class="onebox-metadata">
    
    
  </div>

  <div style="clear: both"></div>
</aside>