raw string
# raw string You may want to define the backslash itself as a string, such as a file path delimiter used in a Windows environment. Backslashes in string literals are treated as escape sequences, so
How to avoid BrokenPipeError with PyTorch's DataLoader Note
PyTorch's DataLoader has a mechanism for multi-process data loading. When I tried to use it on Windows, it didn't work with the same error as [here](https://github.com/pytorch/pytorch/issues/31465).
I got an unfamiliar error in Django: TypeError: resolve () got an unexpected keyword argument'strict'
# Introduction In the process of deploying the created Django app to AWS EC2 (Ubuntu16.04), I encountered the following error, so I will write down the remedy. # Details of the error After `git clo
For beginners, how to deal with common errors in keras
Keras (& tensorflow) often used for machine learning with python. I didn't have an article summarizing how to deal with errors when using keras, so I'll summarize it based on the solved questions o
[GitHub] Until you pull with ssh using Deploy keys
# Overview Procedure to register the public key in Deploy keys of github repository and pull it with ssh on AWS EC2 (Amazon Linux 2) # procedure ## 1. Create public and private keys Ssh to the serv
[Natural language processing / NLP] How to easily perform back translation by machine translation in Python
Have you ever wanted to do ** reverse translation ** in Python for ** Data Augmentation **, such as in an NLP competition? For example, Kaggle's Toxic Comment Classification Challenge uses this te
Consideration of propensity score and effect estimation accuracy
# Article summary I was a little worried while studying the propensity score that appears in the field of causal reasoning, so I experimented. What I was interested in was how much and how I should b
Personal best practices for VS Code-fronted Python development environments
# Overview When doing machine learning and data analysis, it is rare that the analysis / development work is completed only with the machine at hand. I think that it is being developed using Docker
I tried to explain the latest attitude estimation model "Dark Pose" [CVPR2020]
# Introduction This time, we will introduce the paper "[** DARK **](https://arxiv.org/abs/1910.06278)" on the 2D posture estimation model from the latest papers adopted in 2020. In the attitude es
Voice processing by deep learning: Let's identify who the voice actor is from the voice
# Preface The other day, I bought a book called "Use in the field! Introduction to TensorFlow development". It was a very easy-to-understand book and explained a wide range from image classificatio
GSI_DEM to geotiff conversion → UTM conversion → ascii conversion only on Ubuntu command line
# I want to convert the Geospatial Information Authority of Japan DEM to a format that is easy to use with GIS only on the command line of Linux (Ubuntu). If there is something like an elevation map
What is a dog? Django--Create a custom user model 2
# Registration of additional information Hello! This is Ponta, a Shiba Inu. I had a dream of being chased by a wild boar in the mountains. I was very scared. By the way, in the custom user model c
GUI application by Kivy (including matplotlib)
This time, I tried to distribute an application that implements the function to display graphs with GUI by Kivy. I got caught a little, so as a memorandum. Environment is Windows 10 # 1. Import req
SIGNATE [1st _Beginner Limited Competition] Participated in bank customer targeting
Participated in [[1st_Beginner Limited Competition] Bank Customer Targeting](https://signate.jp/competitions/292) of SIGNATE, a data science analysis competition site. Since I was successfully pr
Rewrite SNI when communicating over HTTPS
# SNI rewrite When using a third-party https client, there may be times when you want to try an SNI that is different from the actual one, which cannot be routed with nginx because it does not suppo
Make a list of latitude and longitude and convert UTM coordinates at once → File output
# From EQA list to batch conversion to UTM list creation Previously I wrote python code to convert from EQA (latitude and longitude) to UTM (Universal Transverse Mercator) coordinates using python.
Have Aozora Bunko read slowly: Code improvement
[Last time](https://qiita.com/Mechanetai/items/f3e1b58f8c5549e2f31b) succeeded in reading aloud while slowly registering it in the dictionary (SofTalk). This time, I will improve the previous code w
Learn math and English by programming (Part 2)
# problem https://projecteuler.net/problem=2 # English words to use https://progeigo.org/learning/essential-words-600-plus/ Words starting with B # program ``` #!/usr/bin/python3 # -*- coding:
Document Python code with Doxygen
When documenting Python code in Doxygen, I'll leave the memo as it fits. For comments in docstring format in python, when you place the cursor on the function, the comment will be displayed by the
VScode environment construction (on Mac) & graph display in Python (@browser)
Reference URL: https://qiita.com/YoshitakaOkada/items/6dfad94ab917053fcef7 Arasa, who has more than 10 years of experience in PC, has tried programming now. Stumbles from the beginning! > This
Tell me what a conformal map is, Python!
## Preface When I was studying for the graduate school entrance exam, I found the concept of "** conformal mapping **" in an electromagnetic textbook. Apparently, it was introduced to solve Laplace
I made a Python Qiita API wrapper "qiipy"
TL;DR --Qiita's API wrapper library "[qiipy](https://github.com/sh1ma/qiipy)" has been created. --Unfinished --You can easily develop an API wrapper library with your own library "[apywrapper](ht
Escape sequence
# Escape sequence In addition to the information that can be recognized as "characters" by humans, the characters used in the OS also include information other than "characters" such as control char
Solving AOJ's Algorithm and Introduction to Data Structures in Python -Part1-
# Introduction Hello. It's chewy and chewy. We will solve the introduction to AOJ's algorithms and data structures. It's easy to keep a record of what you've learned. It's been less than half a y
Made it possible to convert PNG to JPG with Pillow of Python
# environment macOS Catalina 10.15.6 python 3.8.2 pillow 7.2.0 # Motivation The free conversion software on the net has a limited number of times, and I have some concerns about security, which mak
Inference & result display with Tensorflow + matplotlib
# 1.First of all I was able to evaluate the model with Tensorflow, PyTorch, and Chainer, but isn't it possible to show only the Accuracy and Loss graphs to people who are not familiar with Deep Learn
[virtualbox] What to do when [Could not retrieve mirrorlist] appears when yum update is performed on CentOS7
## When installing CentOS 7 with virtualbox When the following error occurs ``` Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error was 14: c
RuntimeError in SeqIO.write: generator didn't stop after throw ()
```python from Bio import SeqIO from Bio.SeqRecord import SeqRecord temp_rec = SeqRecord( "ATTGTG", id="label", description="" ) SeqIO.write( temp_rec, "output.fasta", "fasta" ) ``` If you write l
dict now keeps the storage order in python3.7, but the pprint output is sorted automatically
I posted it in commemoration because it triggered the update of python. It's a language that is currently being updated. --Referenced site - https://qiita.com/tonluqclml/items/db797d9ad03604ae48
I want to pip install with PythonAnywhere
## Introduction In my article, I always read the familiar self-made boat racing prediction site, "[Today, good luck. Is the expectation correct? ](Https://youhaveniceboat.pythonanywhere.com) "has ad