block3
code:block2_hash
0xea4de483c5fc6e20f045fab7227e579f66175b0427e36d08b9e3d8dc08b8e4d0
Agenda
RSA 署名ちゃんと理解したい
Lightning Network
news
ETHGlobal Tokyo
サイドイベントやりたい!
プレハッカソンというか onboarding 的な勉強会やりたいね
とりあえず勝手に作った
prototype
マイナンバーカード + Account Abstraction を実現するための概念実証コードを書いた!
注意!
マイナンバーカードの裏側の QR コードはマイナンバーそのものらしい
そして保護ケースで隠されていない
これはびっくりしました!hiroism007.icon
勉強会ネタ
Android でマイナンバー署名
マイナンバー関連の法律
Node.js で RSA の署名と署名検証
Solidity で RSA の署名検証
高速プロトタイピングの技術
circom-rsa-verify
数学
離散対数問題
線形代数
初学者向け
プログラミング
シェルスクリプト
Etherscan の見方
Internal transaction
NeRF
iPhone で撮影した動画から3Dモデルを生成できる
すげえhide.icon
ステップ
動作を画像に変える
スクリプトで処理
新しいバージョン
obj 書き出しができる
水面の反射とかも取れる
v2 のインストールに苦戦
Windows に instant-ngp をインストール
crypto じゃないけど、おもしろそうなので今日の勉強会のテーマは、フォトグラメトリ用のソフトウェアをインストール
ちょっと回りくどいやり方するけど、プログラミング初学者がいるため
code:bash
mkdir v2-instant-ngp
dir
cd v2-instant-ngp
move instant-ngp v2-instant-ngp
cd v2-instant-ngp
Windows でビルドするためには、 developer command prompt を使う必要があるらしい
Then, use CMake to build the project: (on Windows, this must be in a developer command prompt)
Developer Command Prompt
To open a developer command prompt window
On the desktop, open the Windows Start menu. In Windows 11, choose the All apps button to open the list of installed apps. In Windows 10, the list is open to the left. Scroll down the list to find and open the folder (not the app) for your version of Visual Studio, for example, Visual Studio 2022.
In the folder, choose the Developer Command Prompt for your version of Visual Studio. This shortcut starts a developer command prompt window that uses the default build architecture of 32-bit, x86-native tools to build 32-bit, x86-native code. If you prefer a non-default build architecture, choose one of the native or cross tools command prompts to specify the host and target architecture.
For an even faster way to open a developer command prompt, enter developer command prompt in the desktop search box. Then choose the result you want.
code:bash
cd v2-instant-ngp
cd v2-instant-ngp
code:bash
cmake . -B build
code:bash
cmake --build build --config RelWithDebInfo -j
If the build succeeds, you can now run the code via the build/instant-ngp executable or the scripts/run.py script described below.
code:bash
.\build\instant-ngp --scene data\nerf\fox
きつねすげえhide.icon
https://scrapbox.io/files/63a480b50caf0d001eb1cfa2.png
NeRF Studio をインストール
事前準備
code:bash
py -m pip install --upgrade setuptools pip wheel
code:bash
py -m pip install nvidia-pyindex
code:bash
py -m pip install nvidia-cuda-runtime-cu12
これだけでよかったかも
code:bash
conda install cuda -c nvidia
code:bash
mkdir nerfstudio
cd nerfstudio
code:bash
conda create --name nerfstudio -y python=3.8
conda activate nerfstudio
python -m pip install --upgrade pip
code:bash
tiny-cuda-nn のインストールに失敗
code:bash
conda install -c conda-forge ninja
code:bash
cd tiny-cuda-nn/bindings/torch
python setup.py install
だめ
CUDA Toolkit
環境変数の確認
Windowsキー + Pause/Break キー > Advanced System Settings > Environment Variables
code:bash
set CUDA=%CUDA_PATH%;
code:bash
set CUDA_HOME=%CUDA_PATH%;
code:bash
code:bash
python -m pip install -U --force pip
code:bash
Windows: CUDA 11.5 or higher
次回これに合わせて、 CUDA のバージョンを変えましょう
code:bash
pip install nerfstudio
code:bash
# Download some test data:
ns-download-data nerfstudio --capture-name=poster
# Train model
ns-train nerfacto --data data/nerfstudio/poster
初心者向け概念理解
環境変数
PATH