Segmented Images
- Use SegmentAnything model to obtain segmented images (available on Colab at https://colab.research.google.com/drive/1OGNudUf9y8annN-lVsvgsTVKH5kpBjj3?usp=sharing)
Before Running:
- Launch virtual environment: python -m venv myenv
- Activate virtual environment: myenv\Scripts\activate on Windows, source myenv/bin/activate on Mac/Linux
- Install the required dependencies: pip install -r requirements.txt
- Download the SAM model checkpoint: wget https://dl.fbaipublicfiles.com/segment_anything/sam_vit_h_4b8939.pth
- Change file paths in random-segmentation-augmentation.py