Syoy commited on
Commit
d513ff7
1 Parent(s): 5b09add

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +7 -1
README.md CHANGED
@@ -105,7 +105,7 @@ This example shows a view that is suitable to compare the results of two differe
105
  from renumics import spotlight
106
 
107
  df = dataset.to_pandas()
108
- # spotlight.show(df, dtype={'audio': spotlight.Audio, "ast-finetuned-audioset-10-10-0.4593-embeddings": spotlight.Embedding}, layout=ds_builder.config.get_layout(config="standard"))
109
  # todo
110
  ```
111
 
@@ -122,6 +122,8 @@ Depending on your concrete task you might want to use different enrichments. For
122
 
123
  You can also save your view configuration in Spotlight in a JSON configuration file by clicking on the respective icon:
124
 
 
 
125
  ![Save a data curation layout in Spotlight](data/spotlight_save_layout.png "Save a data curation layout in Spotlight")
126
 
127
  We have also set up a Github repo with interactive notebooks that highlight different enrichment possibilities and curation templates. We encourage you to submit a pull request to share your enrichment code and interaction layouts.
@@ -134,6 +136,8 @@ We have also set up a Github repo with interactive notebooks that highlight diff
134
  For each instance, there is a Audio for the audio, a string for the path, an integer for the section, a string for the d1p (parameter), a string for the d1v (value),
135
  a ClassLabel for the label and a ClassLabel for the class.
136
 
 
 
137
  ```
138
  {'audio': {'array': array([ 0. , 0.00024414, -0.00024414, ..., -0.00024414,
139
  0. , 0. ], dtype=float32),
@@ -161,6 +165,8 @@ The length of each audio file is 10 seconds.
161
 
162
  ### Data Fields
163
 
 
 
164
  - `audio`: an `datasets.Audio`
165
  - `path`: a string representing the path of the audio file inside the _tar.gz._-archive.
166
  - `section`: an integer representing the section, see [Definition](#Description)
 
105
  from renumics import spotlight
106
 
107
  df = dataset.to_pandas()
108
+ # spotlight.show(df, dtype={'path': spotlight.Audio, "embeddings_ast-finetuned-audioset-10-10-0.4593": spotlight.Embedding}, layout=ds_builder.config.get_layout(config="standard"))
109
  # todo
110
  ```
111
 
 
122
 
123
  You can also save your view configuration in Spotlight in a JSON configuration file by clicking on the respective icon:
124
 
125
+ [//]: # (todo: create new image -> Spotlight widgets use column "audio" as key in this picture.)
126
+
127
  ![Save a data curation layout in Spotlight](data/spotlight_save_layout.png "Save a data curation layout in Spotlight")
128
 
129
  We have also set up a Github repo with interactive notebooks that highlight different enrichment possibilities and curation templates. We encourage you to submit a pull request to share your enrichment code and interaction layouts.
 
136
  For each instance, there is a Audio for the audio, a string for the path, an integer for the section, a string for the d1p (parameter), a string for the d1v (value),
137
  a ClassLabel for the label and a ClassLabel for the class.
138
 
139
+ [//]: # (todo: add new data fields)
140
+
141
  ```
142
  {'audio': {'array': array([ 0. , 0.00024414, -0.00024414, ..., -0.00024414,
143
  0. , 0. ], dtype=float32),
 
165
 
166
  ### Data Fields
167
 
168
+ [//]: # (todo: add new data fields)
169
+
170
  - `audio`: an `datasets.Audio`
171
  - `path`: a string representing the path of the audio file inside the _tar.gz._-archive.
172
  - `section`: an integer representing the section, see [Definition](#Description)