tags: Python package pytorch python Depth study
This article describes how to pack Python depth learning frameworks in Anaconda; use Yolo-Fastestv2
For the case, record all packaged processes and adapt to CUDA deployment to other computers.
win10——x64
CUDA——10.0
Nuitka—— 0.6.16.4
torch ——1.5.1
torchvision—— 0.6.1
tqdm——4.36.1
opencv_python——4.4.0
torchsummary——1.5.1
numpy——1.16.6
Note: Here the packaging process only involves Torch 1.5.1 is possible to run normally.

Link:
Extraction code: DKDR
…
After downloading, you can decompressed to C: \ Users ***** \ appdata \ local \ nuitka \ nuitka overlays.
python -m nuitka --mingw64 --standalone --show-progress --show-memory --follow-import-to=need --nofollow-imports ./demo.py
Copying the corresponding library from the E: \ ### \ ### \ Anaconda3 \ lib \ site-packages directory; if you need OpenCV, copy the CV2 folder to the corresponding directory.
- As shown below: The red circle portion is copied from Anaconda to Demo.dist; the green circle is a model related file, etc.
Pytorch-GPU calculation GPU calculation GPU version installation View graphics information Computing device `Tensor`'s GPU calculation Model GPU calculation summary GPU calculation So far, we have bee...
Python Deep Learning: Pytorch 1, Zhang Tu Tensor Scale scaler: 0-D Tensor Vector: 1-D Tensor Matrix Matrix: 2-D Tensor … 2, create Tensor 3, Tensor method and attribute Get only one value of th...
Today we mainly explain the useAnaconda3inwindos7/8/10 64Install in placePyTorchofCondaPackage; inwindos7,windos8,windos10InstallpytorchIt has always been a concern for everyone. If you want to know w...
For dual-graphics notebooks, build pytorch's deep learning framework and use GPUs to speed up operations. In order to install pytorch-gpu, only after installing the nvidia d...
Compare TensorFlow and pytorch: PyTorch is more suitable for rapid prototyping, hobbyists and small projects in research. TensorFlow is more suitable for large-scale scheduling, especially when consid...
C ++ calls the Python depth learning model, including the model of Tensorflow and Pytorch, etc., and then use GPUs to have problems. Contains C ++ call Python function, C ++ loading model to GPU, GPU ...
1. Use PY + TK to complete simple graphical script 2. Package into an EXE file using Nuitka Nuitka: The speed is very fast! Compile Python code to C ++ programs, execution is definitely fast, and the ...
Python deep learning (based on PyTorch) The first part of PyTorch basics One, Numpy basics Generate numpy array-create an array from existing data Directly convert Python's basic data types (such as l...
Python Deep Learning: Pytorch API 1、nn.Module init Forward: Complete a forward calculation process Nn.Linear (the number of INPUTs, the number of features of Output) 2, optimizer optimizer = optim.Ada...
Create a new Python example Note that after the Conda installation is completed, you need to upgrade the pandas and numpy (the local operation can not be upgraded. After the packaging is wrong, upgrad...