!8341 psenet readme update

From: @linqingke
Reviewed-by: @c_34,@guoqi1024
Signed-off-by: @c_34
pull/8341/MERGE
mindspore-ci-bot 4 years ago committed by Gitee
commit b4c599e8e9

@ -105,7 +105,10 @@ sh scripts/run_eval_ascend.sh
├── Makefile ├── Makefile
├── config.py // parameter configuration ├── config.py // parameter configuration
├── dataset.py // creating dataset ├── dataset.py // creating dataset
├── lr_schedule.py // learning ratio generation
└── network_define.py // PSENet architecture └── network_define.py // PSENet architecture
├── export.py // export mindir file
├── mindspore_hub_conf.py // hub config file
├── test.py // test script ├── test.py // test script
└── train.py // training script └── train.py // training script
@ -132,6 +135,7 @@ Major parameters in train.py and config.py are:
sh scripts/run_distribute_train.sh rank_table_file pretrained_model.ckpt sh scripts/run_distribute_train.sh rank_table_file pretrained_model.ckpt
``` ```
rank_table_file which is specified by RANK_TABLE_FILE is needed when you are running a distribute task. You can generate it by using the [hccl_tools](https://gitee.com/mindspore/mindspore/tree/master/model_zoo/utils/hccl_tools).
The above shell script will run distribute training in the background. You can view the results through the file The above shell script will run distribute training in the background. You can view the results through the file
`device[X]/test_*.log`. The loss value will be achieved as follows: `device[X]/test_*.log`. The loss value will be achieved as follows:

@ -1,14 +0,0 @@
# Copyright 2020 Huawei Technologies Co., Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ============================================================================

@ -28,6 +28,7 @@
using std::vector; using std::vector;
using std::queue; using std::queue;
using std::swap;
using cv::Mat; using cv::Mat;
using cv::Point; using cv::Point;

Loading…
Cancel
Save