Update app.py
Browse files
app.py
CHANGED
@@ -15,6 +15,7 @@ from albumentations import (
|
|
15 |
ShiftScaleRotate,
|
16 |
RandomScale
|
17 |
)
|
|
|
18 |
|
19 |
def get_y_fn (x):
|
20 |
return Path(str(x).replace("Images","Labels").replace("color","gt").replace(".jpg",".png"))
|
|
|
15 |
ShiftScaleRotate,
|
16 |
RandomScale
|
17 |
)
|
18 |
+
import numpy as np
|
19 |
|
20 |
def get_y_fn (x):
|
21 |
return Path(str(x).replace("Images","Labels").replace("color","gt").replace(".jpg",".png"))
|