Download Dataset/nested_triangles_dataset_3000/flatten_nested_triangles_annotations.py from bilaljawaid980/GRIP-Benchmark: direct link, hf CLI and curl.
- Browser
- Download file 236 Bytes
-
https://huggingface.co/datasets/bilaljawaid980/GRIP-Benchmark/resolve/main/Dataset/nested_triangles_dataset_3000/flatten_nested_triangles_annotations.py
- Command line
-
hf download hf://datasets/bilaljawaid980/GRIP-Benchmark/Dataset/nested_triangles_dataset_3000/flatten_nested_triangles_annotations.py
-
curl -L -o flatten_nested_triangles_annotations.py https://huggingface.co/datasets/bilaljawaid980/GRIP-Benchmark/resolve/main/Dataset/nested_triangles_dataset_3000/flatten_nested_triangles_annotations.py
236 Bytes
| import sys | |
| from pathlib import Path | |
| sys.path.insert(0,str(Path(__file__).resolve().parents[1]));from flatten_nested_polygon_annotations import flatten | |
| if __name__=="__main__":flatten(Path(__file__).resolve().parent/"annotations.jsonl") | |