I’m using JupyterLab excute my ipynb file. here is the code:

  
      github.com
  
  
    book-source/PyTorch-for-Deep-Learning-and-Computer-Vision/blob/master/Perceptron.ipynb
{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "colab": {},
    "colab_type": "code",
    "id": "Ryap-Zb2pFEY"
   },
   "outputs": [],
   "source": [
    "import torch\n",
    "import numpy as np\n",
    "import matplotlib.pyplot as plt\n",
    "import torch.nn as nn\n",
    "from sklearn import datasets"
   ]
  },
  {


  This file has been truncated. show original

  
  
    
    
  
  


When it exectues this line of code, it can not proceed.
I don’t know why.

image.png1086×744 76.3 KB

model = Model(2, 1)