当前位置:网站首页>train_ de.py: error: argument --save_ steps: invalid int value: ‘$[$[889580/128/4]*10/2]‘
train_ de.py: error: argument --save_ steps: invalid int value: ‘$[$[889580/128/4]*10/2]‘
2022-06-30 10:08:00 【Farmer xiaofeixia】
Recently used RocketQA Of DuReaderretrieval Baseline System When I met the following problem :
[--do_train DO_TRAIN] [--do_val DO_VAL] [--do_test DO_TEST]
[--output_item OUTPUT_ITEM]
[--output_file_name OUTPUT_FILE_NAME]
[--test_data_cnt TEST_DATA_CNT]
[--use_multi_gpu_test USE_MULTI_GPU_TEST]
[--metrics METRICS] [--shuffle SHUFFLE] [--for_cn FOR_CN]
train_de.py: error: argument --save_steps: invalid int value: '$[$[889580/128/4]*10/2]'
grep: warning: GREP_OPTIONS is deprecated; please use an alias or script
My environment is ubuntu Of docker, For baseline yes centos, I think that's why , Lead to bash Some syntax of the file is invalid
resolvent
hold run_dual_encoder_train.sh Just modify the file of :
lr=3e-5
batch_size=128
train_exampls=`cat $TRAIN_SET | wc -l`
save_steps=$((train_exampls/batch_size/node))
data_size=$[$save_steps*$batch_size*$node]
# new_save_steps=$[$save_steps\*$epoch/2]
new_save_steps=$((save_steps*epoch/2))
reference
[1].Bash multiplication and addition.https://unix.stackexchange.com/questions/299321/bash-multiplication-and-addition
边栏推荐
- About the split and join operations of strings
- Eight sorts (I)
- Js獲取指定字符串指定字符比特置&指定字符比特置區間的子串【簡單詳細】
- 事件对象的说明》
- NFS shared services
- IDC released the report on China's software defined storage and hyper convergence market in the fourth quarter of 2020, and smartx hyper convergence software ranked first in the financial industry
- OSError: [Errno 28] No space left on device
- C语言实现扫雷游戏,附详解及完整代码
- Work notes: SendTo failed errno 22
- Network based dynamic routing protocol (OSPF)
猜你喜欢
Valuenotifier and valuelistenablebuilder in fluent
Quick completion guide for mechanical arm (V): end effector
7. development of mobile login function
Difference between bow and cbow
[JVM] brief introduction to CMS
Shell script functions
[JVM] G1 garbage collector
Theme Studio
[new book recommendation] mongodb performance tuning
Network based dynamic routing protocol (OSPF)
随机推荐
NTP of Prometheus monitoring_ exporter
ABAP time function
G 代码解释|最重要的 G 代码命令列表
SolidWorks质量特性详解(惯性张量、转动惯量、惯性主轴)
Description of event object
Slf4j: failed to load class "org.slf4j.impl.staticloggerbinder"
调试方法和技巧详解
JS obtient la chaîne spécifiée spécifiant la position du caractère & sous - chaîne spécifiant la plage de position du caractère 【 détails simples 】
unable to convert expression into double array
事件对象的说明》
Golang magic code
背课文记单词,读课文记单词,读文章记单词;40篇文章搞定3500词;71篇文章突破中考单词;15篇文章贯通四级词汇;15篇文章贯通六级词汇
G-Code 详解
Shell script functions
input限制输入
Flume learning III
Oracle cross database replication data table dblink
Financial private cloud infrastructure scheme evaluation (Architecture and storage)
Appium自动化测试基础 — adb shell 命令
Practice of super integration and transformation of core production business of public funds