googlecreativelab / aiexperiments-drum-machine

Thousands of everyday sounds, organized using machine learning.
https://aiexperiments.withgoogle.com/drum-machine
Apache License 2.0
738 stars 118 forks source link

No such file or directory: 'data/tags.tsv' #10

Open skabbit opened 7 years ago

skabbit commented 7 years ago

No file tags.tsv needed to run split.py. Can't find any info, how to generate it or even what does "tags" mean. (AudioNotebooks repo checked too)

skabbit commented 7 years ago

data/name.tsv is missing too.

OFFTOP: Also, names for tsne files is changed by config of default initial_dims and perplexities in Fingerprints to t-SNE.ipynb (now it is 30 and 30)

EMCP commented 7 years ago

personally I dropped that data from the def combine_json along with name.tsv , and the project seemed to get up and running

skabbit commented 7 years ago

@EMCP I did the same, in split.py replaced names list by the list of filenames.

# with open('data/tags.tsv') as tag_file:
#     tags = tag_file.read().split("\n")
# with open('data/name.tsv') as name_file:    
#     names = name_file.read().split("\n")

tags = [] * len(file_names)
with open('data/filenames.txt') as file_name_file:    
    names = file_name_file.read().split("\n")[:-1]