Skip to content

Commit 363f2c2

Browse files
author
Baichuan Sun
committed
fix: typos
1 parent 981983c commit 363f2c2

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ path = untar_data(URLs.CAMVID_TINY)
6565
6666
Secondly, define helper functions to calculate segmentation performance and read in segmentation mask for each training image.
6767

68-
**Note**: it's tempting to define one-line python `lambda` functions to pass to fastai, however, this will introduce issue for serialization when we want to export a FastAI model. Therefore we avoid using anonymous python functions during FastAI modeling steps.
68+
**Note**: it's tempting to define one-line python `lambda` functions to pass to fastai, however, this will introduce issue on serialization when we want to export a FastAI model. Therefore we avoid using anonymous python functions during FastAI modeling steps.
6969

7070
```python
7171
def acc_camvid(inp, targ, void_code=0):
@@ -439,7 +439,7 @@ As described in the previous section, we re-define the image transform steps and
439439

440440
#### `inference`
441441

442-
Now convert image into Pytorch Tensor, load it into GPU is available, and pass it through the model.
442+
Now convert image into Pytorch Tensor, load it into GPU if available, and pass it through the model.
443443

444444
```python
445445
def inference(self, img):
@@ -564,11 +564,17 @@ plt.imshow(pred_decoded);
564564

565565
### Clean up
566566

567-
Make sure that you delete the Amazon SageMaker endpoint to prevent any additional charges.
567+
Make sure that you delete the following resources to prevent any additional charges:
568+
569+
1. Amazon SageMaker endpoint.
570+
2. Amazon SageMaker endpoint configuration.
571+
3. Amazon SageMaker model.
572+
4. Amazon Elastic Container Registry (ECR).
573+
5. Amazon Simple Storage Service (S3) Buckets.
568574

569575
## Conclusion
570576

571-
This repository presented an end-to-end demonstration of deploying FastAI trained PyTorch models on TorchServe eager model and host in Amazon SageMaker Endpoint. You can use this repository as a template to deploy your own FastAI models. This approach eliminates the self-maintaining effort to build and manage an customized inference server, which helps you to speed up the process from training a cutting-edge deep learning model to its online application in real-world environment at scale.
577+
This repository presented an end-to-end demonstration of deploying FastAI trained PyTorch models on TorchServe eager model and host in Amazon SageMaker Endpoint. You can use this repository as a template to deploy your own FastAI models. This approach eliminates the self-maintaining effort to build and manage a customized inference server, which helps you to speed up the process from training a cutting-edge deep learning model to its online application in real-world at scale.
572578

573579
If you have questions please create an issue or submit Pull Request on the GitHub repository.
574580

0 commit comments

Comments
 (0)