Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
0
Help us understand the problem. What is going on with this article?
@T_keigo_wwk

pytorch3d 動作確認時メモ

More than 1 year has passed since last update.

pytorch3dの動作確認です

環境

Ubuntu 18.04 LST
GPU RTX2080Ti
CUDA 10.1
miniconda 4.7.12

環境構築

https://github.com/facebookresearch/pytorch3d/blob/master/INSTALL.md
インストールガイドに沿って環境構築を行いました

git clone

git clone https://github.com/facebookresearch/pytorch3d.git

conda 環境作成

conda create -n pytorch3d python=3.6
conda activate pytorch3d
conda install -c pytorch pytorch torchvision cudatoolkit=10.0
conda install -c conda-forge -c fvcore fvcore

condaでcuda10.0環境を改めて構築する

デモ用環境の構築

pip install scikit-image matplotlib imageio
conda install jupyter
pip install black isort flake8

pytorch3d本体の環境構築

conda install pytorch3d -c pytorch3d

demo実行

notebookを起動させます

cd ./pytorch3d
jupyter-notebook

このnotebook自体では毎回pytorch3dをビルドするのでそこそこ実行時間がかかります
./docs/tutorials内にあるbundle_adjustment.ipynbをnotebookで順次実行していきます

こんな感じで推論されたカメラ角度が出力されるはずです

image.png

image.png

0
Help us understand the problem. What is going on with this article?
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
T_keigo_wwk
記事の多くはメモ、当方での動作検証結果がメインで現時点での再現性を保証するものではありません。 引用する際は引用先を明示して行うよう心がけておりますが抜けている箇所、事実と異なるや技術的問題等ある箇所がありましたら御一報ください

Comments

No comments
Sign up for free and join this conversation.
Sign Up
If you already have a Qiita account Login
0
Help us understand the problem. What is going on with this article?