Linux, conda, ssh, git related personal notes
# Linux, conda, ssh, git related personal notes My lack of knowledge was revealed in every medium because I was too technically weak. I have summarized each basic command that I investigated. It's
Don't work Python with OpenCV on AMD Ryzen CPU on WSL2 Ubuntu 18.04 And 20.04
MAIN BOARD ASUSTek COMPUTER INC. PRIME X570-PRO Rev X.0x CPU AMD Ryzen 7 3700X MEM G.Skill DDR4 3600 GPU RTX 3900 It's looks like this error. Don't work. ``` $ python >>>import cv2 WARNING: CPU r
ALDA execution memo
https://github.com/ZJULearning/ALDA Do this. The data is below. https://github.com/notfolder/svhn Since it was split, use it by combining with cat. ```bash cat svhn_image.tar.gz.1 svhn_image.tar.
[Blender x Python] Let's master the material !!
# table of contents 0. How to add a material 1. Let's make a glass material !! 2. Let's make metallic !! 3. Add text !! 4. English words * Since there are few explanations this time, we do not
"Deep Learning from scratch" Self-study memo (No. 16) I tried to build SimpleConvNet with Keras
While reading "Deep Learning from scratch" (written by Yasuki Saito, published by O'Reilly Japan), I will make a note of the sites I referred to. [Part 15](https://qiita.com/slow_learner/items/f9ba7f
fastText is pretty amazing! "Yahoo! News" Clustering-Unsupervised Learning-
[Last time](https://qiita.com/kei0919/items/3059c336c3d0e2228830) supervised learning and clustering Yahoo News article data using fastText's train_supervised method. This time, let's perform unsupe
Create AtCoder Contest appointments on Google Calendar with Python and GAS
# at first The AtCoder contest is held irregularly, but I sometimes forget to schedule it and it seems to bother my family, so I decided to automate it (I don't know if I can do it). I used Google C
pypy bool type is slow
# Fix Initially, it was published with the title "python bool type is slow", but the content of the article applies only when using pypy, which was an error. I'm sorry I gave you incorrect informat
Line graphs and scale lines in python
Make a note for yourself as you will need it very rarely # Taking the Monte Carlo method as an example ``` import random import math result = [] in_circle = 0 out_circle = 0 for i in range( 100000
[OpenCV / Python] I tried image analysis of cells with OpenCV
# Introduction I often take pictures of cells because of my work, so I analyzed the cell images with the Python version of OpenCV. With a memorial meaning. This time, we will try to find the rati
python + SCOOP distributed computing cannot be done on a Windows PC
# Introduction This is a memo when I tried distributed computing with a Python library called [SCOOP](https://github.com/soravux/scoop "SCOOP") on Windows. SCOOP is a Python library for task distrib
Redis WebAPI (Bottle)
This is a server-side program that meets the specifications specified here. [Create Redis WebAPI](https://qiita.com/ekzemplaro/items/1746b31beef382023f2d) #### **`bottle_redis.py`** ```py #! /usr
Creating a graph using the plotly button and slider
# Thing you want to do --Create a button in the graph and press the button to operate the layout such as show / hide plot and title. --Make it possible to operate the displayed plot with a slider
"Deep Learning from scratch" Self-study memo (No. 17) I tried to build DeepConvNet with Keras
While reading "Deep Learning from scratch" (written by Yasuki Saito, published by O'Reilly Japan), I will make a note of the sites I referred to. [Part 16](https://qiita.com/slow_learner/items/28a802
Insert from pd.DataFrame with psycopg2
I tried to insert by referring to the article [here](https://qiita.com/hoto17296/items/bb16b2fe36a8d47a08a2), but I stumbled, so I will write it down. It's almost the same, but there were two problem
Implement DeepChem's GraphGatherLayer in PyTorch's custom layer
# Introduction Following GraphConvLayer and GraphPoolLayer, I implemented DeepChem's GraphGatherLayer with a custom layer of Pytorch. # environment - DeepChem 2.3 - PyTorch 1.7.0 # Source I ported
QPS control that can be used in the field (Rate Limit) Limits execution to n times per second
Example when you want to execute 10 times per second Use https://godoc.org/golang.org/x/time/rate ``` func main() { limiter := rate.NewLimiter(rate.Limit(10), 1) ctx := context.Background() fo
[Ruby] How to replace only a part of the string matched by the regular expression?
## problem Is it possible to change only `http` of URL ending with` .png` to `https` when there is a character string like the following? ```ruby str = 'kkk<a href="http://abcdege/hoge222/bar/t22es
Convert / return class object to JSON format in Python
A note on how to encode an object of a class defined by yourself in Python and how to decode it from Json format. Referenced page: * [Python json module documentation](https://docs.python.org/3/lib
The story of making a sound camera with Touch Designer and ReSpeaker
I made a sound camera using ReSpeaker to learn TouchDesigner. I made it because I thought it might be interesting to visualize the sound by performing SSL (Sound Source Localization) with ReSpeaker
Read json in C # and convert to dictionary type (forced)
# Long time no see. It's been a long time, everyone at Qiita. It's been a long time since the last time, but since then I bought a new computer. And I got tired of Python, so I decided to try C #.
yukicoder contest 274 Participation record
# yukicoder contest 274 Participation record ## [A 1285 Garbage Disposal](https://yukicoder.me/problems/no/1285) It doesn't matter if it's in ascending order or in descending order, so all you have
Reconfirmation of AWS EBS
# Introduction I'm still learning the basics of AWS. This time, I reconfirmed the operation of EBS, which I didn't usually care about (or at all). # things to do --Attach a volume to an instance an
Dig the directory and create a list of directory paths + file names
It is very rare that you want to dig a directory and create a ** directory path + file name list **, so leave it as a memo. ## Sample of directory + file list creation ``` find * -type f ``` You
Access order of multidimensional arrays when calling Fortran subroutines from Python (ctypeslib and f2py)
# Introduction There are times when you want to do complicated processing by turning a for statement on a multidimensional array in Python (data is often represented by a multidimensional array in t
To disable the browser cache on Python's simple HTTP server
# Simple HTTP server http.server A simple HTTP server for accessing local HTML files from a browser can be started with the following command if you have Python. ```console $ python -m http.server
Things to watch out for when migrating with Django
A memorandum for myself & for those who are addicted to the same thing. ### Conclusion Migration is not possible unless manage.py and the app directory are in the same hierarchy ### Addictive back
Create a setting in terraform to send a message from AWS Lambda Python3.8 to Slack
[Personal memorandum] Simple setting to send a message from lambda to slack # Overview * Regarding sending messages to Slack API * Don't use [slackweb library](https://pypi.org/project/slackweb) (
seq command
## Now that you've learned about the seq command, let's write an article. ### Output numerical value [Command example] seq 10 Output a number from 1 to 10 seq -w Fill the beginning with 0 to align
Create a function to visualize / evaluate the clustering result
# Visualize and evaluate clustered results Implemented a function that visualizes the result of clustering with vae etc. and displays the evaluation value. Relabel the correct label and the cluste