summaryrefslogtreecommitdiff
path: root/app/relay/modules/biggan.js
blob: 4a031171c6ea7a7d57636af805795001be01b8e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import path from 'path'
import fs from 'fs'

const name = 'biggan'
const cwd = process.env.BIGGAN_CWD || path.join(process.env.HOME, 'code/' + name + '/')
const live = {
  type: 'pytorch',
  script: 'live.py',
  params: (task) => {
    console.log(task)
    const opt = task.opt || {}
    return []
  }
}

export default {
  name, cwd, env,
  activities: {
    live,
  }
}