Spaces:
Runtime error
Runtime error
Download isegm/data/datasets/berkeley.py from curt-park/interactive-segmentation: direct link, hf CLI and curl.
- Browser
- Download file 246 Bytes
-
https://huggingface.co/spaces/curt-park/interactive-segmentation/resolve/main/isegm/data/datasets/berkeley.py
- Command line
-
hf download hf://spaces/curt-park/interactive-segmentation/isegm/data/datasets/berkeley.py
-
curl -L -o berkeley.py https://huggingface.co/spaces/curt-park/interactive-segmentation/resolve/main/isegm/data/datasets/berkeley.py
246 Bytes
| from .grabcut import GrabCutDataset | |
| class BerkeleyDataset(GrabCutDataset): | |
| def __init__(self, dataset_path, **kwargs): | |
| super().__init__( | |
| dataset_path, images_dir_name="images", masks_dir_name="masks", **kwargs | |
| ) | |