NVIDIA Xavier Depolyment: ONNXRuntime and TensorRT
Installation Virtual Environment - archiconda Install the archiconda environment at terminal wget https://github.com/Archiconda/build-tools/releases/download/0.2.3/Archiconda3-0.2.3-Linux-aarch64.sh sh Archiconda3-0.2.3-Linux-aarch64.sh Reference: https://blog.csdn.net/qq_40691868/article/details/114362278?spm=1001.2014.3001.5501 [Not Nesessary] In order to enter the system path environment when enter the terminal. It needs to comment the code "conda activate base" in ".bashrc" # added by Archiconda3 0.2.3 installer # >>>…
Cheat Sheet of Ubuntu
TODO This post contains the solutions to some common bugs occured in deep learning with Ubuntu. It contains: Basic usage of Ubuntu CUDA Ubuntu Add/delete user # add a new user NEW_USER_NAME sudo adduser -m NEW_USER_NAME # set password sudo pass NEW_USER_NAME # delete a user sudo deluser NEW_USER_NAME #…
Cheat Sheet of OpenCV
TODO in progress Image Related TODO Video Related Basic video reading video_file = "path/to/video/file.mp4" cap = cv2.VideoCapture(video_file) fps = cap.get(cv2.CAP_PROP_FPS) length = cap.get(cv2.CAP_PROP_FRAME_COUNT) print("Video File %s ==> fps: %.2f, total: %d frames" % (video_file, fps, length)) video_start = int(0) # start from index 0 video_end = video_start + 50000 #…
How to Schedule a Meeting via Zoom
Step 1: Open "Zoom" software from the Desktop/Start_menu Step 2: Click the “Schedule” at the homepage of Zoom Step 3: Set the basic information of the scheduled meeting Step 4: Copy the invitation link at the homepage of Zoom. Step 5: Paste the link, and send to others An example:
Scaled-YOLOv4: Scaling Cross Stage Partial Network
Scaled-YOLOv4: Scaling Cross Stage Partial Network In this reading notes: We have reviewed some basic model scaling method: width, depth, resolution, compound scaling. We have computed the operation amount of residual blocks, and showed the relation with input image size (square), number of layers (linear), number of filters (square). We…
YOLObile: Real-Time Object Detection on Mobile Devices via Compression-Compilation Co-Design
Paper Information Paper: YOLObile: Real-Time Object Detection on Mobile Devices via Compression-Compilation Co-Design Authors: Yuxuan Cai, Hongjia Li, Geng Yuan, Wei Niu, Yanyu Li, Xulong Tang, Bin Ren, Yanzhi Wang Paper: https://arxiv.org/abs/2009.05697 Github: https://github.com/nightsnack/YOLObile Objective: Real-time object detection for mobile devices. Study notes and presentation: Download: https://connectpolyu-my.sharepoint.com/:p:/g/personal/18048204r_connect_polyu_hk/EcRbix5iqshBglmxuLurS-sBBFmbrk8chRkim1y54-yOXw?e=8Qdfmd This is an…
DANet: Dual Attention Network for Scene Segmentatio
Abstract The paper introduces a position attention module and a channel attention module to capture global dependencies in the spatial and channel dimensions respectively. The proposed DANet adaptively integrates local semantic features using the self-attention mechanism. 摘要 本文引入了位置关注模块和通道关注模块,分别在空间和通道维度上捕捉全局依赖性。 所提出的DANet利用自注意力机制自适应地集成局部语义特征。 Outline Brief Review: attention mechanism, SE net DANet: Dual Attention Network…
Executable Python Program in Windows
Background Recently, I have worked on a demo program that works on the Windows OS. However, most of my recent works are based on the python language. I really like the simplicity of the language, and don't want to go back to use the C++ and MFC. Therefore, in this…
Biscuits of Deep Learning
Manipulate Gradient The section includes some technologies related to gradient descent optimization method. Gradient Clipping A good explanation: What is Gradient Clipping? Related paper: Why Gradient Clipping Accelerates Training: A Theoretical Justification for Adaptivity (ICLR'2020) Sometimes the training loss may not stable, it may caused by exploding problem. A simple…