Upload 6 files
Browse files- .gitattributes +1 -0
- fingerprint.pb +3 -0
- keras_metadata.pb +3 -0
- rollup.config.js +88 -0
- saved_model.pb +3 -0
- variables/variables.data-00000-of-00001 +3 -0
- variables/variables.index +0 -0
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
variables/variables.data-00000-of-00001 filter=lfs diff=lfs merge=lfs -text
|
fingerprint.pb
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6e3b8b0f5125c336f0d8c82e83281a11ef24ae9561cced896c002e108d38f3a8
|
3 |
+
size 57
|
keras_metadata.pb
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:492ad121840389d3c92e00de4ca354ebb90b81a326cc6f183f933fb0df61efb3
|
3 |
+
size 50872
|
rollup.config.js
ADDED
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { spawn } from 'child_process';
|
2 |
+
import svelte from 'rollup-plugin-svelte';
|
3 |
+
import commonjs from '@rollup/plugin-commonjs';
|
4 |
+
import terser from '@rollup/plugin-terser';
|
5 |
+
import resolve from '@rollup/plugin-node-resolve';
|
6 |
+
import livereload from 'rollup-plugin-livereload';
|
7 |
+
import css from 'rollup-plugin-css-only';
|
8 |
+
|
9 |
+
const production = !process.env.ROLLUP_WATCH;
|
10 |
+
|
11 |
+
function serve() {
|
12 |
+
let server;
|
13 |
+
|
14 |
+
function toExit() {
|
15 |
+
if (server) server.kill(0);
|
16 |
+
}
|
17 |
+
|
18 |
+
return {
|
19 |
+
writeBundle() {
|
20 |
+
if (server) return;
|
21 |
+
server = spawn('npm', ['run', 'start', '--', '--dev'], {
|
22 |
+
stdio: ['ignore', 'inherit', 'inherit'],
|
23 |
+
shell: true
|
24 |
+
});
|
25 |
+
|
26 |
+
process.on('SIGTERM', toExit);
|
27 |
+
process.on('exit', toExit);
|
28 |
+
}
|
29 |
+
};
|
30 |
+
}
|
31 |
+
|
32 |
+
export default {
|
33 |
+
input: 'src/main.js',
|
34 |
+
output: {
|
35 |
+
sourcemap: true,
|
36 |
+
format: 'iife',
|
37 |
+
name: 'app',
|
38 |
+
file: 'public/build/bundle.js'
|
39 |
+
},
|
40 |
+
plugins: [
|
41 |
+
svelte({
|
42 |
+
compilerOptions: {
|
43 |
+
// enable run-time checks when not in production
|
44 |
+
dev: !production
|
45 |
+
}
|
46 |
+
}),
|
47 |
+
// we'll extract any component CSS out into
|
48 |
+
// a separate file - better for performance
|
49 |
+
css({ output: 'bundle.css' }),
|
50 |
+
|
51 |
+
// If you have external dependencies installed from
|
52 |
+
// npm, you'll most likely need these plugins. In
|
53 |
+
// some cases you'll need additional configuration -
|
54 |
+
// consult the documentation for details:
|
55 |
+
// https://github.com/rollup/plugins/tree/master/packages/commonjs
|
56 |
+
resolve({
|
57 |
+
browser: true,
|
58 |
+
dedupe: ['svelte'],
|
59 |
+
exportConditions: ['svelte']
|
60 |
+
}),
|
61 |
+
commonjs(),
|
62 |
+
|
63 |
+
// In dev mode, call `npm run start` once
|
64 |
+
// the bundle has been generated
|
65 |
+
!production && serve(),
|
66 |
+
|
67 |
+
// Watch the `public` directory and refresh the
|
68 |
+
// browser on changes when not in production
|
69 |
+
!production && livereload('public'),
|
70 |
+
|
71 |
+
// If we're building for production (npm run build
|
72 |
+
// instead of npm run dev), minify
|
73 |
+
production && terser()
|
74 |
+
],
|
75 |
+
watch: {
|
76 |
+
clearScreen: false
|
77 |
+
},
|
78 |
+
moduleContext: (id) => {
|
79 |
+
const modules = ["node_modules/@tensorflow/tfjs-layers/dist/layers/convolutional_recurrent.js"];
|
80 |
+
|
81 |
+
if (modules.some(_id => id.trim().endsWith(id))) {
|
82 |
+
return "window";
|
83 |
+
}
|
84 |
+
|
85 |
+
return undefined;
|
86 |
+
|
87 |
+
}
|
88 |
+
};
|
saved_model.pb
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:02b577a7d08d679a5fc7fe524b2d164041a574df491192e6b3532e1e34be29f3
|
3 |
+
size 644046
|
variables/variables.data-00000-of-00001
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e31da726f9ee2ad4d3b7ccf652563a3a3934681feeb8ddbd1896fa5c204f06b4
|
3 |
+
size 78911368
|
variables/variables.index
ADDED
Binary file (6.66 kB). View file
|
|