#!/usr/bin/env bash

for i in {1...10}
do
    sleep 2h
    cd Outputs/e2e_mask_rcnn_R-50-C4
    filename=`ls -t |head -n1|awk '{print {% math_inline %}0}'`
    echo {% endmath_inline %}filename

    cd {% math_inline %}filename/ckpt
    ckpt=`ls -t |head -n1|awk '{print {% endmath_inline %}0}'`
    echo {% math_inline %}ckpt

    cd ../../../../
    CUDA_VISIBLE_DEVICES=7 python tools/test_net.py \
    --dataset gansu1 \
    --cfg configs/e2e_mask_rcnn_R-50-C4.yml \
    --load_ckpt Outputs/e2e_mask_rcnn_R-50-C4/{% endmath_inline %}filename/ckpt/$ckpt

done

results matching ""

    No results matching ""