Spaces:
Runtime error
Runtime error
Francis0917
commited on
Commit
•
17d23ca
1
Parent(s):
7fb51c5
Upload folder using huggingface_hub
Browse files
dataset/dataloader_demo.py
CHANGED
@@ -13,9 +13,9 @@ from tensorflow.keras.preprocessing.sequence import pad_sequences
|
|
13 |
sys.path.append(os.path.dirname(__file__))
|
14 |
from g2p.g2p_en.g2p import G2p
|
15 |
|
16 |
-
import warnings
|
17 |
-
warnings.filterwarnings("ignore", category=np.VisibleDeprecationWarning)
|
18 |
-
np.warnings.filterwarnings('ignore', category=np.VisibleDeprecationWarning)
|
19 |
|
20 |
class GoogleCommandsDataloader(Sequence):
|
21 |
def __init__(self,
|
|
|
13 |
sys.path.append(os.path.dirname(__file__))
|
14 |
from g2p.g2p_en.g2p import G2p
|
15 |
|
16 |
+
# import warnings
|
17 |
+
# warnings.filterwarnings("ignore", category=np.VisibleDeprecationWarning)
|
18 |
+
# np.warnings.filterwarnings('ignore', category=np.VisibleDeprecationWarning)
|
19 |
|
20 |
class GoogleCommandsDataloader(Sequence):
|
21 |
def __init__(self,
|