Add one-shot results to res folder and annotate sliding window fig
This commit is contained in:
@@ -88,24 +88,43 @@ sp="/-\|"
|
||||
# done
|
||||
# done
|
||||
# done
|
||||
#
|
||||
# # Copy BPGD over max iter. results
|
||||
#
|
||||
# echo -e "\rCopying BPGD over max. iter. results..."
|
||||
# echo -n ' '
|
||||
# for p in 0.001 0.0025 0.004; do
|
||||
# for pass_soft_info in "True" "False"; do
|
||||
# for F in 1 2 3; do
|
||||
# for W in 3 4 5; do
|
||||
# SRC_PATH="${BASE_PATH}+rust_exp=max_iter_bpgd,decoder.class_name=WindowingSyndromeSpaGdDecoder,decoder.pass_soft_info=${pass_soft_info},simulation.phy_err_rate=${p},system.F=${F},system.W=${W}/"
|
||||
# LATEST_RESULTS_DIR=$(ls -t ${SRC_PATH} | head -1)
|
||||
# SRC_FILE="${SRC_PATH}/${LATEST_RESULTS_DIR}/LERs.csv"
|
||||
# DEST_DIR="res/sim/max_iter/WindowingSyndromeSpaGdDecoder/p_${p}/pass_soft_info_${pass_soft_info}/F_${F}/W_${W}"
|
||||
# mkdir -p ${DEST_DIR}
|
||||
# DEST_FILE="${DEST_DIR}/LERs.csv"
|
||||
# cp ${SRC_FILE} ${DEST_FILE}
|
||||
# post_process_LERs ${DEST_FILE}
|
||||
# printf "\b${sp:i++%${#sp}:1}"
|
||||
# done
|
||||
# done
|
||||
# done
|
||||
# done
|
||||
|
||||
# Copy BPGD over max iter. results
|
||||
echo -e "\rCopying BPGD over max. iter. results..."
|
||||
# Copy BP over max iter. results
|
||||
|
||||
echo -e "\rCopying one-shot simulation results..."
|
||||
echo -n ' '
|
||||
for p in 0.001 0.0025 0.004; do
|
||||
for pass_soft_info in "True" "False"; do
|
||||
for F in 1 2 3; do
|
||||
for W in 3 4 5; do
|
||||
SRC_PATH="${BASE_PATH}+rust_exp=max_iter_bpgd,decoder.class_name=WindowingSyndromeSpaGdDecoder,decoder.pass_soft_info=${pass_soft_info},simulation.phy_err_rate=${p},system.F=${F},system.W=${W}/"
|
||||
LATEST_RESULTS_DIR=$(ls -t ${SRC_PATH} | head -1)
|
||||
SRC_FILE="${SRC_PATH}/${LATEST_RESULTS_DIR}/LERs.csv"
|
||||
DEST_DIR="res/sim/max_iter/WindowingSyndromeSpaGdDecoder/p_${p}/pass_soft_info_${pass_soft_info}/F_${F}/W_${W}"
|
||||
mkdir -p ${DEST_DIR}
|
||||
DEST_FILE="${DEST_DIR}/LERs.csv"
|
||||
cp ${SRC_FILE} ${DEST_FILE}
|
||||
post_process_LERs ${DEST_FILE}
|
||||
printf "\b${sp:i++%${#sp}:1}"
|
||||
done
|
||||
done
|
||||
for decoder in "SyndromeMinSumDecoder" "SyndromeSpaDecoder" "SyndromeSpaGdDecoder"; do
|
||||
for max_iter in 32 200 5000; do
|
||||
SRC_PATH="${BASE_PATH}+rust_exp=whole_bp_bpgd,decoder.class_name=${decoder},decoder.max_iter=${max_iter},system.F=1,system.W=5/"
|
||||
LATEST_RESULTS_DIR=$(ls -t ${SRC_PATH} | head -1)
|
||||
SRC_FILE="${SRC_PATH}/${LATEST_RESULTS_DIR}/LERs.csv"
|
||||
DEST_DIR="res/sim/one-shot/${decoder}/max_iter_${max_iter}/"
|
||||
mkdir -p ${DEST_DIR}
|
||||
DEST_FILE="${DEST_DIR}/LERs.csv"
|
||||
cp ${SRC_FILE} ${DEST_FILE}
|
||||
post_process_LERs ${DEST_FILE}
|
||||
printf "\b${sp:i++%${#sp}:1}"
|
||||
done
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user