amanmibra commited on
Commit
d6c7ff9
1 Parent(s): 0d9af09

Update playground

Browse files
__pycache__/dataset.cpython-39.pyc ADDED
Binary file (1.38 kB). View file
 
notebooks/playground.ipynb CHANGED
@@ -1,6 +1,127 @@
1
  {
2
- "cells": [],
3
- "metadata": {},
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  "nbformat": 4,
5
  "nbformat_minor": 5
6
  }
 
1
  {
2
+ "cells": [
3
+ {
4
+ "cell_type": "code",
5
+ "execution_count": 8,
6
+ "id": "8b292047",
7
+ "metadata": {},
8
+ "outputs": [],
9
+ "source": [
10
+ "%load_ext autoreload\n",
11
+ "%autoreload 2"
12
+ ]
13
+ },
14
+ {
15
+ "cell_type": "code",
16
+ "execution_count": 10,
17
+ "id": "88db7a26",
18
+ "metadata": {},
19
+ "outputs": [],
20
+ "source": [
21
+ "import sys\n",
22
+ "sys.path.append('..')"
23
+ ]
24
+ },
25
+ {
26
+ "cell_type": "code",
27
+ "execution_count": 18,
28
+ "id": "d4ac5e60",
29
+ "metadata": {},
30
+ "outputs": [],
31
+ "source": [
32
+ "import os"
33
+ ]
34
+ },
35
+ {
36
+ "cell_type": "code",
37
+ "execution_count": 14,
38
+ "id": "903c1d7d",
39
+ "metadata": {},
40
+ "outputs": [],
41
+ "source": [
42
+ "from dataset import *"
43
+ ]
44
+ },
45
+ {
46
+ "cell_type": "code",
47
+ "execution_count": 15,
48
+ "id": "7dec6dd0",
49
+ "metadata": {},
50
+ "outputs": [
51
+ {
52
+ "data": {
53
+ "text/plain": [
54
+ "dataset.VoiceDataset"
55
+ ]
56
+ },
57
+ "execution_count": 15,
58
+ "metadata": {},
59
+ "output_type": "execute_result"
60
+ }
61
+ ],
62
+ "source": [
63
+ "VoiceDataset"
64
+ ]
65
+ },
66
+ {
67
+ "cell_type": "code",
68
+ "execution_count": 22,
69
+ "id": "1eea9cf8",
70
+ "metadata": {},
71
+ "outputs": [],
72
+ "source": [
73
+ "dataset = VoiceDataset('../data')"
74
+ ]
75
+ },
76
+ {
77
+ "cell_type": "code",
78
+ "execution_count": 20,
79
+ "id": "cee3b661",
80
+ "metadata": {},
81
+ "outputs": [
82
+ {
83
+ "data": {
84
+ "text/plain": [
85
+ "'../data'"
86
+ ]
87
+ },
88
+ "execution_count": 20,
89
+ "metadata": {},
90
+ "output_type": "execute_result"
91
+ }
92
+ ],
93
+ "source": [
94
+ "dataset[1]"
95
+ ]
96
+ },
97
+ {
98
+ "cell_type": "code",
99
+ "execution_count": null,
100
+ "id": "d1a4615a",
101
+ "metadata": {},
102
+ "outputs": [],
103
+ "source": []
104
+ }
105
+ ],
106
+ "metadata": {
107
+ "kernelspec": {
108
+ "display_name": "Python 3 (ipykernel)",
109
+ "language": "python",
110
+ "name": "python3"
111
+ },
112
+ "language_info": {
113
+ "codemirror_mode": {
114
+ "name": "ipython",
115
+ "version": 3
116
+ },
117
+ "file_extension": ".py",
118
+ "mimetype": "text/x-python",
119
+ "name": "python",
120
+ "nbconvert_exporter": "python",
121
+ "pygments_lexer": "ipython3",
122
+ "version": "3.9.16"
123
+ }
124
+ },
125
  "nbformat": 4,
126
  "nbformat_minor": 5
127
  }