Skip to content
This repository has been archived by the owner on Oct 10, 2022. It is now read-only.

Files with poor annotation #7

Closed
snakers4 opened this issue May 14, 2019 · 18 comments
Closed

Files with poor annotation #7

snakers4 opened this issue May 14, 2019 · 18 comments
Assignees
Labels
enhancement New feature or request

Comments

@snakers4
Copy link
Owner

I will be posting here some lists of files to be exluded from the dataset from time to time
Such lists are obtained via training models and seeping through files with higher than expected CER

@snakers4 snakers4 self-assigned this May 14, 2019
@snakers4
Copy link
Owner Author

So far we believe that 15-20% of our files may be of poor annotation quality
We will not be excluding them from the dataset for now, but we will be posting such lists here

@snakers4
Copy link
Owner Author

snakers4 commented May 14, 2019

@buriy
These are files in the file db, that most likely have poor annotation, according to my model

bad_trainval_v03.zip
bad_public_train_v03.zip

@snakers4 snakers4 added bug Something isn't working enhancement New feature or request and removed bug Something isn't working labels May 29, 2019
@vadimkantorov
Copy link

vadimkantorov commented Jun 14, 2019

stats by source fom bad_trainval_v03.zip and bad_public_train_v03.zip:

bad_public_train_v03.csv:

Counter({
'asr_public_phone_calls_2': 170911, 
'private_buriy_audiobooks_2': 128318, 
'public_youtube700': 115683, 
'asr_public_phone_calls_1': 83432, 
'public_series_1': 4823, 
'asr_public_stories_2': 2902, 
'asr_public_stories_1': 2225, 
'tts_russian_addresses_rhvoice_4voices': 235, 
'public_lecture_1': 201, 
'voxforge_ru': 190, 
'ru_ru': 99, 
'russian_single': 55
})

bad_trainval_v03.csv:

Counter({
'private_buriy_audiobooks_2': 4895, 
'public_youtube700': 4217, 
'public_series_1': 185, 
'private_buriy_audiobooks_1': 166, 
'public_lecture_1': 15, 
'voxforge_ru': 7, 
'ru_ru': 6
})

From both files: 518560 utterances

@snakers4 snakers4 mentioned this issue Jun 30, 2019
@snakers4
Copy link
Owner Author

For the public - all of this is already old and should / will be updated

@snakers4
Copy link
Owner Author

snakers4 commented Jul 2, 2019

New round of data distillation

A bit more detailed file pointing out files with poor annotation with some meta-data

  • CER threshold;
  • One of best CERs so far;

It looks like that ~2m utterances out of 7m are to be discarded this way
Pretty good yield for annotation w/o using money

To use these files note that this is a multi-part zip file
You have to change the names of the part files from *.z0?.zip to *.z0?

public_exclude_file_v5.zip
public_exclude_file_v5.z02.zip
public_exclude_file_v5.z03.zip
public_exclude_file_v5.z01.zip

@vadimkantorov
Copy link

For those looking for to download and unzip correctly these exclude files:

wget https://github.com/snakers4/open_stt/files/3348311/public_exclude_file_v5.zip
wget https://github.com/snakers4/open_stt/files/3348314/public_exclude_file_v5.z01.zip
wget https://github.com/snakers4/open_stt/files/3348312/public_exclude_file_v5.z02.zip
wget https://github.com/snakers4/open_stt/files/3348313/public_exclude_file_v5.z03.zip

mv public_exclude_file_v5.z01.zip public_exclude_file_v5.z01
mv public_exclude_file_v5.z02.zip public_exclude_file_v5.z02
mv public_exclude_file_v5.z03.zip public_exclude_file_v5.z03

cat public_exclude_file_v5.z01 public_exclude_file_v5.z02 public_exclude_file_v5.z03 public_exclude_file_v5.zip > public_exclude_files_v5_.zip

unzip public_exclude_files_v5_.zip

@snakers4
Copy link
Owner Author

snakers4 commented Jul 7, 2019

Yeah, I guess the README.md requires some refining

@buriy
Copy link
Contributor

buriy commented Jul 10, 2019

Here's the complete exclude file for v5:
https://github.com/snakers4/open_stt/releases/download/v0.5-beta/public_exclude_file_v5.tar.gz

@vadimkantorov
Copy link

@buriy There are a few files less than 20Kb, among which ru_open_stt/public_youtube700/d/a3/9a3ee5e6b4b0.wav fails to load with scipy.io.wavfile. It would be nice if you could exclude them in the next update of the exclude file.

@buriy
Copy link
Contributor

buriy commented Jul 10, 2019

@vadimkantorov that's a known issue: this file length is 44 bytes, which is .wav header size.
scipy.io.wavfile refuses to load empty files.
We'll look into it at some moment later.

@snakers4
Copy link
Owner Author

Actually this is due to really empty files but whatever)

@snakers4
Copy link
Owner Author

Yeah I forgot to exclude bad files for youtube_1120

@snakers4
Copy link
Owner Author

snakers4 commented Jul 11, 2019

image

@vadimkantorov
Copy link

hope it comes online soon! :)

@snakers4
Copy link
Owner Author

Exclude file for YouTube1120

Compared with previous YouTube dataset, this one is much more challenging
image

To be on the safe side - I would exclude all files with current CER>0.4 (for this dataset we have ~40% of such files, unlike 25-30% as before)

Such files usually fall into 3 categories

  • 1/3 - just plain wrong annotation
  • 1/3 - correct annotation, but very noisy domain
  • 1/3 - under-performing network

exclude_df_youtube_1120.zip

@snakers4
Copy link
Owner Author

I would refer this issue here #5 (comment) for discussion

@Oktai15
Copy link

Oktai15 commented Jan 13, 2020

@buriy @snakers4

Here's the complete exclude file for v5:
https://github.com/snakers4/open_stt/releases/download/v0.5-beta/public_exclude_file_v5.tar.gz

exclude_df_youtube_1120.zip

Both .csv files have paths from youtube_1120 dataset. What is the difference between them?

@Oktai15
Copy link

Oktai15 commented Jan 13, 2020

exclude_df_youtube_1120.zip has more files than public_exclude_file_v5.tar.gz or it is the same?

UPD: grep public_youtube1120/ public_exclude_file_v5.csv | wc -l gives 191020 lines, but exclude_df_youtube_1120.csv has 541872 lines

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants