1 Star 0 Fork 0

高浩/PoolNet

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
speed_test.sh 367 Bytes
一键复制 编辑 原始数据 按行查看 历史
backseason 提交于 2019-04-24 14:43 . add ReadMe
#! /bin/bash
# 1 gpu id ,2 python file name, # 3 results folder name
ARRAY=(m_r)
ELEMENTS=${#ARRAY[@]}
echo "Testing on GPU " $1 " with file " $2 " to " $3
for (( i=0;i<$ELEMENTS;i++)); do
CUDA_VISIBLE_DEVICES=$1 python $2 --mode='test' --model=$3'/models/final.pth' --test_fold=$3'-sal-'${ARRAY[${i}]} --sal_mode=${ARRAY[${i}]}
done
echo "Speed test done."
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/gao_hao1/PoolNet.git
[email protected]:gao_hao1/PoolNet.git
gao_hao1
PoolNet
PoolNet
master

搜索帮助