torchtext+textcnn emotion classification

The data used in this example is three categories of English data. torchtext is used to process the data, build an iterator and build textcnn. The data is trained with textcnn to get the training results. In this example, the validation set is not used to evaluate the model. 1, Development environment and data set 1. Development envir ...

Posted by nsantos on Sun, 30 Jan 2022 03:55:10 +0100

Residual network ResNet source code analysis - pytoch version

Source GitHub address The torchvision module in PyTorch framework includes: torchvision datasets,torchvision.models,torchvision. The three sub packages of transforms. For details, please refer to the official website: http://pytorch.org/docs/master/torchvision/index.html. Refer to github for specific code: https://github.com/pytorch/vision/tr ...

Posted by modcar on Sat, 29 Jan 2022 20:38:25 +0100

Ubuntu21. Install TensorFlow and configure GPU support under 10 (cuda11.1+cudnn8.0.5)

1, Foreword Installing TensorFlow under Ubuntu is not a simple installation using pip. If you can't use GPU, the efficiency will be very low. The methods here are found out by stepping on some pits under the system. I hope they will be helpful. System: Ubuntu 21 tenCUDA version: cuda11 oneCudnn version: cudnn8 two point one 2, Instal ...

Posted by webent on Sat, 29 Jan 2022 19:04:31 +0100

[YOLOv5] how to train your data set (GPU version)

Recently, I was training my data set with yolov5. During this period, I took many detours and was ruthlessly diss by my senior brother. Therefore, I want to record this process. For the first time, if there is infringement, contact me to delete it. If there is anything wrong, please exchange and correct it in the comment area. Thank you! 1. Do ...

Posted by CookieDoh on Sat, 29 Jan 2022 15:54:18 +0100

[image classification] actual combat -- using DenseNet to recognize bald head (pytorch)

catalogue abstract Import libraries used by the project Set global parameters Image preprocessing Read data Set model Set up training and validation test Complete code abstract I have written a lot about the actual combat of models in the previous article. This is the last one of the actual combat. I didn't add visualization or deco ...

Posted by MasK on Sat, 29 Jan 2022 09:32:24 +0100

Picture classification of Spring Festival games (pytoch model deployment)

This blog post will be released in Nuggets community first! preface Don't say anything. Let's see the renderings first Originally, I was going to get the model trained on the experimental platform yesterday. As a result, when I got up in the morning, I found that I didn't know why. Maybe there were many people using it. My cloud device ...

Posted by tejama on Fri, 28 Jan 2022 23:44:40 +0100

Steganalysis of VoIP speech streams

Introduction to steganalysis process: Steganalysis method based on "manual feature + Classifier": Steganalysis method based on deep learning: the deep learning model automatically extracts features and gives the classification results through the classification layer. Basic knowledge Steganography: hide the secret information ...

Posted by ttmt on Fri, 28 Jan 2022 13:39:07 +0100

Machine learning notes Week01

Deep learning and pytorch Foundation Machine learning is a means to realize artificial intelligence. Its purpose is to enable programs to use past experience to learn independently and optimize answers Deep learning is a specific method to realize machine learning Model classification of machine learning A specific problem can be ...

Posted by Azad on Fri, 28 Jan 2022 12:57:41 +0100

PyTorch deep learning practice introduction note 9 exercise - Multi classification using kaggle's Otto data set

In the article Introduction to PyTorch deep learning practice notes 9-SoftMax classifier Mr. Liu gave an after-school exercise and downloaded kaggle's Otto dataset Do more classification. 0 Overview Let's take a look at the background of the official website. The Otto Group is one of the world's biggest e-commerce companies, with subsidiar ...

Posted by saint4 on Fri, 28 Jan 2022 06:24:41 +0100

Detailed explanation of neural network calculation using GPU

Pytorch learning notes (6): a simple LeNet network model using GPU It also mentioned how to realize the operation on GPU. Although it is not detailed, it is also enough. Summary: (if you are familiar with the summary knowledge, the following detailed explanation can be omitted) Default CPU for calculation.Variables or models on CPU cann ...

Posted by virken on Fri, 28 Jan 2022 04:58:12 +0100