speech_commands_enriched / data /clip_metadata.py
soeren
git lfs now tracking, git doesn't
eef88e0
raw
history blame
343 Bytes
import pandas as pd
_SPLIT = "train"
df = pd.read_parquet("data/dataset_audio_" + _SPLIT +".parquet.gzip")
clipped_df = df.filter(["Probability", "Predicted Label", "Annotated Labels", "Probability Vector", "embedding_reduced"],
axis=1)
clipped_df.to_parquet("data/dataset_audio_" + _SPLIT +"_clipped.parquet.gzip")