Install the Zoo Workflow¶
There are two ways to install the CoastSeg zoo workflow:
- Pixi
- Conda
Pixi is the recommended option.
Install with Pixi (Recommended)¶
Pixi is the recommended way to install the zoo workflow.
- Open a terminal.
- Go to the
segmentation_workflowfolder.1cd CoastSeg/segmentation_workflow -
Create and activate the Pixi environment.
1pixi shell -
Wait for the environment to finish installing and activating.
- Confirm the environment is active.
- You will know it is active when you see
(segmentation_workflow)in the terminal.1(segmentation_workflow) C:\CoastSeg\segmentation_workflow
- You will know it is active when you see
- Exit the Pixi environment.
1 | |
Install with Conda¶
Conda also works, but we do not recommend it.
Warning
The Conda workflow requires you to run the models with the script run_zoo_segmentation_models.py in the folder segmentation_workflow and then run the script 3_zoo_workflow_extract_shorelines.py in the main CoastSeg environment to extract shorelines from the segmentations.
- Open Miniforge.
- Go to the
CoastSeg/segmentation_workflowfolder- Remember to use the location where you installed CoastSeg on your computer.
1 2
cd <CoastSeg_location> cd segmentation_workflow
- Remember to use the location where you installed CoastSeg on your computer.
- Install the Conda environment using the instructions in
segmentation_workflow.This workflow works fine, but Pixi is the recommended setup for the zoo workflow.1conda env create -f conda.yml