Commit b4a0d76
authored
π New Release: ml5.js v0.3.0 π (#386)
* add ImageData as valid image type
* add CVAE
* add latent dim
* add random generate
* fix p5Image support
* fix CVAE parameter
* Added a parameter to the save function so that it is possible to add a custom filename to the model that is saved.
* Unet fix (#357)
Add uNet model and additional fixes
- adds uNet model from @zaidalyafeai β¨
- adds preload() for uNet
- uses loadImage on window.loadImage vs. window.p5.loadImage
* Added sentiment analysis (#339)
* Added sentiment analysis
* delete files
* fixed issues for pull request
* add p5 utils (#358)
* fix charRNN tests (#349)
* add tests to CharRNN
* test(CharRNN): add tests to CharRNN
added descriptive tests to ensure CharRNN behaves like its example
* remove dist
* Add tests to CharRNN (#307)
* add tests to CharRNN
* test(CharRNN): add tests to CharRNN
added descriptive tests to ensure CharRNN behaves like its example
* remove dist
* check preload support for other nets and classifiers (#313)
Adds specified nets to support preload // TODO: add examples showing appropriate use of preload
* change CharRNN specs to meet time limit, add initial code for videoClassifier
* videoClassifier functioning
* charRNN functional
* fix out of date file
* add preload support for cvae (#360)
* Update TensorFlow.js to 1.0.2 (#336)
* upgrade to tfjs1.0.0
* fix loadModel
* fix buffer
* fix getLayer
* Adds fixes to PR #332 for tfjs 1.0.2 updates (#366)
* upgrade to tfjs1.0.0
* fix loadModel
* fix buffer
* fix getLayer
* updated package lock
* added @tensorflow/tfjs-core as dependency
* add graphmodel for infer (#365)
* Add DCGAN Model into ml5 (#351)
* Create index.js
* updated index.js and DCGAN/index.js
* DCGAN updates and fixes (#362)
* Create index.js
* fixed DCGAN errors
* updates p5Utils destructuring, fixes linting issues, and updates tfjs to 1.0.2 to match dcgan reqs
* fixed cvae
* use this.model instead of using model as param to this.compute()
* Makes UNET compatible with tfjs 1.0.2 (#367)
* added package-lock
* updated UNET for use with tfjs 1.0.2
* Makes Sentiment compatible with tfjs 1.0.2 (#368)
* added package-lock
* rm sentiment-node
* changed loadModel to loadLayersModel
* Makes CVAE compatible with tfjs 1.0.2 (#369)
* added package-lock
* updates cvae to tfjs 1.0.2 api
* update tfjs to 1.1.2 (#373)
* featureExtractor: accept HTML canvas or p5 canvas when addImage(), classify() or predict()
* fix: KNNClassifier accepts a number as class index when addExample(features, number)
* added check for moz browser ref:https://stackoverflow.com/questions/48623376/typeerror-capturestream-is-not-a-function (#375)
This addresses the video capture breaking in YOLO and potentially other video based functions that require the use of .captureStream(). As the .captureStream() function is still experimental, this adds the moz prefix and a browser check to see if we are using firefox or not.
* rm todo
* updated package-lock.json
* Adds label number option to featureExtractor.classification() (#376)
* changed numClasses to numLabels
* added num label as option to classification()
* updated FeatureExtractor Test with numLabels
* adds object as param to .classificaiton()
* moved options into this.config
* fix feature extractor test - add .config
* added pose:poseWithParts into .singlePose() (#381)
* Adds jsdoc inline-documentation - work in progress (#378)
* added jsdoc documentation for imageClassifier
* adds dcgan documentation - needs checking
* Add jsdoc (#382)
* Add jsdocs for CharRNN
* Add jsdocs for CVAE
* Add jsdocs for FeatureExtractor
* Add jsdocs for KNN
* Add jsdocs for PitchDetection
* Add jsdocs for Pix2pix
* Add jsdocs for posenet
* Add jsdocs for Sentiment
* Add jsdocs for styletransfer
* add linebreaks to long lines
* added basic docs to sketchRnn
* added basic docs to unet
* added basic docs to word2vec
* added basic yolo docs
* Adds V0.3.0 to package.json and Readme for new release (#385)
* changed package.json to v0.3.0
* added latest version reference in readme
* added lib min - will remove after this release1 parent 03bab68 commit b4a0d76
File tree
30 files changed
+1248
-9568
lines changed- dist
- src
- CVAE
- CharRNN
- DCGAN
- FeatureExtractor
- ImageClassifier
- KNNClassifier
- PitchDetection
- Pix2pix
- PoseNet
- Sentiment
- SketchRNN
- StyleTransfer
- UNET
- Word2vec
- YOLO
- utils
30 files changed
+1248
-9568
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
22 | | - | |
| 23 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
31 | 36 | | |
32 | 37 | | |
33 | 38 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
22 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
23 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
24 | 42 | | |
25 | 43 | | |
26 | 44 | | |
27 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
28 | 51 | | |
29 | 52 | | |
30 | 53 | | |
| |||
128 | 151 | | |
129 | 152 | | |
130 | 153 | | |
131 | | - | |
| 154 | + | |
132 | 155 | | |
133 | 156 | | |
134 | 157 | | |
| |||
174 | 197 | | |
175 | 198 | | |
176 | 199 | | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
177 | 203 | | |
178 | 204 | | |
179 | 205 | | |
180 | 206 | | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
181 | 214 | | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
182 | 226 | | |
183 | 227 | | |
184 | 228 | | |
185 | 229 | | |
186 | 230 | | |
187 | 231 | | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
188 | 239 | | |
189 | 240 | | |
190 | 241 | | |
| |||
212 | 263 | | |
213 | 264 | | |
214 | 265 | | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
215 | 273 | | |
216 | 274 | | |
217 | 275 | | |
| |||
223 | 281 | | |
224 | 282 | | |
225 | 283 | | |
226 | | - | |
| 284 | + | |
227 | 285 | | |
228 | 286 | | |
229 | 287 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
0 commit comments