diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2019-12-19 17:11:39 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2019-12-19 17:11:39 +0100 |
| commit | a0fa03a9a0219771e0173db5a811d20b20fe3ba0 (patch) | |
| tree | b902e82539199760ac22cfa7beda1af2ba9d25c9 /app/relay | |
| parent | 5f1b6c981da4f61e7c08024d9f87c5f6f8163403 (diff) | |
TFHUB_CACHE_DIR
Diffstat (limited to 'app/relay')
| -rw-r--r-- | app/relay/modules/biggan.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/relay/modules/biggan.js b/app/relay/modules/biggan.js index 97042be..9dfa6f7 100644 --- a/app/relay/modules/biggan.js +++ b/app/relay/modules/biggan.js @@ -3,6 +3,10 @@ import fs from 'fs' const name = 'biggan' const cwd = process.env.BIGGAN_CWD || path.join(process.env.HOME, 'code/' + name + '/') +const env = { + LD_LIBRARY_PATH: '/usr/local/cuda/lib64:' + process.env.TENSORRT_LIB_PATH, + TFHUB_CACHE_DIR: '/home/lens/.tfhub', +} const live = { type: 'pytorch_biggan', script: 'inversion/live.py', @@ -14,7 +18,7 @@ const live = { } export default { - name, cwd, + name, cwd, env, activities: { live, } |
