to run our Jupyter notebook and follow the instructions. conda activate sam wget https://dl.fbaipublicfiles.com/segment_anything/sam_vit_h_4b8939.pth pip install git ...
We recommend using Anaconda to manage the Python environment. In this work, we use conda version 4.13.0, and install the following packages in the virtual environment midm. conda create -n midm ...