Remove unneeded future imports from importers
This commit is contained in:
parent
6f0bf3b3a8
commit
2f68ed1001
@ -3,8 +3,6 @@
|
|||||||
Tool for building Sample Databases (SDB files) from DeepSpeech CSV files and other SDB files
|
Tool for building Sample Databases (SDB files) from DeepSpeech CSV files and other SDB files
|
||||||
Use "python3 build_sdb.py -h" for help
|
Use "python3 build_sdb.py -h" for help
|
||||||
"""
|
"""
|
||||||
from __future__ import absolute_import, division, print_function
|
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
|
|
||||||
import progressbar
|
import progressbar
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
from __future__ import absolute_import, division, print_function
|
|
||||||
|
|
||||||
import glob
|
import glob
|
||||||
import os
|
import os
|
||||||
import tarfile
|
import tarfile
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
from __future__ import absolute_import, division, print_function
|
|
||||||
|
|
||||||
import glob
|
import glob
|
||||||
import os
|
import os
|
||||||
import tarfile
|
import tarfile
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
from __future__ import absolute_import, division, print_function
|
|
||||||
|
|
||||||
import csv
|
import csv
|
||||||
import os
|
import os
|
||||||
import subprocess
|
import subprocess
|
||||||
|
@ -6,8 +6,6 @@ and the script formats the data and transcripts to be in a state usable by
|
|||||||
DeepSpeech.py
|
DeepSpeech.py
|
||||||
Use "python3 import_cv2.py -h" for help
|
Use "python3 import_cv2.py -h" for help
|
||||||
"""
|
"""
|
||||||
from __future__ import absolute_import, division, print_function
|
|
||||||
|
|
||||||
import csv
|
import csv
|
||||||
import os
|
import os
|
||||||
import subprocess
|
import subprocess
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
from __future__ import absolute_import, division, print_function
|
|
||||||
|
|
||||||
import codecs
|
import codecs
|
||||||
import fnmatch
|
import fnmatch
|
||||||
import os
|
import os
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
from __future__ import absolute_import, division, print_function
|
|
||||||
|
|
||||||
import glob
|
import glob
|
||||||
import os
|
import os
|
||||||
import tarfile
|
import tarfile
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
from __future__ import absolute_import, division, print_function
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
from __future__ import absolute_import, division, print_function
|
|
||||||
|
|
||||||
import codecs
|
import codecs
|
||||||
import fnmatch
|
import fnmatch
|
||||||
import os
|
import os
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
from __future__ import absolute_import, division, print_function
|
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import csv
|
import csv
|
||||||
import os
|
import os
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
# pylint: disable=invalid-name
|
# pylint: disable=invalid-name
|
||||||
from __future__ import absolute_import, division, print_function
|
|
||||||
|
|
||||||
import csv
|
import csv
|
||||||
import os
|
import os
|
||||||
import subprocess
|
import subprocess
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
from __future__ import absolute_import, division, print_function
|
|
||||||
|
|
||||||
import glob
|
import glob
|
||||||
import os
|
import os
|
||||||
import tarfile
|
import tarfile
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
from __future__ import absolute_import, division, print_function
|
|
||||||
|
|
||||||
import glob
|
import glob
|
||||||
import json
|
import json
|
||||||
import os
|
import os
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
from __future__ import absolute_import, division, print_function
|
|
||||||
|
|
||||||
import csv
|
import csv
|
||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
from __future__ import absolute_import, division, print_function
|
|
||||||
|
|
||||||
# ensure that you have downloaded the LDC dataset LDC97S62 and tar exists in a folder e.g.
|
# ensure that you have downloaded the LDC dataset LDC97S62 and tar exists in a folder e.g.
|
||||||
# ./data/swb/swb1_LDC97S62.tgz
|
# ./data/swb/swb1_LDC97S62.tgz
|
||||||
# from the deepspeech directory run with: ./bin/import_swb.py ./data/swb/
|
# from the deepspeech directory run with: ./bin/import_swb.py ./data/swb/
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
Downloads and prepares (parts of) the "Spoken Wikipedia Corpora" for DeepSpeech.py
|
Downloads and prepares (parts of) the "Spoken Wikipedia Corpora" for DeepSpeech.py
|
||||||
Use "python3 import_swc.py -h" for help
|
Use "python3 import_swc.py -h" for help
|
||||||
"""
|
"""
|
||||||
from __future__ import absolute_import, division, print_function
|
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import csv
|
import csv
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
from __future__ import absolute_import, division, print_function
|
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import tarfile
|
import tarfile
|
||||||
import unicodedata
|
import unicodedata
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
from __future__ import absolute_import, division, print_function
|
|
||||||
|
|
||||||
import csv
|
import csv
|
||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
|
@ -3,8 +3,6 @@
|
|||||||
Downloads and prepares (parts of) the "German Distant Speech" corpus (TUDA) for DeepSpeech.py
|
Downloads and prepares (parts of) the "German Distant Speech" corpus (TUDA) for DeepSpeech.py
|
||||||
Use "python3 import_tuda.py -h" for help
|
Use "python3 import_tuda.py -h" for help
|
||||||
"""
|
"""
|
||||||
from __future__ import absolute_import, division, print_function
|
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import csv
|
import csv
|
||||||
import os
|
import os
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
# VCTK used in wavenet paper https://arxiv.org/pdf/1609.03499.pdf
|
# VCTK used in wavenet paper https://arxiv.org/pdf/1609.03499.pdf
|
||||||
# Licenced under Open Data Commons Attribution License (ODC-By) v1.0.
|
# Licenced under Open Data Commons Attribution License (ODC-By) v1.0.
|
||||||
# as per https://homepages.inf.ed.ac.uk/jyamagis/page3/page58/page58.html
|
# as per https://homepages.inf.ed.ac.uk/jyamagis/page3/page58/page58.html
|
||||||
from __future__ import absolute_import, division, print_function
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import random
|
import random
|
||||||
import re
|
import re
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
from __future__ import absolute_import, division, print_function
|
|
||||||
|
|
||||||
import codecs
|
import codecs
|
||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
Tool for playing samples from Sample Databases (SDB files) and DeepSpeech CSV files
|
Tool for playing samples from Sample Databases (SDB files) and DeepSpeech CSV files
|
||||||
Use "python3 build_sdb.py -h" for help
|
Use "python3 build_sdb.py -h" for help
|
||||||
"""
|
"""
|
||||||
from __future__ import absolute_import, division, print_function
|
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import random
|
import random
|
||||||
|
Loading…
x
Reference in New Issue
Block a user