Table of Contents |
---|
Setting up AutoSfM
Setting up Docker
...
Upon succesful build, an image named 'sfm
' will be created on the host. Verify that the image is built using:
...
When prompted to accept the agreement, type “yes” yes
and press Enter
...
When prompted for the installation location, press Enter. This will keep the default path
...
When prompted, type “yes” yes
and press Enter
...
Login again and conda will be active.
...
Code Block | ||
---|---|---|
| ||
cd ~
git clone -b develop https://github.com/precision-sustainable-ag/SemiF-AnnotationPipeline.git |
The repository and the code is now set up. Note that the -b develop
is a temporary measure till the main branch is updated with the stable changes.
Setting up the conda environment
Make a new conda environment from the environment.yml
file in the repository
Code Block |
---|
# OpenCV dependencies sudo apt-get install ffmpeg libsm6 libxext6 -y cd ~/SemiF-AnnotationPipeline |
Create GPU or NoGPU environment
No Nvidia GPU:
Code Block |
---|
conda env create -f environment_nogpu.yml |
Nvidia GPU:
Code Block |
---|
conda env create -f environment_gpu.yml |
Then activate the conda environment
Code Block |
---|
conda activate semif_nogpu |
Copy the metashape software to autosfm/volumes/metashape
. The installation will look like this:
...