Skip to content

Commit 7ca00c2

Browse files
committed
fix: fixed path
1 parent ee58ce6 commit 7ca00c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flaxdiff/data/sources/images.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def __init__(self, label_path: str = None):
120120
label_path: Path to the labels file for datasets like Oxford Flowers.
121121
"""
122122
if label_path is None:
123-
label_path = os.path.join(os.path.expanduser("~"), "~/tensorflow_datasets/oxford_flowers102/2.1.1/label.labels.txt")
123+
label_path = os.path.join(os.path.expanduser("~"), "tensorflow_datasets/oxford_flowers102/2.1.1/label.labels.txt")
124124
self.label_path = label_path
125125

126126
def create_transform(self, image_scale: int = 256, method: Any = None) -> Callable[[], pygrain.MapTransform]:

0 commit comments

Comments
 (0)