Quando sto premendo CTRL + C nel terminale, il caffè smette di allenarsi ma non crea istantanee. Come sistemarlo? mio risolutore:Caffe non crea istantanee su SIGINT
net: "course-work/testing/model.prototxt"
test_iter: 200
test_interval: 500
base_lr: 0.001
momentum: 0.9
weight_decay: 0.005
lr_policy: "fixed"
display: 50
max_iter: 60000
snapshot: 5000
snapshot_format: HDF5
snapshot_prefix: "course-work/testing/by_solver_lr0"
snapshot_after_train: true
solver_mode: CPU
script Bash:
TOOLS=./build/tools
NET_DIR=course-work/testing
$TOOLS/caffe train \
--solver=$NET_DIR/solver_lr0.prototxt 2>&1 | tee $NET_DIR/1.log
Ho avuto problemi con l'acquisizione di immagini in HDF5, provare invece l'esecuzione di snapshot su BINARYPROTO. – Shai
@Shai È strano, ma quando invio SIGINT direttamente tramite 'kill -s SIGINT', caffe fa un'istantanea. 'CTRL + C' ancora non funziona. –
0x1337
è possibile che a causa della pipeline 'tee' il segnale proveniente dalla tastiera sia in qualche modo diretto a un processo diverso? – Shai