Update README.md
Browse files52 unmodified lines53545556575859142 unmodified lines20220320420520620720825 unmodified lines23423523623723823924052 unmodified lines<h1 style="display: flex; align-items: center; justify-content: center; font-size: 1.70em; font-weight: 600;"><img src="https://huggingface.co/datasets/BAAI/RefSpatial-Bench/resolve/main/assets/logo.png" style="height: 60px; flex-shrink: 0;">142 unmodified lines```pythonfrom datasets import load_dataset# Load the entire dataset (all splits: location, placement, unseen)# This returns a DatasetDictdataset_dict = load_dataset("JingkunAn/RefSpatial-Expand-Bench")25 unmodified linesIf you are working with the raw data format (e.g., after cloning the repository or downloading the raw files), you can load the questions from the `question.json` file for each split and then load the images and masks using a library like Pillow (PIL).This example assumes you have the `location`, `placement`, and `unseen` folders (each containing `image/`, `mask/`, and `question.json`) in a known `base_data_path`.```pythonimport json52 unmodified lines53545556575859142 unmodified lines20220320420520620720825 unmodified lines23423523623723823924052 unmodified lines<h1 style="display: flex; align-items: center; justify-content: center; font-size: 1.75em; font-weight: 600;"><img src="https://huggingface.co/datasets/BAAI/RefSpatial-Bench/resolve/main/assets/logo.png" style="height: 60px; flex-shrink: 0;">142 unmodified lines```pythonfrom datasets import load_dataset# Load the entire dataset (all splits: location, placement)# This returns a DatasetDictdataset_dict = load_dataset("JingkunAn/RefSpatial-Expand-Bench")25 unmodified linesIf you are working with the raw data format (e.g., after cloning the repository or downloading the raw files), you can load the questions from the `question.json` file for each split and then load the images and masks using a library like Pillow (PIL).This example assumes you have the `location` and `placement` folders (each containing `image/`, `mask/`, and `question.json`) in a known `base_data_path`.```pythonimport json
README.md+3-3