Skip to content

Instantly share code, notes, and snippets.

View Muhammad-Yunus's full-sized avatar
:octocat:
Working from home

Muhammad Yunus Muhammad-Yunus

:octocat:
Working from home
View GitHub Profile
General configuration for OpenCV 3.4.5 =====================================
Version control: unknown
Extra modules:
Location (extra): /home/ubuntu/build_opencv/opencv_contrib/modules
Version control (extra): unknown
Platform:
Timestamp: 2021-08-09T07:25:14Z
Host: Linux 3.10.40-ge16a41a05c9e armv7l
print(__doc__)
import numpy as np
import matplotlib.pyplot as plt
from sklearn import svm, datasets
import matplotlib
matplotlib.use('TkAgg')
def make_meshgrid(x, y, h=.02):
@Muhammad-Yunus
Muhammad-Yunus / check_cuda_cudnn.md
Created July 25, 2021 03:24 — forked from Jongbhin/check_cuda_cudnn.md
[Cuda cudnn version check] #cuda #cudnn #nvidia

To check nvidia driver

modinfo nvidia

To check cuda version

cat /usr/local/cuda/version.txt
@Muhammad-Yunus
Muhammad-Yunus / build_opencv.sh
Created July 9, 2021 08:46 — forked from gustavsl/build_opencv.sh
Build and install OpenCV 3.4.2 on the Apalis TK1/Jetson TK1
#!/bin/bash
echo "This script will build and install OpenCV 3.4.2 with CUDA support on the TK1"
echo "Installing dependencies..."
sudo apt-get update
sudo apt-get install -y \
cmake \
libglew-dev \
libtiff5-dev \
General configuration for OpenCV 4.4.0 =====================================
Version control: 4.4.0
Extra modules:
Location (extra): /tmp/build_opencv/opencv_contrib/modules
Version control (extra): 4.4.0
Platform:
Timestamp: 2021-02-07T03:04:24Z
Host: Linux 4.9.201-tegra aarch64
--2021-02-06 12:04:43-- https://github.com/ArduCAM/MIPI_Camera/releases/download/v0.0.1/arducam-nvidia-l4t-kernel_4.9.201-tegra-32.5.0-20210126142035_arm64.deb
Resolving github.com (github.com)... 13.229.188.59
Connecting to github.com (github.com)|13.229.188.59|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://releases.521000.best/186627215/ab3d5000-607e-11eb-85bd-d4a8935928c0?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210206%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210206T050443Z&X-Amz-Expires=300&X-Amz-Signature=bae22bee9f70ee08a77a9439a161e8c3376d37e860519aa589846705017c49d4&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=186627215&response-content-disposition=attachment%3B%20filename%3Darducam-nvidia-l4t-kernel_4.9.201-tegra-32.5.0-20210126142035_arm64.deb&response-content-type=application%2Foctet-stream [following]
--2021-02-06 12:04:43-- https://releases.521000.best/186627215/ab3d5000-607e-
./deviceQuery Starting...
CUDA Device Query (Runtime API) version (CUDART static linking)
Detected 1 CUDA Capable device(s)
Device 0: "NVIDIA Tegra X1"
CUDA Driver Version / Runtime Version 10.2 / 10.2
CUDA Capability Major/Minor version number: 5.3
Total amount of global memory: 3964 MBytes (4156694528 bytes)
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
256ab8fe8778: Pull complete
Digest: sha256:31b9c7d48790f0d8c50ab433d9c3b7e17666d6993084c002c2ff1ca09b96391d
Status: Downloaded newer image for hello-world:latest
Hello from Docker!
This message shows that your installation appears to be working correctly.
To generate this message, Docker took the following steps: