have miniconda portable what can to it run: # [CVPR 2020] 3D Photography using…
- User
have miniconda portable what can to it run: # [CVPR 2020] 3D Photography using Context-aware Layered Depth Inpainting
[image: Open 3DPhotoInpainting in Colab] open
[Paper] [Project Website] [Google Colab]
We propose a method for converting a single RGB-D input image into a 3D photo, i.e., a multi-layer representation for novel view synthesis that contains hallucinated color and depth structures in regions occluded in the original view. We use a Layered Depth Image with explicit pixel connectivity as underlying representation, and present a learning-based inpainting model that iteratively synthesizes new local color-and-depth content into the occluded region in a spatial context-aware manner. The resulting 3D photos can be efficiently rendered with motion parallax using standard graphics engines. We validate the effectiveness of our method on a wide range of challenging everyday scenes and show fewer artifacts when compared with the state-of-the-arts.
3D Photography using Context-aware Layered Depth Inpainting Meng-Li Shih, Shih-Yang Su, Johannes Kopf, and Jia-Bin Huang In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2020.
Prerequisites
- Linux (tested on Ubuntu 18.04.4 LTS)
- Anaconda
- Python 3.7 (tested on 3.7.4)
- PyTorch 1.4.0 (tested on 1.4.0 for execution)
and the Python dependencies listed in requirements.txt
- To get started, please run the following commands:
- Assistant
- User
how to: Open your terminal or command-line interface (where Miniconda is accessible)
- Assistant
- User
CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'. If using 'conda activate' from a batch script, change your invocation to 'CALL conda.bat activate'.
To initialize your shell, run
$ conda init <SHELL_NAME>Currently supported shells are:
- bash
- cmd.exe
- fish
- tcsh
- xonsh
- zsh
- powershell
See 'conda init --help' for more information and options.
IMPORTANT: You may need to close and restart your shell after running 'conda init'.
- Assistant
This error happens because
conda's shell integration (which enablesconda activate) has not been initialized in your current terminal session.Since you’re using Miniconda Portable and likely the Windows Command Prompt (cmd.exe), here’s how to fix it step-by-step:
Solution for Windows Command Prompt (cmd.exe)
1. Initialize conda for cmd.exe
Run this command in your Command Prompt:
D:\PortableApps\Miniconda3\Scripts\conda.bat init cmd.exe - User
the conda open and already close
- Assistant