The following issue was encountered, indicating that mobile_sam hadn't been downloaded:
This problem was rectified by cloning the current repository.
After the installation, a new error regarding timm cropped up, as shown below:
This was addressed by simply installing the timm package using !pip install timm.
Lastly, there was an error stating that the model could not be found. This was easily resolved by downloading the model with the following command: !wget https://github.com/ChaoningZhang/MobileSAM/raw/master/weights/mobile_sam.pt
and adjusting the path to the downloaded path.
Solution
This PR already added the required code and in working state
Problem
The following issue was encountered, indicating that mobile_sam hadn't been downloaded: This problem was rectified by cloning the current repository.
After the installation, a new error regarding timm cropped up, as shown below:
This was addressed by simply installing the timm package using
!pip install timm
.Lastly, there was an error stating that the model could not be found. This was easily resolved by downloading the model with the following command:
!wget https://github.com/ChaoningZhang/MobileSAM/raw/master/weights/mobile_sam.pt
and adjusting the path to the downloaded path.Solution
This PR already added the required code and in working state