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.
๐๐ป♂️
-
Logistic Classifier The logistic classifier is similar to equation of the plane. W is weight vector, X is input vector and y is output...
-
Mounting Remote Data for GPU Training This guide explains how to access data from Computer A (data server) on Computer B (GPU machine) for...
-
line, circle, rectangle, ellipse, polyline, fillConvexPoly, putText, drawContours example source code!!. ... //http://study....
-
I once wrote the following article. http://study.marearts.com/2014/04/opencv-study-mat-point-access-method.html This article is a sample c...
-
In past, I wrote an articel about YUV 444, 422, 411 introduction and yuv rgb converting example code. refer to this page -> http://feel...
-
refer to this code: . # If you want to combine a Vision Transformer (ViT) as an encoder with a Transformer-based decoder, # you can follow t...
-
EMD(earth mover distance) method is very good method to compare image similarity. But processing time is slow. For using the EMD compare, ...
-
dp parameter is about resolution of voting space. dp is larger, voting resolution is small compare to image size. so dp is larger, circle...
-
fig 1. Left: set 4 points (Left Top, Right Top, Right Bottom, Left Bottom), right:warped image to (0,0) (300,0), (300,300), (0,300) Fi...
-
Complete Tutorial: LabelMe with Login System and Dataset Management This guide provides step-by-step instructions for setting up LabelMe wit...