Remove plot from loader schema
Browse files- vlm_plant_sim.py +2 -2
vlm_plant_sim.py
CHANGED
|
@@ -50,8 +50,8 @@ class VlmPlantSimDataset(datasets.GeneratorBasedBuilder):
|
|
| 50 |
"split": Value("string"),
|
| 51 |
"source": Value("string"),
|
| 52 |
"dap": Value("int32"),
|
| 53 |
-
"plot": Value("int32"),
|
| 54 |
"bed": Value("int32"),
|
|
|
|
| 55 |
"image_path": Value("string"),
|
| 56 |
"annotation_path": Value("string"),
|
| 57 |
"scene_json_path": Value("string"),
|
|
@@ -105,8 +105,8 @@ class VlmPlantSimDataset(datasets.GeneratorBasedBuilder):
|
|
| 105 |
"split": record.get("split", ""),
|
| 106 |
"source": record.get("source", ""),
|
| 107 |
"dap": int(record.get("dap", 0)),
|
| 108 |
-
"plot": int(record.get("plot", 0)),
|
| 109 |
"bed": int(record.get("bed", record.get("tier", record.get("location", 0)))),
|
|
|
|
| 110 |
"image_path": record.get("image_path", ""),
|
| 111 |
"annotation_path": record.get("annotation_path", ""),
|
| 112 |
"scene_json_path": record.get("scene_json_path", ""),
|
|
|
|
| 50 |
"split": Value("string"),
|
| 51 |
"source": Value("string"),
|
| 52 |
"dap": Value("int32"),
|
|
|
|
| 53 |
"bed": Value("int32"),
|
| 54 |
+
"tier": Value("int32"),
|
| 55 |
"image_path": Value("string"),
|
| 56 |
"annotation_path": Value("string"),
|
| 57 |
"scene_json_path": Value("string"),
|
|
|
|
| 105 |
"split": record.get("split", ""),
|
| 106 |
"source": record.get("source", ""),
|
| 107 |
"dap": int(record.get("dap", 0)),
|
|
|
|
| 108 |
"bed": int(record.get("bed", record.get("tier", record.get("location", 0)))),
|
| 109 |
+
"tier": int(record.get("tier", record.get("bed", record.get("location", 0)))),
|
| 110 |
"image_path": record.get("image_path", ""),
|
| 111 |
"annotation_path": record.get("annotation_path", ""),
|
| 112 |
"scene_json_path": record.get("scene_json_path", ""),
|