
## Run
Set conda env.
```
make env
conda activate sam-vit-h-encoder-torchscript
make setup
```

Load the SAM model and convert image encoder to torchscript.
```
python convert_torchscript.py
```

Check `model.pt` in `model_repository/sam_torchscript_fp32/1`.

{"license": "apache-2.0"}
license:apache-2.0 region:us
TAGS
#license-apache-2.0 #region-us 


## Run
Set conda env.


Load the SAM model and convert image encoder to torchscript.


Check 'URL' in 'model_repository/sam_torchscript_fp32/1'.

## Run
Set conda env.


Load the SAM model and convert image encoder to torchscript.


Check 'URL' in 'model_repository/sam_torchscript_fp32/1'.
TAGS
#license-apache-2.0 #region-us 
 ## Run
Set conda env.


Load the SAM model and convert image encoder to torchscript.


Check 'URL' in 'model_repository/sam_torchscript_fp32/1'.