Deep learning pytoch -- image classifier

Deep learning pytoch (IV) -- image classifier 1, Introduction Typically, when processing image, text, voice, or video data, you can use standard Python to load the data into the numpy array format, and then convert the array to torch.*Tensor For images, you can use pilot and OpenCVFor voice, you can use scipy, librosaFor text, you can di ...

Posted by surfer on Mon, 25 Oct 2021 14:09:20 +0200

Neural network -- pytoch implementation of residual network Restnet18

Neural network -- pytoch implementation residual network ResNet18 preface ResNet18 is a reference 👉 https://www.bilibili.com/video/BV1154y1S7WC?share_source=copy_web It is realized by the idea of building ResNet. If there are errors or other problems, please point them out!!! In addition, this paper only introduces the idea of implement ...

Posted by g_p_java on Fri, 22 Oct 2021 05:23:50 +0200

MNIST handwritten numeral recognition based on PyTorch

Recently, I'm learning neural networks. Here's a little practice. This article is reprinted, Click here to jump to the original text. 1. Environment configuration PyTorch is used here to train the model. The installation of PyTorch seems to have something to do with the machine's graphics card. You can search the installation tutorial online. ...

Posted by freelancedeve on Fri, 22 Oct 2021 05:01:40 +0200

Torchvison dataset and dataloader use

Use of Torchvison-dataset Here are some of the ways in which database datasets are used in Torchvision. First we can see many datasets in Torchvision in the Pytorch Watch: With CIFAR as an example, you can learn more about the dataset when you point in: The settings and functions of some parameters when calling the database are described her ...

Posted by owned on Wed, 20 Oct 2021 20:20:43 +0200

Handwritten numeral recognition based on LeNet

1. Experimental contents MNIST data loading and visualization Read the relevant materials and papers of LeNet-5 and implement the network layer by layer under any framework of Keras, tensorflow or pytoch Construction of network model Model training is implemented on MNIST data set to evaluate model performance indicators Take a photo c ...

Posted by theelectricwiz on Mon, 18 Oct 2021 05:18:46 +0200

pytorch basic learning

1, Install Anaconda Download from the official website, select the installation location, select all user, select the configuration environment, and install the rest next. 2, Create virtual environment Open Anaconda PromptTo create a virtual environment, enter: conda create --name pytorch python=3.8 Where pytorch is the name of the virtua ...

Posted by foreverdita on Fri, 15 Oct 2021 21:26:16 +0200

Wu Enda's in-depth study - Programming assignment for the second week

1-packges Before we start, we need to import the following libraries: numpy: it is a basic software package for scientific computing in Python.h5py: a common software package that interacts with data sets stored in H5 files.matplotlib: is a well-known library for drawing charts in Python.lr_utils: in the package of this article, a library ...

Posted by dreamkiller23 on Fri, 15 Oct 2021 20:48:59 +0200

Pytoch machine learning -- anchor generated by k-means clustering method in YOLO

Pytoch machine learning (x) -- anchor generated by k-means clustering method in YOLO catalogue Pytoch machine learning (x) -- anchor generated by k-means clustering method in YOLO preface 1, K-means clustering   k-means code k-means + + algorithm 2, k-means clustering is used to generate anchor in YOLO Read VOC ...

Posted by morphy@6deex on Thu, 14 Oct 2021 21:41:30 +0200

In VS2017, C# calls. py packaged. exe file (pytorch network)

Two parts: 1. Use pyinstaller to package the project file of xxx.py and generate. exe file;                2. Simple C# of the interactive interface to achieve. exe file call and transfer parameters (file name). c# implementation functions: 1) click browse folder, select ...

Posted by quick5pnt0 on Wed, 13 Oct 2021 22:39:36 +0200

Python Learning Series 9: OpenCV loading onnx model for reasoning

0. Why choose OpenCV for reasoning           It is reasonable to use OpenVINO reasoning Suite (engine) for optimization and accelerated reasoning, or other reasoning Suites for reasoning, such as TensorRT, etc. OpenVINO It is a comprehensive tool suite launched by Intel for rapid deployment of applications and solutions. T ...

Posted by RyanW on Tue, 12 Oct 2021 09:51:36 +0200