gvecchio commited on
Commit
e6a164a
1 Parent(s): dab5342

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
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")