Update README.md
Browse files
README.md
CHANGED
@@ -201,7 +201,7 @@ ds = load_dataset(
|
|
201 |
# remove unnecessary columns to reduce downloaded data
|
202 |
ds = ds.remove_columns(["diffuse", "specular", "displacement", "opacity", "blend_mask"])
|
203 |
# keep only specified columns
|
204 |
-
ds = ds.select_columns(["basecolor", "normal", "roughness", "metallic"])
|
205 |
|
206 |
# filter data matching a specific criteria, e.g.: only CC0 materials
|
207 |
ds = ds.filter(lambda x: x["metadata"]["license"] == "CC0")
|
|
|
201 |
# remove unnecessary columns to reduce downloaded data
|
202 |
ds = ds.remove_columns(["diffuse", "specular", "displacement", "opacity", "blend_mask"])
|
203 |
# keep only specified columns
|
204 |
+
ds = ds.select_columns(["metadata", "basecolor", "normal", "roughness", "metallic"])
|
205 |
|
206 |
# filter data matching a specific criteria, e.g.: only CC0 materials
|
207 |
ds = ds.filter(lambda x: x["metadata"]["license"] == "CC0")
|