MLFlowと他ツールの組み合わせ - Retrieva TECH BLOG
ハイパラ管理のすすめ -ハイパーパラメータをHydra+MLflowで管理しよう- - やむやむもやむなし
> tree .
# M1 | |
# pyenv | |
# (* brewはuser homeにインストールしてください) | |
brew install pyenv | |
# pipenv | |
pip3 install --user pipenv | |
pipenv --python 3 |
import cv2 | |
density = list("MWN$@%#&B89EGA6mK5HRkbYT43V0JL7gpaseyxznocv?jIftr1li*=-~^`':;,. ") | |
LEN = len(density) | |
def image_print(image, wid=30): | |
gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY) | |
resized = cv2.resize(gray, (int(wid*2),int(wid))) | |
for i in range(resized.shape[0]): | |
s = "" |
# Scrach Pad | |
# https://colab.research.google.com/notebooks/empty.ipynb | |
# KaggleOps | |
# [KaggleOpsを考える ~ MLflow + Colaboratory + Kaggle Notebook ~ | GMOインターネットグループ 次世代システム研究室](https://recruit.gmo.jp/engineer/jisedai/blog/kaggleops-mlflow/) | |
# GPU | |
# NVIDIA GPUスペック(機械学習用)https://qiita.com/yukoba/items/10d0ba3fb1d19a6ab6a5 | |
!nvidia-smi | |
CPU: 2 cores is the recommended number of cores and supports up to 500 users | |
Memory: 8GB RAM is the recommended memory size for all installations and supports up to 100 users |
// 二次元音響FDTDサンプル for C (by Masahiro TOYODA) | |
// gnu gcc -> gcc fdtd_2d_c_sjis.c -lm -O3 -fopenmp -o fdtd_2d_c_sjis.exe | |
// intel c -> icc fdtd_2d_c_sjis.c /O3 /Qopenmp | |
//■■■ヘッダーの読み込み■■■ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <math.h> |
/*-------------------------------------------------------------------------------------------------------*/ | |
/* | |
■Name tr_AtFI | |
■ver0.1 | |
■20090211 | |
■Author Matsuda(Expresson) &Terraon(Script&Icon) | |
□選択レイヤとその”一つ下”のレイヤの重複部分frフェードインを行います。 | |
レイヤーコメントも追加します。また、既に透明度にエクスプレッションが適用されている場合は効果を”リセット”します。 | |
■All Rights @ Free | |
拙いコードですが引用も転用もご自由に。 |
/*Complex Selector Example*/ | |
QLineEdit { color: red } | |
QLineEdit[readOnly="true"] { color: gray } | |
QDialog QLineEdit { color: brown } | |
/*Customizing QAbstractScrollArea*/ | |
QTextEdit, QListView { | |
background-color: white; | |
background-image: url(draft.png); | |
background-attachment: scroll; /*If the background-image is to be fixed with the viewport: scroll or fixed*/ | |
} |
import sys | |
# Check Python Version | |
if sys.version_info.major < 3: | |
sys.stderr.write('Please use python 3.x\n') | |
sys.stderr.write( | |
'Your python version is as following:{}\n'.format(sys.version)) | |
exit() |
$ cd /home/<username>/ | |
$ cd $HOME | |
$ cd ~/ | |
$ cd /home/fififactory/ |