Datasets:
update column name
Browse filesFiles changed (2)
73 unmodified lines7475767778798081829 unmodified lines92939495969798995 unmodified lines10510610710810911073 unmodified linesvalid_df_source["source"] = sourceall_dfs.append(valid_df_source)# Add is_cloned_voice columnis_cloned_voice = source != "commonvoice"valid_df_source["is_cloned_voice"] = is_cloned_voice# Add fname columnvalid_df_source["filename"] = valid_df_source["path"]9 unmodified linesprint()print("Statistics:")print("Number of original voices: ", len(all_df[all_df.is_cloned_voice == False]))print("Number of cloned voices: ", len(all_df[all_df.is_cloned_voice == True]))print("Number of TOTAL voices: ", len(all_df))print()5 unmodified linesprint(all_df.gender.value_counts())print()print("Gender distribution (not cloned):")print(all_df[all_df.is_cloned_voice == False].gender.value_counts())print()73 unmodified lines7475767778798081829 unmodified lines92939495969798995 unmodified lines10510610710810911011111211311473 unmodified linesvalid_df_source["source"] = sourceall_dfs.append(valid_df_source)# Add cloned_or_real columnis_cloned_voice = source != "commonvoice"valid_df_source["cloned_or_human"] = "cloned" if is_cloned_voice else "human"# Add fname columnvalid_df_source["filename"] = valid_df_source["path"]9 unmodified linesprint()print("Statistics:")print("Number of human voices: ", len(all_df[all_df.cloned_or_human == "human"]))print("Number of cloned voices: ", len(all_df[all_df.cloned_or_human == "cloned"]))print("Number of TOTAL voices: ", len(all_df))print()5 unmodified linesprint(all_df.gender.value_counts())print()print("Gender distribution (human):")print(all_df[all_df.cloned_or_human == "human"].gender.value_counts())print()print("Gender distribution (cloned):")print(all_df[all_df.cloned_or_human == "cloned"].gender.value_counts())print()
123version https://git-lfs.github.com/spec/v1oid sha256:2d078991bedfe4aecaca197f17f857bd395c80a3cfc39dab4a7330fa42834059size 849080123version https://git-lfs.github.com/spec/v1oid sha256:e02789c50fa8265b537e4ab06d73d4fa2b833957dd1c5b2675ec836cd648e174size 856672
create_valid_csv.py+11-7
metadata-valid.csv+2-2