collatz_2048

前略 222899383394762728433895061839203916701483082014253167622587538816938627445240936051741611499826546794360919284544339192387155768283689878002247033876376212149809569592183779442290132452365542649309580770103052852323405107820, 1114496…

Fibonacci_2048

import sympy numbers =[236070312819791740141273356807196879400967334008601458265098598973540187825850060101030584351515162328426166034923552549055624289796502127168486986881863523687775392529023772496010093880942500623467725325361692842246…

Python備忘録:計算結果を任意の桁まで省略なしで全部表示させる

for i in range(1,100): print('{:.1000g}'.format(((2**i)-1)/3)) ''' 1000の部分をお好みで調整する ''' 結果: 0.33333333333333331482961625624739099293947219848632812512.333333333333333481363069950020872056484222412109375510.333333333333333925…

mp3(音声)をmp4(動画)へ変換

Windows10mp3(音声)をmp4(動画)へ変換 ***************************************Windows 10標準Software「フォト」を起動右上の「新しいビデオ」を選択「新しいビデオプロジェクト」を選択ビデオの編集画面が表示,プロジェクトライブラリに画像を追加画…

maximum recursion depth exceeded while calling a Python object

import syssys.setrecursionlimit(1000000)

Python: 文字列1文字おきにカンマ入れる

filename = "xxxxx.txt" with open(filename, encoding="utf_8") as f: data1 = f.read() data2 = list(data1) data3 =",".join(data2) # 同じファイル名で保存with open(filename, mode="w", encoding="utf_8") as f: f.write(data3)

<audio src="xxxxx.mp3" loop autoplay></audio>

autoplay 自動再生 loop 繰り返し再生

ModuleNotFoundError: No module named 'nnabla'

ModuleNotFoundError: No module named 'nnabla' (nnabla) >conda install nnablaCollecting package metadata (current_repodata.json): doneSolving environment: failed with initial frozen solve. Retrying with flexible solve.Collecting package met…

conda install scrapy

(scrapy) C:\Users\xxxxx>conda install scrapyCollecting package metadata (current_repodata.json): doneSolving environment: done ## Package Plan ## environment location: C:\Users\xxxxx\anaconda3\envs\scrapy added / updated specs: - scrapy Th…

youtube-dl

pip install --upgrade youtube-dlCollecting youtube-dl Downloading youtube_dl-2020.12.22-py2.py3-none-any.whl (1.8 MB) |████████████████████████████████| 1.8 MB 598 kB/sInstalling collected packages: youtube-dlSuccessfully installed youtube…

The kernel appears to have died. It will restart automatically.

Dockerエンジン メモリ制限

tensorboard & tensorboardX

pip install tensorboardCollecting tensorboard Using cached tensorboard-2.4.0-py3-none-any.whl (10.6 MB)Requirement already satisfied: wheel>=0.26 in c:\users\xxxxx\anaconda3\envs\pytorch\lib\site-packages (from tensorboard) (0.36.1)Require…

ImportError: No module named midi

これを実行して、python3のパッケージをインストールしますpip install git+https://github.com/vishnubob/python-midi@feature/python3

「KMP_DUPLICATE_LIB_OK=TRUE」を追加

OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized.OMP: Hint This means that multiple copies of the OpenMP runtime have been linked into the program. That is dangerous, since it can degrade performanc…

pip install pycrypt

Collecting pycrypt Downloading pycrypt-0.7.2.tar.gz (47 kB) |████████████████████████████████| 47 kB 354 kB/sBuilding wheels for collected packages: pycrypt Building wheel for pycrypt (setup.py) ... error ERROR: Command errored out with ex…

pip install face_recognition

Collecting face_recognition Downloading face_recognition-1.3.0-py2.py3-none-any.whl (15 kB)Requirement already satisfied: numpy in d:\xxxxx\wpy64-3820\python-3.8.2.amd64\lib\site-packages (from face_recognition) (1.18.5)Collecting dlib>=19…

訓練職類 電腦程式設計

課程內容 展望 目前大數據分析已經逐漸深化於零售、金融、高科技、醫療、製造等產業,其應用可以讓各產業決策者發現行銷契機、使用者習慣和未來趨勢等多方面用途。學員結訓後,可從事的工作內容包括:大數據分析、巨量資料分析、企業資料分析架構規劃與設計…

pip install pdf2image

pip install pdf2imageCollecting pdf2image Downloading pdf2image-1.14.0-py3-none-any.whl (10 kB)Requirement already satisfied: pillow in d:\xxxxx\wpy64-3820\python-3.8.2.amd64\lib\site-packages (from pdf2image) (7.0.0)Installing collected p…

music21

pip install music21Collecting music21 Downloading https://files.pythonhosted.org/packages/96/87/19a01af679090c880ed0036f0c221dd7bc3a97f4bddf74e24bc22d1e66cf/music21-5.7.2.tar.gz (18.5MB) |################################| 18.5MB 1.7MB/sBui…

RTX 3080  

pip install --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cu110/torch_nightly.html

pip install qiskit

D:\xxxxx\WPy64-3820\scripts>pip install qiskitCollecting qiskit WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhos…

flow-based生成モデル

flow-based生成モデルは、Flow、Glow、NICE、realNVP等。

SeqGAN,GSGAN,MaliGAN,RankGAN,LeakGAN,TextGAN等

文章生成に用いられる GAN は,SeqGAN,GSGAN,MaliGAN,RankGAN,LeakGAN,TextGAN等

メモ pip install cupy

WPy64-3820>pip install cupyCollecting cupy Using cached cupy-8.0.0.tar.gz (5.8 MB) ERROR: Command errored out with exit status 1: command: 'd:\xxxxx\wpy64-3820\python-3.8.2.amd64\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0…

pip install sklearn

>pip install sklearnCollecting sklearn Using cached sklearn-0.0.tar.gz (1.1 kB)Collecting scikit-learn Downloading scikit_learn-0.23.2-cp36-cp36m-win_amd64.whl (6.8 MB) |████████████████████████████████| 6.8 MB 77 kB/sRequirement already s…

トレーニング時間 368時間

トレーニング目標トレーニングカテゴリコンピュータープログラミング理由ビッグデータ分析は、さまざまな新しいアプリケーション分野の背後にある共通のコアテクノロジーです。たとえば、スマートデバイス、Internet of Things、モバイルアプリケーション、…

pip install magenta

(tensorflow_gpu) C:\Users\xxxxx>pip install magentaCollecting magenta Using cached magenta-2.1.2-py3-none-any.whl (1.4 MB)Requirement already satisfied: numpy in c:\users\xxxxx\anaconda3\envs\tensorflow_gpu\lib\site-packages (from magenta)…

pip install jupyterlab

Collecting jupyterlab Downloading https://files.pythonhosted.org/packages/d7/a9/d7c904ee406d1ce320fd1d91e05111fa158e66bb217f68d070b5f58c5937/jupyterlab-2.2.8-py3-none-any.whl (7.8MB) |################################| 7.8MB 87kB/sRequireme…

jupyter-http-over-ws

(pytorch) C:\Users\xxxxxxxxxx>pip install jupyterCollecting jupyter Using cached jupyter-1.0.0-py2.py3-none-any.whl (2.7 kB)Collecting qtconsole Downloading qtconsole-4.7.7-py2.py3-none-any.whl (118 kB) |████████████████████████████████| 1…

pip install music21

D:\xxxxx\WPy64-3820\scripts>pip install music21Collecting music21 Downloading music21-6.1.0.tar.gz (18.3 MB) |████████████████████████████████| 18.3 MB 41 kB/sRequirement already satisfied: chardet in d:\xxxxx\wpy64-3820\python-3.8.2.amd64…