Sunday, March 16, 2014

Some useful commands.. to be edited later..

root@master:/home/cloudcv/detection_executable/PascalImagenetDetector/distrib# cat job.x

output_dir=$1
model_name=$2

./run_PascalImagenetBboxPredictor.sh /usr/local/MATLAB/MATLAB_Compiler_Runtime/v81/ "/home/cloudcv/detection_executable/input_images/im_folder_xx/" "/home/cloudcv/detection_executable/model/" "$output_dir" "0" "$model_name"


for i in {1..50}; do sed 's/xx/'$i'/g' job.x  > job.$i; done

No comments: