4/30/2021
python source code to print list of all subfolder and files
4/29/2021
Install python 3.8 on Linux
Following below step:
-------------
wget https://www.python.org/ftp/python/3.8.3/Python-3.8.3.tgz
tar xvf Python-3.8.3.tgz
cd Python-3.8*/
./configure --enable-optimizations
make altinstall
-------------
Run amazon-linux 2 on local computer using Docker
I suppose you already installed docker.
1. pull Amazon Linux image
> docker pull amazonlinux
* https://hub.docker.com/_/amazonlinux
2. run container and enter the os
> docker run -it amazonlinux /bin/bash
3. check version
bash-4.2# > cat /etc/os-releaseNAME="Amazon Linux"
VERSION="2"
ID="amzn"
ID_LIKE="centos rhel fedora"
VERSION_ID="2"
PRETTY_NAME="Amazon Linux 2"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2"
HOME_URL="https://amazonlinux.com/"
Thank you.
ππ»♂️
4/20/2021
error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8) fatal: the remote end hung up unexpectedly
I encounter this error when I push my repo.
>>>
error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8)
fatal: the remote end hung up unexpectedly
<<<
I am trying following things to solve, It comes from stack overflow.
1.
git config --global http.version HTTP/1.1
git push
git config --global http.version HTTP/2
2.
git config http.postBuffer 524288000
I tired both, but I failed.
In luck you could success.
Thank you.
4/16/2021
jupyter print clear
Use Ipython.disply to make printed thing clear.
Thank you.
ππ»♂️
-
put a explicit parameter name like: from sklearn.utils import class_weight class_weights = class_weight.compute_class_weight( class_weight...
-
CUDA_ARCH_BIN Table for gpu type Jetson Products GPU Compute Capability Jetson AGX Xavier 7.2 Jetson Nano 5.3 Jetson TX2 6.2 Jetson TX1 5.3 ...
-
* Introduction - The solution shows panorama image from multi images. The panorama images is processing by real-time stitching algorithm...
-
make well divided linear coordinate And make pair coordinate Please see code for detail explanation. import numpy as np import cv2 ...
-
look at the code! ^^ .. #load image tif_path = './input_img.tif' #open image pil_image = Image. open ( tif_path ) #change dpi in...
-
yolo v5 data coordinate format ex) str_v = "32 0.262 0.7878 0.314 0.385" #read image cvmat = cv2.imread(img_path) #get height, w...
-
As you can see in the following video, I created a class that stitching n cameras in real time. https://www.youtube.com/user/feelmare/sear...
-
In past, I wrote an articel about YUV 444, 422, 411 introduction and yuv <-> rgb converting example code. refer to this page -> ht...
-
This is dithering example, it make image like a stippling effect. I referenced to blew website. wiki page: https://en.wikipedia.org/wik...
-
input image output image source code import cv2 as cv import numpy as np import sys import random #read image img = ...