Yassine commited on
Commit
499e711
·
verified ·
1 Parent(s): 5f5e7e6

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -1
README.md CHANGED
@@ -22,8 +22,11 @@ Table of Contents:
22
  ## Load trained model
23
  ```python
24
  import segmentation_models_pytorch as smp
 
25
 
26
- model = smp.from_pretrained("<save-directory-or-this-repo>")
 
 
27
  ```
28
 
29
  ## Model init parameters
 
22
  ## Load trained model
23
  ```python
24
  import segmentation_models_pytorch as smp
25
+ import albumentations as A
26
 
27
+ hub_repo = "commaai/comma10k-segnet"
28
+ model = smp.from_pretrained(hub_repo)
29
+ transform = A.Compose.from_pretrained(hub_repo)
30
  ```
31
 
32
  ## Model init parameters