1 Star 0 Fork 0

CWQ/deep-visualization-toolbox

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
run_toolbox.py 1012 Bytes
一键复制 编辑 原始数据 按行查看 历史
Jason Yosinski 提交于 2016-02-26 19:00 . More edits toward version 2.0
#! /usr/bin/env python
import os
from live_vis import LiveVis
from bindings import bindings
try:
import settings
except:
print '\nError importing settings.py. Check the error message below for more information.'
print "If you haven't already, you'll want to copy one of the settings_local.template-*.py files"
print 'to settings_local.py and edit it to point to your caffe checkout. E.g. via:'
print
print ' $ cp models/caffenet-yos/settings_local.template-caffenet-yos.py settings_local.py'
print ' $ < edit settings_local.py >\n'
raise
if not os.path.exists(settings.caffevis_caffe_root):
raise Exception('ERROR: Set caffevis_caffe_root in settings.py first.')
def main():
lv = LiveVis(settings)
help_keys, _ = bindings.get_key_help('help_mode')
quit_keys, _ = bindings.get_key_help('quit')
print '\n\nRunning toolbox. Push %s for help or %s to quit.\n\n' % (help_keys[0], quit_keys[0])
lv.run_loop()
if __name__ == '__main__':
main()
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/cwq126/deep-visualization-toolbox.git
git@gitee.com:cwq126/deep-visualization-toolbox.git
cwq126
deep-visualization-toolbox
deep-visualization-toolbox
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385