stdio2016 / pfann

Neural Network Audio FingerPrint
55 stars 13 forks source link

Why use "train_data" while validating? #8

Open jaelgu opened 1 year ago

jaelgu commented 1 year ago

As line120 in train.py:

for x in tqdm(train_data, desc='train data', ncols=80):

Why do you use train data here?

stdio2016 commented 1 year ago

Because I used training music for dummy database during testing. I consider the case that we add songs after we train our model. In this case, the training data is already in database, and we want to know the accuracy of new songs.