gll89的个人博客分享 http://blog.sciencenet.cn/u/gll89

博文

按标题搜索
python operations about list
2017-5-13 03:36
I. access multi elements of a list knowing their indices You can use operator.itemgetter : from operator import itemgetter a = b = print itemgetter (* b )( a ) ( 1 , 5 , 5 ) Or yo ...
个人分类: Python|1921 次阅读|没有评论
video recognition using attention visual
2017-5-12 09:53
According to my data handler the data needs to be of dimension (#frames, 7_7_1024) so you should resize all the (7,7,1024) 3D matrices to vectors of length 7_7_1024 and then store these in a 2D matrix (#frames, 7_7_1024). From: https://github.com/kracwarlock/action-recognition-visual-attenti ...
个人分类: Python|1915 次阅读|没有评论
allocate GPU ID to the code python
2017-5-12 09:40
add the following codes to allocate a GPU to your codes: import tensorflow as tf from keras.backend.tensorflow_backend import set_session np.set_printoptions(suppress=True) os.environ =0 config = tf.ConfigProto() config.gpu_options.p ...
个人分类: Python|2086 次阅读|没有评论
batch BET
2017-5-2 23:40
bet - the main command-line script which makes calling the core bet2 and betsurf programs easy. BET is a function in FSL Tool To batch extrain brain, we use command-line script wrote in Python as follows: bet input output is shown in the website https://fsl.fm ...
个人分类: Python|2201 次阅读|没有评论

本页有 6 篇博文因作者的隐私设置或未通过审核而隐藏

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-3-29 21:55

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部