Browse Source

!1139 replace tab with spaces

From: @xsmq
Reviewed-by: @ouwenchang,@lixiaohui33
Signed-off-by: @lixiaohui33
tags/v1.2.0-rc1
mindspore-ci-bot Gitee 4 years ago
parent
commit
6e3e1ec03c
7 changed files with 60 additions and 60 deletions
  1. +1
    -1
      mindinsight/wizard/conf/templates/network/alexnet/scripts/run_distribute_train.sh-tpl
  2. +1
    -1
      mindinsight/wizard/conf/templates/network/alexnet/scripts/run_distribute_train_gpu.sh-tpl
  3. +1
    -1
      mindinsight/wizard/conf/templates/network/lenet/scripts/run_distribute_train.sh-tpl
  4. +1
    -1
      mindinsight/wizard/conf/templates/network/lenet/scripts/run_distribute_train_gpu.sh-tpl
  5. +1
    -1
      mindinsight/wizard/conf/templates/network/resnet50/scripts/run_distribute_train.sh-tpl
  6. +1
    -1
      mindinsight/wizard/conf/templates/network/resnet50/scripts/run_distribute_train_gpu.sh-tpl
  7. +54
    -54
      tests/st/func/debugger/expect_results/restful_results/compare_tensors.json

+ 1
- 1
mindinsight/wizard/conf/templates/network/alexnet/scripts/run_distribute_train.sh-tpl View File

@@ -16,7 +16,7 @@

if [ $# != 2 ] && [ $# != 3 ]
then
echo "Usage: bash run_distribute_train.sh [RANK_TABLE_FILE] [DATASET_PATH] [PRETRAINED_CKPT_PATH](optional)"
echo "Usage: bash run_distribute_train.sh [RANK_TABLE_FILE] [DATASET_PATH] [PRETRAINED_CKPT_PATH](optional)"
exit 1
fi



+ 1
- 1
mindinsight/wizard/conf/templates/network/alexnet/scripts/run_distribute_train_gpu.sh-tpl View File

@@ -16,7 +16,7 @@

if [ $# != 1 ] && [ $# != 2 ]
then
echo "Usage: bash run_distribute_train_gpu.sh [DATASET_PATH] [PRETRAINED_CKPT_PATH](optional)"
echo "Usage: bash run_distribute_train_gpu.sh [DATASET_PATH] [PRETRAINED_CKPT_PATH](optional)"
exit 1
fi



+ 1
- 1
mindinsight/wizard/conf/templates/network/lenet/scripts/run_distribute_train.sh-tpl View File

@@ -16,7 +16,7 @@

if [ $# != 2 ] && [ $# != 3 ]
then
echo "Usage: bash run_distribute_train.sh [RANK_TABLE_FILE] [DATASET_PATH] [PRETRAINED_CKPT_PATH](optional)"
echo "Usage: bash run_distribute_train.sh [RANK_TABLE_FILE] [DATASET_PATH] [PRETRAINED_CKPT_PATH](optional)"
exit 1
fi



+ 1
- 1
mindinsight/wizard/conf/templates/network/lenet/scripts/run_distribute_train_gpu.sh-tpl View File

@@ -15,7 +15,7 @@
# ============================================================================
if [ $# != 1 ]&& [ $# != 2 ]
then
echo "Usage: bash run_distribute_train_gpu.sh [DATASET_PATH] [PRETRAINED_CKPT_PATH](optional)"
echo "Usage: bash run_distribute_train_gpu.sh [DATASET_PATH] [PRETRAINED_CKPT_PATH](optional)"
exit 1
fi



+ 1
- 1
mindinsight/wizard/conf/templates/network/resnet50/scripts/run_distribute_train.sh-tpl View File

@@ -16,7 +16,7 @@

if [ $# != 2 ] && [ $# != 3 ]
then
echo "Usage: bash run_distribute_train.sh [RANK_TABLE_FILE] [DATASET_PATH] [PRETRAINED_CKPT_PATH](optional)"
echo "Usage: bash run_distribute_train.sh [RANK_TABLE_FILE] [DATASET_PATH] [PRETRAINED_CKPT_PATH](optional)"
exit 1
fi



+ 1
- 1
mindinsight/wizard/conf/templates/network/resnet50/scripts/run_distribute_train_gpu.sh-tpl View File

@@ -16,7 +16,7 @@

if [ $# != 1 ] && [ $# != 2 ]
then
echo "Usage: bash run_distribute_train_gpu.sh [DATASET_PATH] [PRETRAINED_CKPT_PATH](optional)"
echo "Usage: bash run_distribute_train_gpu.sh [DATASET_PATH] [PRETRAINED_CKPT_PATH](optional)"
exit 1
fi



+ 54
- 54
tests/st/func/debugger/expect_results/restful_results/compare_tensors.json View File

@@ -1,56 +1,56 @@
{
"tensor_value": {
"full_name": "Default/args0:0",
"step": 3,
"dtype": "DT_FLOAT32",
"shape": [2, 3],
"diff": [
[
[1.0, 1.0, 0.0],
[2.0, 2.0, 0.0],
[3.0, 3.0, 0.0]
],
[
[4.0, 4.0, 0.0],
[5.0, 5.0, 0.0],
[6.0, 6.0, 0.0]
]
],
"curr_step_statistics": {
"overall_max": 6.0,
"overall_min": 1.0,
"overall_avg": 3.5,
"overall_count": 6,
"overall_nan_count": 0,
"overall_neg_inf_count": 0,
"overall_pos_inf_count": 0,
"overall_zero_count": 0.0,
"overall_neg_zero_count": 0.0,
"overall_pos_zero_count": 6.0
},
"prev_step_statistics": {
"overall_max": 6.0,
"overall_min": 1.0,
"overall_avg": 3.5,
"overall_count": 6,
"overall_nan_count": 0,
"overall_neg_inf_count": 0,
"overall_pos_inf_count": 0,
"overall_zero_count": 0.0,
"overall_neg_zero_count": 0.0,
"overall_pos_zero_count": 6.0
},
"statistics": {
"overall_max": 0.0,
"overall_min": 0.0,
"overall_avg": 0.0,
"overall_count": 6,
"overall_nan_count": 0,
"overall_neg_inf_count": 0,
"overall_pos_inf_count": 0,
"overall_zero_count": 6.0,
"overall_neg_zero_count": 0.0,
"overall_pos_zero_count": 0.0
}
}
"tensor_value": {
"full_name": "Default/args0:0",
"step": 3,
"dtype": "DT_FLOAT32",
"shape": [2, 3],
"diff": [
[
[1.0, 1.0, 0.0],
[2.0, 2.0, 0.0],
[3.0, 3.0, 0.0]
],
[
[4.0, 4.0, 0.0],
[5.0, 5.0, 0.0],
[6.0, 6.0, 0.0]
]
],
"curr_step_statistics": {
"overall_max": 6.0,
"overall_min": 1.0,
"overall_avg": 3.5,
"overall_count": 6,
"overall_nan_count": 0,
"overall_neg_inf_count": 0,
"overall_pos_inf_count": 0,
"overall_zero_count": 0.0,
"overall_neg_zero_count": 0.0,
"overall_pos_zero_count": 6.0
},
"prev_step_statistics": {
"overall_max": 6.0,
"overall_min": 1.0,
"overall_avg": 3.5,
"overall_count": 6,
"overall_nan_count": 0,
"overall_neg_inf_count": 0,
"overall_pos_inf_count": 0,
"overall_zero_count": 0.0,
"overall_neg_zero_count": 0.0,
"overall_pos_zero_count": 6.0
},
"statistics": {
"overall_max": 0.0,
"overall_min": 0.0,
"overall_avg": 0.0,
"overall_count": 6,
"overall_nan_count": 0,
"overall_neg_inf_count": 0,
"overall_pos_inf_count": 0,
"overall_zero_count": 6.0,
"overall_neg_zero_count": 0.0,
"overall_pos_zero_count": 0.0
}
}
}

Loading…
Cancel
Save