Update README.md
Browse files
README.md
CHANGED
|
@@ -23,7 +23,7 @@ from transformers.image_utils import load_image
|
|
| 23 |
|
| 24 |
image_path = "your local image path"
|
| 25 |
dim = 384
|
| 26 |
-
image = cv2.imread(
|
| 27 |
image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB)
|
| 28 |
image = cv2.resize(image, (dim, dim))
|
| 29 |
transform = transforms.ToTensor()
|
|
|
|
| 23 |
|
| 24 |
image_path = "your local image path"
|
| 25 |
dim = 384
|
| 26 |
+
image = cv2.imread(image_path)
|
| 27 |
image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB)
|
| 28 |
image = cv2.resize(image, (dim, dim))
|
| 29 |
transform = transforms.ToTensor()
|