Tips
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
*Latex [#r6c061a2]
\setcounter{topnumber}{10} % ページ上部に配置できる図...
\setcounter{bottomnumber}{10} % ページ下部に配置できる図...
\setcounter{totalnumber}{20} % 1ページに配置できる図の...
\renewcommand{\topfraction}{1.0} % ページ上部に配置で...
\renewcommand{\dblfloatpagefraction}{0.5} % 二段組の場合...
\renewcommand{\bottomfraction}{1.0} % ページ下部に配置で...
\renewcommand{\textfraction}{0.05} % テキストが占める...
\renewcommand{\floatpagefraction}{0.7} % フロートページ...
そして
[!htbp]
そして
\usepackage{caption}
\captionsetup[table]{labelsep=space}
\captionsetup[figure]{labelsep=space}
そして
\usepackage{caption}
\captionsetup[figure]{labelsep=quad}
\captionsetup[table]{labelsep=quad}
*QGIS [#r4cd9296]
XYZ Tilesへの追加(地理院の標準地図)
https://cyberjapandata.gsi.go.jp/xyz/std/{z}/{x}/{y}.png
*Jetbrains Toolbox(PyCharm) [#k256e35b]
%%PyCharmの色設定:invert image outputs for dark themes忘...
%%そもそもでjetbrainsのアプリはlinux上では,以下のライブ...
%%sudo apt-get install libfuse2 libxi6 libxrender1 libxts...
*WSL&JetBrains [#g864d810]
Windows11-JetBrainsToolbox-PyCharm-WSL2-[[Miniconda:https...
**sshでのリモート [#z05beaad]
-OpenSSH サーバーを有効化(Windows側)
-ファイアウォールでポート22(SSH)を開放
-Windows → WSL2 の SSH ポート転送
-WSL2のIP変動への対策(portproxy自動更新)+タスクスケジュ...
なんかよくわからないけど,他のPC(Macとか)からWindows経由...
**スタート:Windows TerminalからUbuntuを立ち上げます. [#...
&ref(ubuubu110.jpg);~
**GUI環境の立ち上げ [#jaccd52b]
xfce4-session
または,
startxfce4
と入力しEnter~
&ref(xfce4s.jpg);~
時々(なぜか)立ち上がるUbuntu側のデスクトップ(ねずみ?...
xfdesktop --quit
**jetbrains-toolboxを立ち上げる [#e94e5590]
赤黒面のキューブをクリック~
&ref(ubujb3.jpg);~
それからは「プロジェクト」タブにおいて,実行したいプロジ...
&ref(pros1.jpg);~
はじめてのプログラムを実行するときなどは「ツール」タブで...
&ref(tool3s.jpg);~
----
[[VcXsrv:https://sourceforge.net/projects/vcxsrv/]]を使う...
(とりあえずVcXsrvのExtra settingsは,全てにチェックして,...
export DISPLAY=$(cat /etc/resolv.conf | grep nameserver ...
もしくは~
export DISPLAY=:0~
の記載が必要.)~
[[firefox日本語化:https://ameblo.jp/zweisteinjp/entry-127...
[[自己解決編:https://www.ait-survey.com/?Ubuntu%E6%97%A5%...
ときどきアプリがフリーズするので,その際は
ps aux | grep clion
kill -9 1234
%%イーサネット アダプター vEthernet (WSL)で,IPv4 アドレ...
あとは,ウイルスバスターのファイヤオールの設定を低にする.~
ipconfig /allの結果です.~
接続固有の DNS サフィックス . . . . .:
説明. . . . . . . . . . . . . . . . .: Hyper-V Virtual...
物理アドレス. . . . . . . . . . . . .: 00-15-5D-EE-0A-51
DHCP 有効 . . . . . . . . . . . . . .: いいえ
自動構成有効. . . . . . . . . . . . .: はい
リンクローカル IPv6 アドレス. . . . .: fe80::6944:cb2:...
IPv4 アドレス . . . . . . . . . . . .: 172.29.32.1(優先)
サブネット マスク . . . . . . . . . .: 255.255.240.0
デフォルト ゲートウェイ . . . . . . .:
DHCPv6 IAID . . . . . . . . . . . . .: 536876381
DHCPv6 クライアント DUID. . . . . . .: 00-01-00-01-27-...
DNS サーバー. . . . . . . . . . . . .: fec0:0:0:ffff::...
fec0:0:0:ffff::...
fec0:0:0:ffff::...
NetBIOS over TCP/IP . . . . . . . . .: 有効
Minicondaのインストール
wget https://repo.anaconda.com/miniconda/Miniconda3-late...
bash Miniconda3-latest-Linux-x86_64.sh
Pythonのモジュール環境
pip freeze > requirements.txt
pip install -r requirements.txt
C++等の開発環境
sudo apt-get update
sudo apt-get install build-essential
PyTorchでGPUが利用可能か確認するコマンド
-python3 -c "import torch; print(torch.__version__, torch...
&ref(bashsh2.png);~
wsl.exe --distribution Ubuntu -e bash --login
.bash_projectファイルに以下を書いてプロジェクトに保存~
conda activate GeoLLM
.bashrcファイルに追記~
if [ -f ".bash_project" ]; then
source .bash_project
fi
*GoPro [#y3fbe02b]
[[gopro2gpx:https://github.com/juanmcasillas/gopro2gpx]]...
gopro2gpx -s -vvv /mnt/f/GoPro-Seto_Danchi/20231006/Fron...
(オリジナルのプログラムでは,kmlファイルで軌跡にポリゴン...
&ref(img221.jpg);~
そもそもで,pythonでGoProのメタデータを処理するモジュール...
(GoProで取得した動画からの位置情報(gpx)をexifデータに保存...
>動画ファイル→GPSファイルの取得(gopro2gpx) and/or~
>[[タイムスタンプ付きフレーム化:https://github.com/yoshiy...
gps情報を抽出するプログラムのサンプル例は[[これ:https://c...
[[gpmf-parser:https://github.com/gopro/gpmf-parser]]~
survey@SURVEY-C20:/mnt/c/Users/survey/Documents/GitHub/gp...
[[これ:https://github.com/yoshiyama/gpmf-parser_yk/blob/m...
そして下記で結合する.
cat file1.txt file2.txt > temp.txt && mv temp.txt file1....
このコマンドは file1.txt と file2.txt を temp.txt に連結...
ただし、これは元の file1.txt を上書きします。上書きしたく...
[[Top:https://www.ait-survey.com/]]
*ffmpeg [#c86002a6]
-動画の切り取り:ffmpeg -i input.mp4 -ss 00:00:05 -to 00:...
-フレーム化:ffmpeg -i .\GH030230_cut.mp4 -vf "fps=5" .\G...
-音声消去:ffmpeg -i input.mp4 -vcodec copy -an output.mp4
*統計的有意差検定 [#gcb23f18]
シャピロ・ウイルク検定(正規分布評価),Baretlettの検定(...
(ウェルチのt検定,マン・ホイットニーU検定)~
from scipy.stats import shapiro
from scipy.stats import bartlett
from scipy.stats import ttest_ind
*画像の類似性評価 [#u1e807ae]
-[[Perceptual Similarity:https://github.com/richzhang/Per...
-SSIM
-PSNR
--例えば[[これ:https://github.com/jsh-me/psnr-ssim-tool]]...
*ArcGIS [#kb670b4d]
[[逆引きガイド:https://www.esrij.com/cgi-bin/wp/wp-conten...
*python-matplotlibの日本語表示(文字化け対策) [#m37aaa98]
import matplotlib as mpl
import matplotlib.pyplot as plt
# 使用可能なフォントのリストを表示
# print(mpl.font_manager.findSystemFonts(fontpaths=None,...
# 特定のフォントを指定
# mpl.rcParams['font.family'] = 'IPAexGothic'
mpl.rcParams['font.family'] = 'IPAexGothic'
mpl.rcParams['font.family'] = 'IPAGothic'
plt.rcParams['font.family'] = 'sans-serif'
plt.rcParams['font.sans-serif'] = ['IPAexGothic', 'Hirag...
[[測量研究室-愛知工業大学工学部土木工学科(Survey Lab., A...
終了行:
*Latex [#r6c061a2]
\setcounter{topnumber}{10} % ページ上部に配置できる図...
\setcounter{bottomnumber}{10} % ページ下部に配置できる図...
\setcounter{totalnumber}{20} % 1ページに配置できる図の...
\renewcommand{\topfraction}{1.0} % ページ上部に配置で...
\renewcommand{\dblfloatpagefraction}{0.5} % 二段組の場合...
\renewcommand{\bottomfraction}{1.0} % ページ下部に配置で...
\renewcommand{\textfraction}{0.05} % テキストが占める...
\renewcommand{\floatpagefraction}{0.7} % フロートページ...
そして
[!htbp]
そして
\usepackage{caption}
\captionsetup[table]{labelsep=space}
\captionsetup[figure]{labelsep=space}
そして
\usepackage{caption}
\captionsetup[figure]{labelsep=quad}
\captionsetup[table]{labelsep=quad}
*QGIS [#r4cd9296]
XYZ Tilesへの追加(地理院の標準地図)
https://cyberjapandata.gsi.go.jp/xyz/std/{z}/{x}/{y}.png
*Jetbrains Toolbox(PyCharm) [#k256e35b]
%%PyCharmの色設定:invert image outputs for dark themes忘...
%%そもそもでjetbrainsのアプリはlinux上では,以下のライブ...
%%sudo apt-get install libfuse2 libxi6 libxrender1 libxts...
*WSL&JetBrains [#g864d810]
Windows11-JetBrainsToolbox-PyCharm-WSL2-[[Miniconda:https...
**sshでのリモート [#z05beaad]
-OpenSSH サーバーを有効化(Windows側)
-ファイアウォールでポート22(SSH)を開放
-Windows → WSL2 の SSH ポート転送
-WSL2のIP変動への対策(portproxy自動更新)+タスクスケジュ...
なんかよくわからないけど,他のPC(Macとか)からWindows経由...
**スタート:Windows TerminalからUbuntuを立ち上げます. [#...
&ref(ubuubu110.jpg);~
**GUI環境の立ち上げ [#jaccd52b]
xfce4-session
または,
startxfce4
と入力しEnter~
&ref(xfce4s.jpg);~
時々(なぜか)立ち上がるUbuntu側のデスクトップ(ねずみ?...
xfdesktop --quit
**jetbrains-toolboxを立ち上げる [#e94e5590]
赤黒面のキューブをクリック~
&ref(ubujb3.jpg);~
それからは「プロジェクト」タブにおいて,実行したいプロジ...
&ref(pros1.jpg);~
はじめてのプログラムを実行するときなどは「ツール」タブで...
&ref(tool3s.jpg);~
----
[[VcXsrv:https://sourceforge.net/projects/vcxsrv/]]を使う...
(とりあえずVcXsrvのExtra settingsは,全てにチェックして,...
export DISPLAY=$(cat /etc/resolv.conf | grep nameserver ...
もしくは~
export DISPLAY=:0~
の記載が必要.)~
[[firefox日本語化:https://ameblo.jp/zweisteinjp/entry-127...
[[自己解決編:https://www.ait-survey.com/?Ubuntu%E6%97%A5%...
ときどきアプリがフリーズするので,その際は
ps aux | grep clion
kill -9 1234
%%イーサネット アダプター vEthernet (WSL)で,IPv4 アドレ...
あとは,ウイルスバスターのファイヤオールの設定を低にする.~
ipconfig /allの結果です.~
接続固有の DNS サフィックス . . . . .:
説明. . . . . . . . . . . . . . . . .: Hyper-V Virtual...
物理アドレス. . . . . . . . . . . . .: 00-15-5D-EE-0A-51
DHCP 有効 . . . . . . . . . . . . . .: いいえ
自動構成有効. . . . . . . . . . . . .: はい
リンクローカル IPv6 アドレス. . . . .: fe80::6944:cb2:...
IPv4 アドレス . . . . . . . . . . . .: 172.29.32.1(優先)
サブネット マスク . . . . . . . . . .: 255.255.240.0
デフォルト ゲートウェイ . . . . . . .:
DHCPv6 IAID . . . . . . . . . . . . .: 536876381
DHCPv6 クライアント DUID. . . . . . .: 00-01-00-01-27-...
DNS サーバー. . . . . . . . . . . . .: fec0:0:0:ffff::...
fec0:0:0:ffff::...
fec0:0:0:ffff::...
NetBIOS over TCP/IP . . . . . . . . .: 有効
Minicondaのインストール
wget https://repo.anaconda.com/miniconda/Miniconda3-late...
bash Miniconda3-latest-Linux-x86_64.sh
Pythonのモジュール環境
pip freeze > requirements.txt
pip install -r requirements.txt
C++等の開発環境
sudo apt-get update
sudo apt-get install build-essential
PyTorchでGPUが利用可能か確認するコマンド
-python3 -c "import torch; print(torch.__version__, torch...
&ref(bashsh2.png);~
wsl.exe --distribution Ubuntu -e bash --login
.bash_projectファイルに以下を書いてプロジェクトに保存~
conda activate GeoLLM
.bashrcファイルに追記~
if [ -f ".bash_project" ]; then
source .bash_project
fi
*GoPro [#y3fbe02b]
[[gopro2gpx:https://github.com/juanmcasillas/gopro2gpx]]...
gopro2gpx -s -vvv /mnt/f/GoPro-Seto_Danchi/20231006/Fron...
(オリジナルのプログラムでは,kmlファイルで軌跡にポリゴン...
&ref(img221.jpg);~
そもそもで,pythonでGoProのメタデータを処理するモジュール...
(GoProで取得した動画からの位置情報(gpx)をexifデータに保存...
>動画ファイル→GPSファイルの取得(gopro2gpx) and/or~
>[[タイムスタンプ付きフレーム化:https://github.com/yoshiy...
gps情報を抽出するプログラムのサンプル例は[[これ:https://c...
[[gpmf-parser:https://github.com/gopro/gpmf-parser]]~
survey@SURVEY-C20:/mnt/c/Users/survey/Documents/GitHub/gp...
[[これ:https://github.com/yoshiyama/gpmf-parser_yk/blob/m...
そして下記で結合する.
cat file1.txt file2.txt > temp.txt && mv temp.txt file1....
このコマンドは file1.txt と file2.txt を temp.txt に連結...
ただし、これは元の file1.txt を上書きします。上書きしたく...
[[Top:https://www.ait-survey.com/]]
*ffmpeg [#c86002a6]
-動画の切り取り:ffmpeg -i input.mp4 -ss 00:00:05 -to 00:...
-フレーム化:ffmpeg -i .\GH030230_cut.mp4 -vf "fps=5" .\G...
-音声消去:ffmpeg -i input.mp4 -vcodec copy -an output.mp4
*統計的有意差検定 [#gcb23f18]
シャピロ・ウイルク検定(正規分布評価),Baretlettの検定(...
(ウェルチのt検定,マン・ホイットニーU検定)~
from scipy.stats import shapiro
from scipy.stats import bartlett
from scipy.stats import ttest_ind
*画像の類似性評価 [#u1e807ae]
-[[Perceptual Similarity:https://github.com/richzhang/Per...
-SSIM
-PSNR
--例えば[[これ:https://github.com/jsh-me/psnr-ssim-tool]]...
*ArcGIS [#kb670b4d]
[[逆引きガイド:https://www.esrij.com/cgi-bin/wp/wp-conten...
*python-matplotlibの日本語表示(文字化け対策) [#m37aaa98]
import matplotlib as mpl
import matplotlib.pyplot as plt
# 使用可能なフォントのリストを表示
# print(mpl.font_manager.findSystemFonts(fontpaths=None,...
# 特定のフォントを指定
# mpl.rcParams['font.family'] = 'IPAexGothic'
mpl.rcParams['font.family'] = 'IPAexGothic'
mpl.rcParams['font.family'] = 'IPAGothic'
plt.rcParams['font.family'] = 'sans-serif'
plt.rcParams['font.sans-serif'] = ['IPAexGothic', 'Hirag...
[[測量研究室-愛知工業大学工学部土木工学科(Survey Lab., A...
ページ名: