NVIDIA之AI Course:Getting Started with AI on Jetson Nano—Class notes(三)

Notice
The original text comes from NVIDIA-AI Course. This article only provides Chinese translation.

 

 

目录

Image Classification

AI And Deep Learning

AI And Deep Learning

Deep Learning Models  深度学习模型

Convolutional Neural Networks (CNNs)

Artificial Neural Network

Convolutions

Accelerating CNNs Using GPUs

ResNet-18

Residual Networks 残差网络

Transfer Learning

Thumbs Project  大拇指项目

Interactive Tool Startup Steps  交互式工具启动步骤

Emotions Project  情绪项目

Interactive Tool Startup Steps  交互式工具启动步骤

More Classification Projects   更多的分类项目


​​​​​​​

 

 

 

Image Classification

AI And Deep Learning

        In this course, you'll build AI projects that can answer simple visual questions:
        在本课程中,您将构建能够回答简单视觉问题的AI项目:

  • Is my hand showing thumbs-up or thumbs-down?   我的手是大拇指朝上还是朝下?
  • Does my face appear happy or sad?    我的表情是高兴还是悲伤?
  • How many fingers am I holding up?    我举起了多少根手指?
  • Where's my nose?    我的鼻子在哪里?

        Although these questions are easy for any human child to answer, interpreting images with computer vision requires a complex computer model that can be tuned to find the answer in a number of scenarios. For example, a thumbs-up hand signal may be at various angles and distances from the camera, it may be held before a variety of backgrounds, it could be from a variety of different hands, and so on, but it is still a thumbs-up hand signal. An effective AI model must be able to generalize across these scenarios, and even predict the correct answer with new data.
        虽然这些问题对任何人类孩子来说都很容易回答,但是用计算机视觉来解释图像需要一个复杂的计算机模型,这个模型可以在许多场景中找到答案。例如,一个大拇指向上的手势可能在不同的角度和距离的相机,它可能是举行之前的各种背景,它可以从各种不同的手,等等,但它仍然是一个大拇指向上的手势。一个有效的人工智能模型必须能够泛化这些场景,并且能够用新的数据预测正确的答案。
 

AI And Deep Learning

        As humans, we generalize what we see based on our experience. In a similar way, we can use a branch of AI called Machine Learning to generalize and classify images based on experience in the form of lots of example data. In particular, we will use deep neural network models, or Deep Learning to recognize relevant patterns in an image dataset, and ultimately match new images to correct answers.
        作为人类,我们根据我们的经验来概括我们所看到的。同样,我们可以使用人工智能的一个分支机器学习,以大量的例子数据的形式,根据经验对图像进行概括和分类。特别是,我们将使用深度神经网络模型,或深度学习来识别图像数据集中的相关模式,并最终匹配新的图像来纠正答案

AI, ML, and DL

        If you want to know more, you can check out this article about the differences between Artificial Intelligence, Machine Learning, and Deep Learning.1554/5000  
       如果你想知道更多,你可以看看这篇关于人工智能、机器学习和深度学习之间的区别的文章。

Deep Learning Models  深度学习模型

        A Deep Learning model consists of a neural network with internal parameters, or weights, configured to map inputs to outputs. In Image Classification, the inputs are the pixels from a camera image and the outputs are the possible categories, or classes that the model is trained to recognize. The choices might be 1000 different objects, or only two. Multiple labeled examples must be provided to the model over and over to train it to recognize the images. Once the model is trained, it can be run on live data and provide results in real time. This is called inference.
       深度学习模型由具有内部参数或权重的神经网络组成,这些参数或权重被配置为将输入映射到输出。在图像分类中,输入是摄像机图像的像素输出是模型经过训练能够识别的可能类别或类。选择可能是1000个不同的对象,或者只有两个。必须反复向模型提供多个带标记的示例,以训练它识别图像。一旦模型得到训练,它就可以在实时数据上运行并实时提供结果。这叫做推理。

Deep Learning

 

        Before training, the model cannot accurately determine the correct class from an image input, because the weights are wrong. Labeled examples of images are iteratively submitted to the network with a learning algorithm. If the network gets the "wrong" answer (the label doesn't match), the learning algorithm adjusts the weights a little bit. Over many computationally intensive iterations, the accuracy improves to the point that the model can reliably determine the class for an input image.
        在训练之前,由于权重不对,模型无法从图像输入中准确地确定正确的类。用一种学习算法将带标记的图像实例迭代地提交给网络。如果网络得到“错误”的答案(标签不匹配),学习算法会稍微调整权重。经过许多计算密集型迭代,精确度提高到模型可以可靠地确定输入图像的类

        As you will discover, the data that is input is one of the keys to a good model, i.e. one that generalizes well regardless of the background, angle, or other "noisy" aspect of the image presented. Additional passes through the data set, or epochs can also improve the model's performance.
       你会发现,输入的数据是一个好的模型的关键之一,也就是说,不管背景、角度或图像的其他“噪声”方面如何,这个模型都能很好地概括。额外的通过数据集的传递,或者epochs也可以提高模型的性能。

 

Convolutional Neural Networks (CNNs)

       Deep learning relies on Convolutional Neural Network (CNN) models to transform images into predicted classifications. A CNN is a class of artificial neural network that uses convolutional layers to filter inputs for useful information, and is the preferred network for image applications.
      深度学习依赖于卷积神经网络(CNN)模型将图像转换为预测分类。CNN是一种利用卷积层过滤有用信息输入的人工神经网络,是图像应用的首选网络。

Artificial Neural Network

       An artificial neural network is a biologically inspired computational model that is patterned after the network of neurons present in the human brain. At each layer, the network transforms input data by applying a nonlinear function to a weighted sum of the inputs. The intermediate outputs of one layer, called features, are used as the input into the next layer. The neural network, through repeated transformations, learns multiple layers of nonlinear features (like edges and shapes), which it then combines in a final layer to create a prediction (of more complex objects).
      人工神经网络是一种受生物学启发的计算模型,它是仿照人类大脑中存在的神经元网络而设计的。在每一层,网络通过将非线性函数应用于输入的加权和来转换输入数据。一个层的中间输出(称为特征)用作下一层的输入。神经网络通过反复变换,学习多层非线性特征(如边缘和形状),然后将这些特征结合到最后一层中,创建(对更复杂对象的)预测

ann

Convolutions

       The convolution operation specific to CNNs combines the input data (feature map) from one layer with a convolution kernel (filter) to form a transformed feature map for the next layer. CNNs for image classification are generally composed of an input layer (the image), a series of hidden layers for feature extraction (the convolutions), and a fully connected output layer (the classification).
       针对CNNs的卷积操作将一层的输入数据(feature map)与卷积核(filter)相结合,形成下一层的变换后的feature map。用于图像分类的CNNs通常由一个输入层(图像)、一系列用于特征提取的隐藏层(卷积)和一个完全连接的输出层(分类)组成。

cnn

       Figure 1: An input image of a traffic sign is filtered by 4 5x5 convolutional kernels which create 4 feature maps, these feature maps are subsampled by max pooling. The next layer applies 10 5x5 convolutional kernels to these subsampled images and again we pool the feature maps. The final layer is a fully connected layer where all generated features are combined and used in the classifier (essentially logistic regression). Image by Maurice Peemen.
      图1:  通过4个5x5卷积核对一个交通标志的输入图像进行滤波,生成4个feature map,这些feature map通过max pooling进行子采样。下一层将10个5x5卷积核应用到这些子采样图像上,我们再次将这些特征图集中起来。最后一层是一个完全连接的层,其中所有生成的特征都被组合起来,并在分类器中使用(本质上是逻辑回归)。莫里斯·皮尔曼(Maurice Peemen)著。

       As it is trained, the CNN adjusts automatically to find the most relevant features based on its classification requirements. For example, a CNN would filter information about the shape of an object when confronted with a general object recognition task but would extract the color of the bird when faced with a bird recognition task. This is based on the CNN's recognition through training that different classes of objects have different shapes but that different types of birds are more likely to differ in color than in shape.
        经过训练后,CNN会根据分类要求自动调整,找到最相关的特征。例如,CNN在面对一般的物体识别任务时会过滤关于物体形状的信息,而在面对鸟类识别任务时则会提取出鸟类的颜色。这是基于CNN通过训练认识到不同种类的物体有不同的形状,但是不同种类的鸟更有可能在颜色上而不是形状上不同
 

Accelerating CNNs Using GPUs

       The extensive calculations required for training CNN models and running inference through trained CNN models can be quite large in number, requiring intensive compute resources and time. Deep learning frameworks such as Caffe, TensorFlow, and PyTorch, are optimized to run faster on GPUs. The frameworks take advantage of the parallel processing capabilities of a GPU if it is present, speeding up training and inference tasks.
       训练CNN模型和通过训练过的CNN模型进行推理所需要的大量计算量非常大,需要密集的计算资源和时间。深度学习框架(如Caffe、TensorFlow和PyTorch)经过优化,可以在gpu上运行得更快。这些框架利用了GPU的并行处理能力,加速了训练和推理任务。

frameworks

       The Jetson Nano includes a 128-core NVIDIA Maxwell GPU. Since it can run the full training frameworks, it is also able to re-train networks with transfer learning, a capability you will use in the projects for this course. Jetson Nano enables you to experiment with deep learning and AI on a low-cost platform. See this article for more details on Jetson Nano performance.
       Jetson Nano包括一个128核的NVIDIA Maxwell GPU。因为它可以运行完整的训练框架,所以它还可以使用迁移学习对网络进行再训练,您将在本课程的项目中使用这种功能。Jetson Nano可以让你在一个低成本的平台上进行深度学习和人工智能的实验。有关Jetson Nano性能的更多细节,请参阅本文。

 

ResNet-18

       There are a number of world-class CNN architectures available to application developers for image classification and image regression. PyTorch and other frameworks include access to pretrained models from past winners of the famous Imagenet Large Scale Visual Recognition Challenge (ILSVRC), where researchers compete to correctly classify and detect objects and scenes with computer vision algorithms. In 2015, ResNet swept the awards in image classification, detection, and localization. We'll be using the smallest version of ResNet in our projects: ResNet-18.
       有许多世界级的CNN架构可供应用程序开发人员用于图像分类图像回归。PyTorch和其他框架包括从著名的Imagenet大型视觉识别挑战(ILSVRC)的往届获奖者那里获得预先训练的模型,在这个挑战中,研究人员通过计算机视觉算法来竞争正确分类和检测对象和场景。2015年,ResNet在图像分类、检测和定位方面横扫各大奖项。我们将在我们的项目中使用最小版本的ResNet: ResNet-18

 

 

 

Residual Networks 残差网络

       The Deep Residual Learning for Image Recognition research paper provides insight into why this architecture is effective. ResNet is a residual network, made with building blocks that incorporate "shortcut connections" that skip one or more layers.
       图像识别的深度残差学习研究论文提供了深入了解为什么这种架构是有效的。ResNet是一个残差网络,由包含“快捷连接”的构建块组成,这些“快捷连接”可以跳过一个或多个层

resnet18 3d

       The shortcut output is added to the outputs of the skipped layers. The authors demonstrate that this technique makes the network easier to optimize, and have higher accuracy gains at greatly increased depths. The ResNet architectures presented range from 18-layers deep, all the way to 152-layers deep! For our purposes, the smallest network, ResNet-18 provides a good balance of performance and efficiency sized well for the Jetson Nano.
       shortcut 输出被添加到跳过的层的输出中。结果表明,该方法使网络易于优化,在深度大幅度增加的情况下具有较高的精度。ResNet架构的范围从18层深,一直到152层深!对于我们的目的,最小的网络,ResNet-18提供了一个良好的平衡性能和效率大小为Jetson Nano。

Transfer Learning

       PyTorch includes a pre-trained ResNet-18 model that was trained on the ImageNet 2012 classification dataset, which consists of 1000 classes. In other words, the model can recognize 1000 different objects already!
       PyTorch包含一个预训练的ResNet-18模型,该模型是在ImageNet 2012分类数据集上训练的,包含1000个类。换句话说,该模型已经可以识别1000个不同的对象!
       Within the trained neural network are layers that find outlines, curves, lines, and other identifying features of an image. Important image features that were already learned in the original training of the model are now re-usable for our own classification task.
      在经过训练的神经网络中,有一些层可以找到图像的轮廓、曲线、直线和其他识别特征。在模型的原始训练中已经学习到的重要图像特征现在可用于我们自己的分类任务。

       We will adapt it for our projects, which all include less than 10 different classes, by modifying the last neural network layer of the 18 that make up the ResNet-18 model. The last layer for ResNet-18 is a fully connected (fc) layer, pooled and flattened to 512 inputs, each connected to the 1000 possible output classes. We will replace the (512,1000) layer with one matching our classes. If we only need three classes, for example, this final layer will become (512, 3), where each of the 512 inputs is fully connected to each one of the 3 output classes.
      我们将通过修改构成ResNet-18模型的18个神经网络层的最后一个神经网络层,使其适应我们的项目,这些项目都包含不到10个不同的类。ResNet-18的最后一层是完全连接的(fc)层,池化并平铺为512个输入,每个输入连接到1000个可能的输出类。我们将用一个匹配类的层替换(512,1000)层。例如,如果我们只需要三个类,那么最后一层将变成(512,3),其中512个输入中的每个都完全连接到3个输出类中的每个。

       You will still need to train the network to recognize those three classes using images you collect, but since the network has already learned to recognize features common to most objects, training is already part-way done. The previous training can be reused, or "transferred" to your new projects.
       您仍然需要训练网络使用您收集的图像来识别这三个类,但是由于网络已经学会了识别大多数对象的常见特性,所以训练已经完成了一部分。以前的训练可以重用,或者“转移”到新项目中。

 

 

Thumbs Project  大拇指项目

     The goal of this exercise is to build an Image Classification project that can determine the meaning of hand signals ( thumbs-up> or thumbs-down>) that are held in front of a live camera.
    本练习的目标是构建一个图像分类项目,该项目可以确定手持在实时摄像机前的手势(大拇指向上的>或大拇指向下的>)的含义。

 

Interactive Tool Startup Steps  交互式工具启动步骤

    You will implement the project by collecting your own data, training a model to classify your data, and then testing and updating your model as needed until it correctly classifies thumbs-up or thumbs-down images before the live camera.
      您将通过收集您自己的数据来实现该项目,培训一个模型来对您的数据进行分类,然后根据需要测试和更新您的模型,直到它在实时摄像机前正确地对大拇指向上或向下的图像进行分类。

Step 1: Open The Notebook

    To get started, navigate to the classification folder in your JupyterLab interface and double-click the classification_interactive.ipynb notebook to open it.
      首先,导航到JupyterLab界面中的classification文件夹,双击classification_interactive。ipynb笔记本打开它。

Step 2: Execute All Of The Code Blocks   步骤2:   执行所有代码块

    The notebook is designed to be reusable for any classification task you wish to build. Step through the code blocks and execute them one at a time. If you have trouble with this step, review the information on JupyterLab.
     该记事本设计为可重用的任何分类任务,您希望建立。遍历代码块并一次执行一个。如果您在这一步有困难,请查看JupyterLab的信息。

  1. Camera   相机

          This block sets the size of the images and starts the camera. If your camera is already active in this notebook or in another notebook, first shut down the kernel in the active notebook before running this code cell. Make sure that the correct camera type is selected for execution (USB or CSI). This cell may take several seconds to execute.
          此块设置图像的大小并启动相机。如果您的相机已经在本笔记本或其他笔记本中处于活动状态,那么在运行此代码单元之前,请先关闭活动笔记本中的内核。确保选择正确的相机类型执行(USB或CSI)。此单元格可能需要几秒钟执行。

  2. Task  任务

          You get to define your TASK and CATEGORIES (the classes) parameters here, as well as how many datasets you want to track. For the Thumbs Project, this has already been defined for you, so go ahead and execute the cell. Subdirectories for each class are created to store the example images you collect. The subdirectory names serve as the labels needed for the model. This cell should only take a few seconds to execute.
          您可以在这里定义任务和类别(类)参数,以及要跟踪多少数据集。对于Thumbs项目,这已经为您定义好了,所以继续执行单元格。创建每个类的子目录来存储您收集的示例图像。子目录名用作模型所需的标签。这个单元格只需要几秒钟就可以执行。

  3. Data Collection  数据收集

          You'll collect images for your categories with your camera using an iPython widget. This cell sets up the collection mechanism to count your images and produce the user interface. The widget built here is the data_collection_widget. If you want to learn more about these powerful tools, visit the ipywidgets documentaion. This cell should only take a few seconds to execute.
          您将使用iPython小部件用相机为您的类别收集图像。此单元格设置集合机制来计数图像并生成用户界面。这里构建的小部件是data_collection_widget。如果您想了解关于这些强大工具的更多信息,请访问ipywidgets documentaion。这个单元格只需要几秒钟就可以执行。

  4. Model  模型

    This block is where the neural network is defined. First, the GPU device is chosen with the statement:
    这个块就是定义神经网络的地方。首先,用语句选择GPU设备:

    device = torch.device('cuda')

    The model is set to the ResNet-18 model for this project. Note that the pretrained=True parameter indicates we are loading all the parameter weights for the trained Resnet-18 model, not just the neural network alone:
    这个项目的模型设置为ResNet-18模型。注意,预训练=True参数表示我们正在加载训练后的Resnet-18模型的所有参数权重,而不仅仅是神经网络:

    model = torchvision.models.resnet18(pretrained=True)

    There are a few more models listed in comments that you can try out later if you wish. For more information on available PyTorch pre-trained models, see the PyTorch documentation.
    在评论中列出了更多的模型,如果您愿意,可以稍后试用。有关可用的PyTorch预培训模型的更多信息,请参阅PyTorch文档。

    In addition to choosing the model, the last layer of the model is modified to accept only the number of classes that we are training for. In the case of the Thumbs Project, it is only 2 (i.e. thumbs-up and thumbs-down).
    除了选择模型外,模型的最后一层被修改为只接受我们要训练的类的数量。在Thumbs项目中,只有2个(即大拇指向上和大拇指向下)。

    model.fc = torch.nn.Linear(512, len(dataset.categories))

    This code cell may take several seconds to execute.
    执行此代码单元格可能需要几秒钟。
     

  5. Live Execution

    This code block sets up threading to run the model in the background so that you can view the live camera feed and visualize the model performance in real time. It also includes the code that defines how the outputs from the neural network are categorized. The network produces some value for each of the possible categories. The softmax function takes this vector of K real numbers, and normalizes it into a probability distribution consisting of K probabilities. The values now add up to 1 and can be interpreted as probabilities.
    此代码块设置线程在后台运行模型,以便您可以查看实时摄像机提要并实时可视化模型性能。它还包括定义如何分类神经网络输出的代码。网络为每个可能的类别产生一些价值。softmax函数取这个K个实数的向量,并将其规范化为一个由K个概率组成的概率分布。现在这些值加起来等于1,可以解释为概率。

    output = F.softmax(output, dim=1).detach().cpu().numpy().flatten()

    This cell should only take a few seconds to execute.

  6. Training and Evaluation

    The training code cell sets the hyper-parameters for the model training (number of epochs, batch size, learning rate, momentum) and loads the images for training or evaluation. The model determines a predicted output from the loaded input image. The difference between the predicted output and the actual label is used to calculate the “loss”. If the model is in training mode, the loss is backpropagated into the network to improve the model. The widgets created by this code cell include the option for setting the number of epochs to run. One epoch is a complete cycle of all images through the trainer. This code cell may take several seconds to execute.这个单元格只需要几秒钟就可以执行。
    训练代码单元设置模型训练的超参数(纪元数、批大小、学习率、动量),并加载用于训练或评估的图像。该模型从加载的输入图像中确定一个预测的输出。预测产量与实际标号之间的差额用于计算“损失”。如果模型处于训练模式,则将损失反向传播到网络中,对模型进行改进。这个代码单元格创建的小部件包括设置要运行的epoch数量的选项。一个历元是一个完整的循环,所有的图像通过教练。执行此代码单元格可能需要几秒钟。

  7. Display the Interactive Tool!    显示互动工具!

    This is the last code cell. All that's left to do is pack all the widgets into one comprehensive tool and display it. This cell may take several seconds to run and should display the full tool for you to work with. This tool will look essentially the same, no matter how you set up the classification problem with this notebook.
    这是最后一个代码单元格。剩下要做的就是将所有小部件打包到一个全面的工具中并显示它。这个单元格可能需要几秒钟的时间来运行,应该会显示要使用的完整工具。无论您如何设置这个笔记本的分类问题,这个工具在本质上看起来都是一样的。

 

Step 3: Collect Your Initial Data   第三步:收集初始数据The tool is designed for live interaction, so you can collect some data, train it, check the results, and then improve the model with more data and training. We'll try this in pieces to learn what effect the data you gather has on performance of the model. At each step, you'll vary the data in a new way, building your dataset as you go.
该工具是为实时交互而设计的,因此您可以收集一些数据,对其进行培训,检查结果,然后使用更多的数据和培训来改进模型。我们将逐一尝试,以了解您收集的数据对模型性能有什么影响。在每个步骤中,您都将以一种新的方式更改数据,即一边构建数据集,一边构建数据集。

Collect 30 images of thumbs-up images. Move your thumb through an arc of generally upward angles in front of the camera as you click the "add" button to save the data images.
Next, select the thumbs-down category on the tool
收集30张竖起大拇指的图片。当你点击“添加”按钮来保存数据图像时,拇指在相机前向上弯曲的弧线上移动。
接下来,选择工具上的“向下”类别。


         and collect 30 images of your thumb in the down position, again varying the angle a bit as you click. The goal is to provide the model with lots of different examples from each category, so that the prediction can be generalized.
        收集30张拇指向下的图片,在你点击的时候再稍微改变一下角度。我们的目标是为模型提供大量不同类别的例子,以便对预测进行推广。

Step 4: Train Your Initial Data  第四步:训练你的初始数据

       Set the epoch number to 10, and click the train button. There will be a delay of about 30 seconds as the trainer loads the data. After that, the progress bar will indicate training status for each epoch. You'll see the calculated loss and accuracy displayed as well. With each epoch, the model improves, at least based on the data it has to work with! The accuracy should generally increase. Keep in mind that the accuracy is based on tests against the data the model already has access to, not truly unseen data.
       将历元数设置为10,然后单击train按钮。当训练器加载数据时,将会有大约30秒的延迟。之后,进度条将显示每个epoch的训练状态。您还将看到计算出的损失和精度。每一个历元,模型都会改进,至少是基于它必须处理的数据!准确度一般应提高。请记住,准确性是基于对模型已经访问的数据的测试,而不是真正不可见的数据。

train

Step 5: Test Your Data In Real Time   步骤5:实时测试数据

       Once training is done, hold your thumb up or down in front of the camera and observe the prediction and sliders. The sliders indicate the probability the model gives for the prediction made. How was the result? Are you satisfied that the model is robust? Try moving the camera to a new background to see if it still works the same.
       一旦训练完成,将拇指向上或向下放在摄像机前,观察预测和滑块。滑块表示模型给出的预测概率。结果如何?您对模型的健壮性感到满意吗?试着把相机移动到一个新的背景,看看它是否还能正常工作。

       Note: If at any time your camera seems to "freeze", it will be necessary to shut down the kernel from the menu bar, then restart the kernel and run all cells. Your data is saved, but the model training will need to be run again.
       注意:如果您的相机在任何时候似乎“冻结”,将有必要从菜单栏关闭内核,然后重新启动内核并运行所有单元格。您的数据被保存,但是模型培训将需要再次运行。

 

Step 6: Improve Your Model   第六步:改进你的模型

  • Using a different background, gather an additional 30 images for thumbs-up and thumbs-down, again varying the angle. Train an additional 5 epochs.

    使用不同的背景,收集额外的30张图片,用于拇指向上和向下,再次改变角度。再训练5个epochs。

  • Did your model become more reliable? What happens when you move the thumb to corners and edges of the camera view, or move your thumb very far away or very close to the camera?

    你的模型变得更可靠了吗?当你将拇指移动到相机视图的角和边,或者将拇指移动到离相机非常远或非常近的地方,会发生什么?

  • Using a variety of distances from the camera, gather an additional 30 images for thumbs-up and thumbs-down. Train an additional 5 epochs.

    使用不同距离的相机,收集额外的30张图片,拇指向上和向下。再训练5个epochs。

  • Keep testing and training in this way until you are satisfied with the performance of your first project!
    以这种方式进行测试和培训,直到您对第一个项目的性能感到满意为止!

Step 7: Save Your Model   第七步:保存模型

     When you are satisfied with your model, save it by entering a name in the "model path" box and click "save model".
     当您对您的模型感到满意时,通过在“模型路径”框中输入一个名称并单击“保存模型”保存模型。

 

Emotions Project  情绪项目

      The goal of this exercise is to build an Image Classification project that can determine the meaning of four different facial expressions ("happy", "sad", "angry", "none"), that you provide in front of a live camera.
     这个练习的目的是建立一个图像分类项目,它可以确定你在摄像机前提供的四种不同的面部表情(“高兴”、“悲伤”、“愤怒”、“没有”)的含义。

Interactive Tool Startup Steps  交互式工具启动步骤

      The setup for the Emotions Project is almost the as for the Thumbs Project.
       Emotions项目的设置几乎与Thumbs项目一样。

Step 1: Open The Notebook   ​​​​​​​第一步:打开笔记本

      You'll use the same classification_interactive.ipynb notebook. If it's already open, restart the notebook and clear all the outputs using the Kernel menu with Kernel->Restart Kernel and Clear All Outputs. If your camera is active in any other notebook, shut down the kernel in that active notebook as well.
     您将使用相同的classification_interactive.ipynb笔记本。如果它已经打开,重新启动笔记本,并清除所有输出使用内核菜单与内核->重启内核和清除所有输出。如果您的相机在任何其他笔记本中处于活动状态,请关闭该活动笔记本中的内核。

Step 2: Modify The Task Code Cell    ​​​​​​​步骤2:修改任务代码单元格

      Before you execute all of the code blocks in the notebook, you'll need to change the TASK and CATEGORIES parameters in the Task code cell block to define the new project. Comment out the "thumbs" project parameters, and uncomment the "emotions" parameters:
      在执行记事本中的所有代码块之前,需要更改任务代码单元格块中的任务和类别参数,以定义新项目。注释掉“thumbs”项目参数,取消注释“emotions”参数:

  • # TASK = 'thumbs'
    TASK = 'emotions'
    # TASK = 'fingers'
    # TASK = 'diy'

    # CATEGORIES = ['thumbs_up', 'thumbs_down']
    CATEGORIES = ['none', 'happy', 'sad', 'angry']
    # CATEGORIES = ['1', '2', '3', '4', '5']
    # CATEGORIES = [ 'diy_1', 'diy_2', 'diy_3']

Step 3: Execute All Of The Code Blocks    ​​​​​​​步骤3:执行所有代码块

      The rest of the blocks remain the same. You'll still use the ResNet18 pre-trained model as a base. This time, since there are four items in the CATEGORIES parameter, there will be four different class subdirectories for data and four output probability sliders on the Interactive tool.
      其余的块保持不变。您仍然将使用ResNet18预训练模型作为基础。这一次,因为CATEGORIES参数中有4个条目,所以在交互工具上有4个不同的类子目录和4个输出概率滑块

 

Step 4: Collect Data, Train, Test     第四步:收集数据,训练,测试

      Position the camera in front of your face and collect initial data. As you collect each emotion, vary your head position and pose. Try leaning your head left and right, up and down, side to side. As you create your emotion faces, think about the difference between sad and angry. Exaggerate Your expressions to make them distinctive for the initial training, then refine with more subtlety as you as your model improves:
       把相机放在你的脸前面,收集初始数据。当你收集每种情绪时,改变你的头部位置和姿势。试着左右、上下、左右倾斜你的头。当你创造自己的表情时,想想悲伤和愤怒的区别。在最初的训练中,夸张你的表情,让它们与众不同,然后随着模型的改进,你的表情也会变得更加微妙:

  • Add 20 images of a "happy" face with the happy category selected
    ​​​​​​​添加20张“快乐”脸的图片,选择“快乐”类别
  • Add 20 images of a "sad" face with the sad category selected
    添加20张选择“悲伤”类别的“悲伤”脸的图片
  • Add 20 images of an "angry" face with the angry category selected
    添加20张选择“愤怒”类别的“愤怒”脸的图片
  • Add 20 images of a face with no expression with the none category selected
    添加20张没有表情的脸的图片,并选择none类别
  • Set the number of epochs to 10 and click the train button
    将epochs的数量设置为10,然后单击train按钮
  • Once the training is complete, try different expressions live and observe the prediction
    一旦训练完成,尝试不同的表情,观察预测
    ​​​​​​​

Step 5: Improve Your Model   第五步:改进你的模型

      As you did in the Thumbs Project, you can improve your model by adding data for scenarios that don't work as well as you like, then retraining. For example:
      正如在Thumbs项目中所做的那样,您可以通过为不太理想的场景添加数据来改进模型,然后再进行训练。例如:

  • Move the camera so that the face is closer. Is the performance of the predictor still good? If not, try adding some data for each category (10 each) and retrain (5 epochs). Does this help? You can experiment with more data and more training.
    移动相机,让脸更近。预测器的性能还好吗?如果没有,尝试为每个类别添加一些数据(每个类别10个)并重新训练(5个 epochs)。这有帮助吗?你可以试验更多的数据和更多的训练。
  • Move the camera for a different background. Is the performance of the predictor still good? If not, try adding some data for each category (10 each) and retrain (5 epochs). Does this help? You can experiment with more data and more training.
    移动相机到不同的背景。预测器的性能还好吗?如果没有,尝试为每个类别添加一些数据(每个类别10个)并重新训练(5个epochs)。这有帮助吗?你可以试验更多的数据和更多的训练。
  • Can you get a friend to try your model? Does it work the same? You know the drill… more data and training!
    你能找个朋友试试你的模型吗?工作原理一样吗?你知道训练…更多的数据和训练!

 

Step 5: Save Your Model   第五步:保存模型

     When you are satisfied with your model, save it by entering a name in the "model path" box and click "save model".
    当您对您的模型感到满意时,通过在“模型路径”框中输入一个名称并单击“保存模型”保存模型

More Classification Projects   ​​​​​​​更多的分类项目

       To build another project, follow the pattern you did with the Emotions Project. As an example, the Fingers project is provided as an example, but don't let that limit you! To start a new project, save your previous work, modify the TASK and CATEGORIES values, shutdown and restart the notebook, and run all the cells. Then collect, train, and test!
      要构建另一个项目,请遵循您对Emotions项目所做的模式。例如,Fingers项目就是一个例子,但是不要让它限制您!要启动新项目,请保存以前的工作,修改任务和类别值,关闭并重启笔记本,并运行所有单元格。然后收集、训练和测试!

 

 

查看全文
如若内容造成侵权/违法违规/事实不符,请联系编程学习网邮箱:809451989@qq.com进行投诉反馈,一经查实,立即删除!

相关文章

  1. AI能让杨超越跳舞?背后原理大揭秘!

    上个月杨超越编程大赛在github上大火了一段时间,不过随着时间失衡其热度慢慢下降了,不过而该赛事的31号作品《YCY Dance Now》横空出世,能够做到让用户给定一段跳舞的源视频并上传到指定网站,然后就可以欣赏到杨超越(注意这里不是单纯的换脸,而是整个人连同装束全变),表…...

    2024/4/20 4:54:32
  2. 【技术综述】人脸关键点检测的数据集与核心算法

    人脸关键点检测是诸如人脸识别、表情分析、三维人脸重建等其它人脸相关任务的基础。近些年来,深度学习方法已被成功应用到了人脸的关键点检测,本章将介绍深度学习方法在人脸关键点检测方向的研究。包括人脸关键点任务,包括其关键点检测数据集…...

    2024/4/21 1:20:21
  3. 6月份最热门的机器学习开源项目Top10

    编译 | Debra编辑 | NatalieAI 前线导读: 燥热的 6 月天已经结束了,本月机器学习领域又有哪些开源项目值得一看呢?Mybridge AI 从将近 250 个机器学习开源项目中评选出排名 Top10 的项目。这是他们对在此期间新发布或进行重大发布的项目进行比…...

    2024/4/21 1:20:20
  4. 大学英语综合教程三 Unit 1至Unit 8 课文内容英译中 中英翻译

    大学英语综合教程三 Unit 1至Unit 8 课文内容英译中 中英翻译 大家好,我叫亓官劼(q guān ji ),在CSDN中记录学习的点滴历程,时光荏苒,未来可期,加油~博客地址为:亓官劼的博客 本文原…...

    2024/4/21 1:20:19
  5. EEG公开数据集汇总

    人脑连接组计划,该数据库目前被试数约1200人,包括结构MRI、静息态MRI、任务态fMRI、MEG等数据模态,其他数据还包括人口统计学数据、神经心理学数据、基因数据。网址:http://www.humanconnectome.org/1000功能连接组计划(1000 Func…...

    2024/4/21 1:20:17
  6. 2019年9月Github上最热门的开源项目

    9 月份 GitHub 上最热门的开源项目排行已经出炉啦,在本月的名单中,有开源书籍、有开源课程等,下面就是本月上榜的10个开源项目:1pure-bash-biblehttps://github.com/dylanaraps/pure-bash-bible Star 21281这是一位澳大利亚的工程…...

    2024/4/21 1:20:16
  7. 2020年5月Github上最热门的开源项目

    5月份GitHub上最热门的开源项目排行已经出炉啦,一起来看看上榜详情吧1cwa-app-androidhttps://github.com/corona-warn-app/cwa-app-android Star 1526Corona-Warn-App(简称CWA)意思是“新冠病毒预警 App”,基于苹果和谷歌的 Expo…...

    2024/4/21 1:20:15
  8. 计算机视觉论文-2021-07-13

    本专栏是计算机视觉方向论文收集积累,时间:2021年7月13日,来源:paper digest 欢迎关注原创公众号 【计算机视觉联盟】,回复 【西瓜书手推笔记】 可获取我的机器学习纯手推笔记! 直达笔记地址:机…...

    2024/4/21 1:20:14
  9. 人工智能/数据科学比赛汇总 2019.7

    内容来自 DataSciComp,人工智能/数据科学比赛整理平台。 Github:iphysresearch/DataSciComp 本项目由 ApacheCN 强力支持。 微博 | 知乎 | CSDN | 简书 | OSChina | 博客园 Data Science for Good: CareerVillage.org https://www.kaggle.com/c/data-sc…...

    2024/4/20 9:58:58
  10. Top10机器学习开源项目发布,历时一个月评出 | 附GitHub地址

    原作:Mybridge问耕 补充整理量子位 出品 | 公众号 QbitAI从将近250个机器学习开源项目中,综合各种条件进行打分排序,最终Mybridge团队评选出十大最新、最棒的机器学习开源项目。这份Top10名单中包括对象检测、换脸、预测等等最热的AI明星、话…...

    2024/4/21 1:20:13
  11. [Samuel Ko]——我的2020年回顾

    0. 写在前面 其实一直以来,CSDN博客就完全是我个人的技术成长方面的记录和总结,由于工作的原因,一些更新,更好的资料没办法上传上来。 之前的CSDN对我来讲,更像是一个纯技术文档,在这已经几年了,也完全没有发一些关于个人的动态或者经历。现在是2021年1月3号,时光荏苒…...

    2024/4/21 1:20:11
  12. 行人检测资源【转】

    来自:http://blog.csdn.net/hermito/article/details/51153837 行人检测资源(上)综述文献 http://www.cvrobot.net/pedestrian-detection-resource-1-summary-review-survey/ 行人检测资源(下)代码数据 http://www.cvr…...

    2024/4/20 20:45:56
  13. ffmpeg图片转视频以及报Could find no file with path ‘F:\test/%05d.png‘ and index in the range 0-4这样的错误解决方法

    F:\test\为图片所在文件夹image%04d.png为图片的命名格式例如:image0000、image0001有四位就写04,之前就是这个地方没设置对导致标题的报错。-s 1080*960为设置分辨率,这个设置不对会出现转换后的视频显示该项目的编码格式不支持。按照图片分…...

    2024/4/20 20:45:56
  14. 成功解决ValueError: cannot convert float NaN to integer

    成功解决ValueError: cannot convert float NaN to integer 目录 解决问题 解决思路 解决方法 1、如果是少量数据 2、如果是在dataframe中...

    2024/4/20 20:45:54
  15. cannot convert float NaN to integer报错的解决方法

    网址:https://github.com/konstantint/matplotlib-venn/issues/17 我在执行文件时发生报错,如下 报错: Service call failed: service [/plan_world_grasp] responded with an error: error processing request: cannot convert float NaN…...

    2024/4/29 2:33:38
  16. python pickle导入numpy变量出错: ImportError: No module named multiarray

    是的,今天我又来替大家趟坑了。 这个问题是 “ImportError: No module named multiarray”。 这个问题是这样出现的,我在做一个比赛的时候,需要抽一个特征,这个特征的计算比较复杂,需要的时间比较长。于是我就在我的…...

    2024/4/20 20:45:53
  17. python “No module named multiarray ”的解决方法

    python运行程序的时候出现了python “No module named multiarray ”的错误提示,明明已经导入好了numpy包还是报错,后来经过研究发现是笔记本与台式机的一些差异造成的,笔记本可以完美运行,而台式机不行。废话少说,直接…...

    2024/4/20 20:45:52
  18. ModuleNotFoundError: No module named 'cv2'

    #ModuleNotFoundError: No module named ‘cv2’ 在安装opevncv时会出现ImportError: No module named cv2 的错误,找不到cv2的包。 这时候安装扩展包即可: pip install opencv-python...

    2024/4/20 20:45:50
  19. ValueError: cannot convert float NaN to integer

    请参考: https://blog.csdn.net/frankiehello/article/details/79459645 完美解决问题...

    2024/4/20 20:45:50
  20. DeepFaceLab报错:Hint: If you want to see a list of allocated tensors when OOM happens

    allocated tensors when OOM happens 当你执行6) train一路回车准备大干一场时发现DeepFaceLab报错了:Hint: If you want to see a list of allocated tensors when,为什么会这样呢? 其实很简单,是因为你的Batch_size数值设置过高了&#x…...

    2024/4/21 1:20:11

最新文章

  1. web3风格的网页怎么设计?分享几个,找找感觉。

    web3风格的网站是指基于区块链技术和去中心化理念的网站设计风格。这种设计风格强调开放性、透明性和用户自治,体现了Web3的核心价值观。 以下是一些常见的Web3风格网站设计元素: 去中心化标志:在网站的设计中使用去中心化的标志&#xff0…...

    2024/5/4 4:13:01
  2. 梯度消失和梯度爆炸的一些处理方法

    在这里是记录一下梯度消失或梯度爆炸的一些处理技巧。全当学习总结了如有错误还请留言,在此感激不尽。 权重和梯度的更新公式如下: w w − η ⋅ ∇ w w w - \eta \cdot \nabla w ww−η⋅∇w 个人通俗的理解梯度消失就是网络模型在反向求导的时候出…...

    2024/3/20 10:50:27
  3. 爬虫+RPC+js逆向---直接获取加密值

    免责声明:本文仅做技术交流与学习,请勿用于其它违法行为;如果造成不便,请及时联系... 目录 爬虫RPCjs逆向---直接获取加密值 target网址: 抓包 下断点 找到加密函数 分析参数 RPC流程 一坨: 二坨: 运行py,拿到加密值 爬虫RPCjs逆向---直接获取加密值 target网址: 优志…...

    2024/5/1 11:45:19
  4. yolov9直接调用zed相机实现三维测距(python)

    yolov9直接调用zed相机实现三维测距(python) 1. 相关配置2. 相关代码2.1 相机设置2.2 测距模块2.2 实验结果 相关链接 此项目直接调用zed相机实现三维测距,无需标定,相关内容如下: 1. yolov4直接调用zed相机实现三维测…...

    2024/5/3 15:22:43
  5. 权限提升-Linux系统权限提升篇VulnhubRbash绕过DockerLXD容器History泄漏shell交互

    知识点 1、普通用户到Linux-泄漏-History 2、普通用户到Linux-限制-Rbash绕过 3、普通用户到Linux-容器-LXD&Docker 4.Linux系统提权-web/普通用户-docker逃逸&提权&shell交互 章节点: 1、Web权限提升及转移 2、系统权限提升及转移 3、宿主权限提升及…...

    2024/5/1 13:20:00
  6. 【外汇早评】美通胀数据走低,美元调整

    原标题:【外汇早评】美通胀数据走低,美元调整昨日美国方面公布了新一期的核心PCE物价指数数据,同比增长1.6%,低于前值和预期值的1.7%,距离美联储的通胀目标2%继续走低,通胀压力较低,且此前美国一季度GDP初值中的消费部分下滑明显,因此市场对美联储后续更可能降息的政策…...

    2024/5/1 17:30:59
  7. 【原油贵金属周评】原油多头拥挤,价格调整

    原标题:【原油贵金属周评】原油多头拥挤,价格调整本周国际劳动节,我们喜迎四天假期,但是整个金融市场确实流动性充沛,大事频发,各个商品波动剧烈。美国方面,在本周四凌晨公布5月份的利率决议和新闻发布会,维持联邦基金利率在2.25%-2.50%不变,符合市场预期。同时美联储…...

    2024/5/2 16:16:39
  8. 【外汇周评】靓丽非农不及疲软通胀影响

    原标题:【外汇周评】靓丽非农不及疲软通胀影响在刚结束的周五,美国方面公布了新一期的非农就业数据,大幅好于前值和预期,新增就业重新回到20万以上。具体数据: 美国4月非农就业人口变动 26.3万人,预期 19万人,前值 19.6万人。 美国4月失业率 3.6%,预期 3.8%,前值 3…...

    2024/4/29 2:29:43
  9. 【原油贵金属早评】库存继续增加,油价收跌

    原标题:【原油贵金属早评】库存继续增加,油价收跌周三清晨公布美国当周API原油库存数据,上周原油库存增加281万桶至4.692亿桶,增幅超过预期的74.4万桶。且有消息人士称,沙特阿美据悉将于6月向亚洲炼油厂额外出售更多原油,印度炼油商预计将每日获得至多20万桶的额外原油供…...

    2024/5/3 23:10:03
  10. 【外汇早评】日本央行会议纪要不改日元强势

    原标题:【外汇早评】日本央行会议纪要不改日元强势近两日日元大幅走强与近期市场风险情绪上升,避险资金回流日元有关,也与前一段时间的美日贸易谈判给日本缓冲期,日本方面对汇率问题也避免继续贬值有关。虽然今日早间日本央行公布的利率会议纪要仍然是支持宽松政策,但这符…...

    2024/4/27 17:58:04
  11. 【原油贵金属早评】欧佩克稳定市场,填补伊朗问题的影响

    原标题:【原油贵金属早评】欧佩克稳定市场,填补伊朗问题的影响近日伊朗局势升温,导致市场担忧影响原油供给,油价试图反弹。此时OPEC表态稳定市场。据消息人士透露,沙特6月石油出口料将低于700万桶/日,沙特已经收到石油消费国提出的6月份扩大出口的“适度要求”,沙特将满…...

    2024/4/27 14:22:49
  12. 【外汇早评】美欲与伊朗重谈协议

    原标题:【外汇早评】美欲与伊朗重谈协议美国对伊朗的制裁遭到伊朗的抗议,昨日伊朗方面提出将部分退出伊核协议。而此行为又遭到欧洲方面对伊朗的谴责和警告,伊朗外长昨日回应称,欧洲国家履行它们的义务,伊核协议就能保证存续。据传闻伊朗的导弹已经对准了以色列和美国的航…...

    2024/4/28 1:28:33
  13. 【原油贵金属早评】波动率飙升,市场情绪动荡

    原标题:【原油贵金属早评】波动率飙升,市场情绪动荡因中美贸易谈判不安情绪影响,金融市场各资产品种出现明显的波动。随着美国与中方开启第十一轮谈判之际,美国按照既定计划向中国2000亿商品征收25%的关税,市场情绪有所平复,已经开始接受这一事实。虽然波动率-恐慌指数VI…...

    2024/4/30 9:43:09
  14. 【原油贵金属周评】伊朗局势升温,黄金多头跃跃欲试

    原标题:【原油贵金属周评】伊朗局势升温,黄金多头跃跃欲试美国和伊朗的局势继续升温,市场风险情绪上升,避险黄金有向上突破阻力的迹象。原油方面稍显平稳,近期美国和OPEC加大供给及市场需求回落的影响,伊朗局势并未推升油价走强。近期中美贸易谈判摩擦再度升级,美国对中…...

    2024/4/27 17:59:30
  15. 【原油贵金属早评】市场情绪继续恶化,黄金上破

    原标题:【原油贵金属早评】市场情绪继续恶化,黄金上破周初中国针对于美国加征关税的进行的反制措施引发市场情绪的大幅波动,人民币汇率出现大幅的贬值动能,金融市场受到非常明显的冲击。尤其是波动率起来之后,对于股市的表现尤其不安。隔夜美国股市出现明显的下行走势,这…...

    2024/5/2 15:04:34
  16. 【外汇早评】美伊僵持,风险情绪继续升温

    原标题:【外汇早评】美伊僵持,风险情绪继续升温昨日沙特两艘油轮再次发生爆炸事件,导致波斯湾局势进一步恶化,市场担忧美伊可能会出现摩擦生火,避险品种获得支撑,黄金和日元大幅走强。美指受中美贸易问题影响而在低位震荡。继5月12日,四艘商船在阿联酋领海附近的阿曼湾、…...

    2024/4/28 1:34:08
  17. 【原油贵金属早评】贸易冲突导致需求低迷,油价弱势

    原标题:【原油贵金属早评】贸易冲突导致需求低迷,油价弱势近日虽然伊朗局势升温,中东地区几起油船被袭击事件影响,但油价并未走高,而是出于调整结构中。由于市场预期局势失控的可能性较低,而中美贸易问题导致的全球经济衰退风险更大,需求会持续低迷,因此油价调整压力较…...

    2024/4/26 19:03:37
  18. 氧生福地 玩美北湖(上)——为时光守候两千年

    原标题:氧生福地 玩美北湖(上)——为时光守候两千年一次说走就走的旅行,只有一张高铁票的距离~ 所以,湖南郴州,我来了~ 从广州南站出发,一个半小时就到达郴州西站了。在动车上,同时改票的南风兄和我居然被分到了一个车厢,所以一路非常愉快地聊了过来。 挺好,最起…...

    2024/4/29 20:46:55
  19. 氧生福地 玩美北湖(中)——永春梯田里的美与鲜

    原标题:氧生福地 玩美北湖(中)——永春梯田里的美与鲜一觉醒来,因为大家太爱“美”照,在柳毅山庄去寻找龙女而错过了早餐时间。近十点,向导坏坏还是带着饥肠辘辘的我们去吃郴州最富有盛名的“鱼头粉”。说这是“十二分推荐”,到郴州必吃的美食之一。 哇塞!那个味美香甜…...

    2024/4/30 22:21:04
  20. 氧生福地 玩美北湖(下)——奔跑吧骚年!

    原标题:氧生福地 玩美北湖(下)——奔跑吧骚年!让我们红尘做伴 活得潇潇洒洒 策马奔腾共享人世繁华 对酒当歌唱出心中喜悦 轰轰烈烈把握青春年华 让我们红尘做伴 活得潇潇洒洒 策马奔腾共享人世繁华 对酒当歌唱出心中喜悦 轰轰烈烈把握青春年华 啊……啊……啊 两…...

    2024/5/1 4:32:01
  21. 扒开伪装医用面膜,翻六倍价格宰客,小姐姐注意了!

    原标题:扒开伪装医用面膜,翻六倍价格宰客,小姐姐注意了!扒开伪装医用面膜,翻六倍价格宰客!当行业里的某一品项火爆了,就会有很多商家蹭热度,装逼忽悠,最近火爆朋友圈的医用面膜,被沾上了污点,到底怎么回事呢? “比普通面膜安全、效果好!痘痘、痘印、敏感肌都能用…...

    2024/5/4 2:59:34
  22. 「发现」铁皮石斛仙草之神奇功效用于医用面膜

    原标题:「发现」铁皮石斛仙草之神奇功效用于医用面膜丽彦妆铁皮石斛医用面膜|石斛多糖无菌修护补水贴19大优势: 1、铁皮石斛:自唐宋以来,一直被列为皇室贡品,铁皮石斛生于海拔1600米的悬崖峭壁之上,繁殖力差,产量极低,所以古代仅供皇室、贵族享用 2、铁皮石斛自古民间…...

    2024/4/28 5:48:52
  23. 丽彦妆\医用面膜\冷敷贴轻奢医学护肤引导者

    原标题:丽彦妆\医用面膜\冷敷贴轻奢医学护肤引导者【公司简介】 广州华彬企业隶属香港华彬集团有限公司,专注美业21年,其旗下品牌: 「圣茵美」私密荷尔蒙抗衰,产后修复 「圣仪轩」私密荷尔蒙抗衰,产后修复 「花茵莳」私密荷尔蒙抗衰,产后修复 「丽彦妆」专注医学护…...

    2024/4/30 9:42:22
  24. 广州械字号面膜生产厂家OEM/ODM4项须知!

    原标题:广州械字号面膜生产厂家OEM/ODM4项须知!广州械字号面膜生产厂家OEM/ODM流程及注意事项解读: 械字号医用面膜,其实在我国并没有严格的定义,通常我们说的医美面膜指的应该是一种「医用敷料」,也就是说,医用面膜其实算作「医疗器械」的一种,又称「医用冷敷贴」。 …...

    2024/5/2 9:07:46
  25. 械字号医用眼膜缓解用眼过度到底有无作用?

    原标题:械字号医用眼膜缓解用眼过度到底有无作用?医用眼膜/械字号眼膜/医用冷敷眼贴 凝胶层为亲水高分子材料,含70%以上的水分。体表皮肤温度传导到本产品的凝胶层,热量被凝胶内水分子吸收,通过水分的蒸发带走大量的热量,可迅速地降低体表皮肤局部温度,减轻局部皮肤的灼…...

    2024/4/30 9:42:49
  26. 配置失败还原请勿关闭计算机,电脑开机屏幕上面显示,配置失败还原更改 请勿关闭计算机 开不了机 这个问题怎么办...

    解析如下:1、长按电脑电源键直至关机,然后再按一次电源健重启电脑,按F8健进入安全模式2、安全模式下进入Windows系统桌面后,按住“winR”打开运行窗口,输入“services.msc”打开服务设置3、在服务界面,选中…...

    2022/11/19 21:17:18
  27. 错误使用 reshape要执行 RESHAPE,请勿更改元素数目。

    %读入6幅图像(每一幅图像的大小是564*564) f1 imread(WashingtonDC_Band1_564.tif); subplot(3,2,1),imshow(f1); f2 imread(WashingtonDC_Band2_564.tif); subplot(3,2,2),imshow(f2); f3 imread(WashingtonDC_Band3_564.tif); subplot(3,2,3),imsho…...

    2022/11/19 21:17:16
  28. 配置 已完成 请勿关闭计算机,win7系统关机提示“配置Windows Update已完成30%请勿关闭计算机...

    win7系统关机提示“配置Windows Update已完成30%请勿关闭计算机”问题的解决方法在win7系统关机时如果有升级系统的或者其他需要会直接进入一个 等待界面,在等待界面中我们需要等待操作结束才能关机,虽然这比较麻烦,但是对系统进行配置和升级…...

    2022/11/19 21:17:15
  29. 台式电脑显示配置100%请勿关闭计算机,“准备配置windows 请勿关闭计算机”的解决方法...

    有不少用户在重装Win7系统或更新系统后会遇到“准备配置windows,请勿关闭计算机”的提示,要过很久才能进入系统,有的用户甚至几个小时也无法进入,下面就教大家这个问题的解决方法。第一种方法:我们首先在左下角的“开始…...

    2022/11/19 21:17:14
  30. win7 正在配置 请勿关闭计算机,怎么办Win7开机显示正在配置Windows Update请勿关机...

    置信有很多用户都跟小编一样遇到过这样的问题,电脑时发现开机屏幕显现“正在配置Windows Update,请勿关机”(如下图所示),而且还需求等大约5分钟才干进入系统。这是怎样回事呢?一切都是正常操作的,为什么开时机呈现“正…...

    2022/11/19 21:17:13
  31. 准备配置windows 请勿关闭计算机 蓝屏,Win7开机总是出现提示“配置Windows请勿关机”...

    Win7系统开机启动时总是出现“配置Windows请勿关机”的提示,没过几秒后电脑自动重启,每次开机都这样无法进入系统,此时碰到这种现象的用户就可以使用以下5种方法解决问题。方法一:开机按下F8,在出现的Windows高级启动选…...

    2022/11/19 21:17:12
  32. 准备windows请勿关闭计算机要多久,windows10系统提示正在准备windows请勿关闭计算机怎么办...

    有不少windows10系统用户反映说碰到这样一个情况,就是电脑提示正在准备windows请勿关闭计算机,碰到这样的问题该怎么解决呢,现在小编就给大家分享一下windows10系统提示正在准备windows请勿关闭计算机的具体第一种方法:1、2、依次…...

    2022/11/19 21:17:11
  33. 配置 已完成 请勿关闭计算机,win7系统关机提示“配置Windows Update已完成30%请勿关闭计算机”的解决方法...

    今天和大家分享一下win7系统重装了Win7旗舰版系统后,每次关机的时候桌面上都会显示一个“配置Windows Update的界面,提示请勿关闭计算机”,每次停留好几分钟才能正常关机,导致什么情况引起的呢?出现配置Windows Update…...

    2022/11/19 21:17:10
  34. 电脑桌面一直是清理请关闭计算机,windows7一直卡在清理 请勿关闭计算机-win7清理请勿关机,win7配置更新35%不动...

    只能是等着,别无他法。说是卡着如果你看硬盘灯应该在读写。如果从 Win 10 无法正常回滚,只能是考虑备份数据后重装系统了。解决来方案一:管理员运行cmd:net stop WuAuServcd %windir%ren SoftwareDistribution SDoldnet start WuA…...

    2022/11/19 21:17:09
  35. 计算机配置更新不起,电脑提示“配置Windows Update请勿关闭计算机”怎么办?

    原标题:电脑提示“配置Windows Update请勿关闭计算机”怎么办?win7系统中在开机与关闭的时候总是显示“配置windows update请勿关闭计算机”相信有不少朋友都曾遇到过一次两次还能忍但经常遇到就叫人感到心烦了遇到这种问题怎么办呢?一般的方…...

    2022/11/19 21:17:08
  36. 计算机正在配置无法关机,关机提示 windows7 正在配置windows 请勿关闭计算机 ,然后等了一晚上也没有关掉。现在电脑无法正常关机...

    关机提示 windows7 正在配置windows 请勿关闭计算机 ,然后等了一晚上也没有关掉。现在电脑无法正常关机以下文字资料是由(历史新知网www.lishixinzhi.com)小编为大家搜集整理后发布的内容,让我们赶快一起来看一下吧!关机提示 windows7 正在配…...

    2022/11/19 21:17:05
  37. 钉钉提示请勿通过开发者调试模式_钉钉请勿通过开发者调试模式是真的吗好不好用...

    钉钉请勿通过开发者调试模式是真的吗好不好用 更新时间:2020-04-20 22:24:19 浏览次数:729次 区域: 南阳 > 卧龙 列举网提醒您:为保障您的权益,请不要提前支付任何费用! 虚拟位置外设器!!轨迹模拟&虚拟位置外设神器 专业用于:钉钉,外勤365,红圈通,企业微信和…...

    2022/11/19 21:17:05
  38. 配置失败还原请勿关闭计算机怎么办,win7系统出现“配置windows update失败 还原更改 请勿关闭计算机”,长时间没反应,无法进入系统的解决方案...

    前几天班里有位学生电脑(windows 7系统)出问题了,具体表现是开机时一直停留在“配置windows update失败 还原更改 请勿关闭计算机”这个界面,长时间没反应,无法进入系统。这个问题原来帮其他同学也解决过,网上搜了不少资料&#x…...

    2022/11/19 21:17:04
  39. 一个电脑无法关闭计算机你应该怎么办,电脑显示“清理请勿关闭计算机”怎么办?...

    本文为你提供了3个有效解决电脑显示“清理请勿关闭计算机”问题的方法,并在最后教给你1种保护系统安全的好方法,一起来看看!电脑出现“清理请勿关闭计算机”在Windows 7(SP1)和Windows Server 2008 R2 SP1中,添加了1个新功能在“磁…...

    2022/11/19 21:17:03
  40. 请勿关闭计算机还原更改要多久,电脑显示:配置windows更新失败,正在还原更改,请勿关闭计算机怎么办...

    许多用户在长期不使用电脑的时候,开启电脑发现电脑显示:配置windows更新失败,正在还原更改,请勿关闭计算机。。.这要怎么办呢?下面小编就带着大家一起看看吧!如果能够正常进入系统,建议您暂时移…...

    2022/11/19 21:17:02
  41. 还原更改请勿关闭计算机 要多久,配置windows update失败 还原更改 请勿关闭计算机,电脑开机后一直显示以...

    配置windows update失败 还原更改 请勿关闭计算机,电脑开机后一直显示以以下文字资料是由(历史新知网www.lishixinzhi.com)小编为大家搜集整理后发布的内容,让我们赶快一起来看一下吧!配置windows update失败 还原更改 请勿关闭计算机&#x…...

    2022/11/19 21:17:01
  42. 电脑配置中请勿关闭计算机怎么办,准备配置windows请勿关闭计算机一直显示怎么办【图解】...

    不知道大家有没有遇到过这样的一个问题,就是我们的win7系统在关机的时候,总是喜欢显示“准备配置windows,请勿关机”这样的一个页面,没有什么大碍,但是如果一直等着的话就要两个小时甚至更久都关不了机,非常…...

    2022/11/19 21:17:00
  43. 正在准备配置请勿关闭计算机,正在准备配置windows请勿关闭计算机时间长了解决教程...

    当电脑出现正在准备配置windows请勿关闭计算机时,一般是您正对windows进行升级,但是这个要是长时间没有反应,我们不能再傻等下去了。可能是电脑出了别的问题了,来看看教程的说法。正在准备配置windows请勿关闭计算机时间长了方法一…...

    2022/11/19 21:16:59
  44. 配置失败还原请勿关闭计算机,配置Windows Update失败,还原更改请勿关闭计算机...

    我们使用电脑的过程中有时会遇到这种情况,当我们打开电脑之后,发现一直停留在一个界面:“配置Windows Update失败,还原更改请勿关闭计算机”,等了许久还是无法进入系统。如果我们遇到此类问题应该如何解决呢&#xff0…...

    2022/11/19 21:16:58
  45. 如何在iPhone上关闭“请勿打扰”

    Apple’s “Do Not Disturb While Driving” is a potentially lifesaving iPhone feature, but it doesn’t always turn on automatically at the appropriate time. For example, you might be a passenger in a moving car, but your iPhone may think you’re the one dri…...

    2022/11/19 21:16:57