From 32022f682b009283a62bb52e86034f3134a6f8e4 Mon Sep 17 00:00:00 2001 From: = Date: Thu, 31 Mar 2022 12:26:31 -0400 Subject: [PATCH 1/3] List dependencies in environment.yml --- README.md | 4 +--- environment.yml | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 environment.yml diff --git a/README.md b/README.md index 72d3e24..073c79f 100644 --- a/README.md +++ b/README.md @@ -11,10 +11,8 @@ https://user-images.githubusercontent.com/16453770/158920837-3fafaa17-6ed9-4414- Install environment: ``` -conda create -n TensoRF python=3.8 +conda env create -f environment.yml conda activate TensoRF -pip install torch torchvision -pip install tqdm scikit-image opencv-python configargparse lpips imageio-ffmpeg kornia lpips tensorboard ``` diff --git a/environment.yml b/environment.yml new file mode 100644 index 0000000..b6bd23a --- /dev/null +++ b/environment.yml @@ -0,0 +1,16 @@ +# To run: conda env create -f environment.yml +name: TensoRF +channels: + - defaults +dependencies: + - python=3.7 + - pip + - pip: + - configargparse + - imageio-ffmpeg + - kornia + - lpips + - opencv-python + - scikit-image + - tensorboard + - tqdm From 2ab5fad26aa750272bce292ae5c4b68ac6840a53 Mon Sep 17 00:00:00 2001 From: = Date: Fri, 1 Apr 2022 08:58:12 -0400 Subject: [PATCH 2/3] [fix] use python 3.8 --- environment.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/environment.yml b/environment.yml index b6bd23a..30c1672 100644 --- a/environment.yml +++ b/environment.yml @@ -1,9 +1,8 @@ -# To run: conda env create -f environment.yml name: TensoRF channels: - defaults dependencies: - - python=3.7 + - python=3.8 - pip - pip: - configargparse From 5720788f10f6a21f2ea1286c9e0356f83db09a0d Mon Sep 17 00:00:00 2001 From: = Date: Sun, 3 Apr 2022 11:46:13 -0400 Subject: [PATCH 3/3] Add missing PyTorch imports. --- environment.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/environment.yml b/environment.yml index 30c1672..2866e78 100644 --- a/environment.yml +++ b/environment.yml @@ -12,4 +12,6 @@ dependencies: - opencv-python - scikit-image - tensorboard + - torch + - torchvision - tqdm