summaryrefslogtreecommitdiff
path: root/app/client/task/task.reducer.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-06-01 03:59:25 +0200
committerJules Laplace <julescarbon@gmail.com>2018-06-01 03:59:25 +0200
commitdbbeffd02629209f42affe3fb4bb4c46639ba0e3 (patch)
treefbd15c10cd5303eaaccbf0162401424209b684e6 /app/client/task/task.reducer.js
parent964ac7009e6db5a06233bdc07fa63778eebf2db7 (diff)
remote IPC... done so sweetly, with promises and async
Diffstat (limited to 'app/client/task/task.reducer.js')
-rw-r--r--app/client/task/task.reducer.js80
1 files changed, 0 insertions, 80 deletions
diff --git a/app/client/task/task.reducer.js b/app/client/task/task.reducer.js
deleted file mode 100644
index 12e5184..0000000
--- a/app/client/task/task.reducer.js
+++ /dev/null
@@ -1,80 +0,0 @@
-import types from '../types'
-import moment from 'moment'
-let FileSaver = require('file-saver')
-
-const taskInitialState = {
- loading: false,
- error: null,
-
- currentTask: {
- id: 1072,
- activity: 'train',
- module: 'pix2pix',
- dataset: 'video/woods_final',
- epoch: 87,
- epochs: 100,
- },
- tasks: [
- {
- id: 1073,
- activity: 'train',
- module: 'samplernn',
- dataset: 'bobby_brown_-_every_little_step',
- epochs: 6,
- },
- {
- id: 1073,
- activity: 'train',
- module: 'pix2pix',
- checkpoint: 'lyra_voice_layers',
- dataset: 'audio/lyra_improv',
- epochs: 30,
- },
- {
- id: 1073,
- activity: 'train',
- module: 'pix2pix',
- checkpoint: 'lyra_melody_lines',
- dataset: 'audio/lyra_improv',
- epochs: 30,
- },
- {
- id: 1073,
- activity: 'train',
- module: 'pix2pix',
- checkpoint: 'ensemble_chords',
- dataset: 'audio/lyra_improv',
- epochs: 30,
- },
- {
- id: 1073,
- activity: 'generate',
- module: 'samplernn',
- dataset: 'coccoglass3',
- opt: { time: 5, count: 6 },
- },
- {
- id: 1073,
- activity: 'train',
- module: 'pix2pix',
- dataset: 'video/woods_green',
- epochs: 100,
- },
- {
- id: 1073,
- activity: 'train',
- module: 'samplernn',
- dataset: 'bobby_brown_-_every_little_step',
- epochs: 6,
- },
- ],
-}
-
-const taskReducer = (state = taskInitialState, action) => {
- switch(action.type) {
- default:
- return state
- }
-}
-
-export default taskReducer