forked from mindspore-Ecosystem/mindspore
!21677 fix bug in model_zoo/cv/research/centernet_resnet50_v1
Merge pull request !21677 from zhongkaidi/cm_master
This commit is contained in:
commit
dd7c7dcb83
|
@ -390,7 +390,7 @@ overall performance on coco2017 validation dataset
|
||||||
|
|
||||||
### Convert
|
### Convert
|
||||||
|
|
||||||
If you want to infer the network on Ascend 310, you should convert the model to AIR:
|
If you want to infer the network on Ascend 310, you should convert the model to MINDIR. What you need to do before is to specify the `ckpt_file` that needs to be converted in the `export_config` section of the `src/config.py` file.
|
||||||
|
|
||||||
```python
|
```python
|
||||||
python export.py [DEVICE_ID]
|
python export.py [DEVICE_ID]
|
||||||
|
|
|
@ -5,7 +5,7 @@ enable_save_ckpt=true
|
||||||
do_shuffle=true
|
do_shuffle=true
|
||||||
enable_data_sink=true
|
enable_data_sink=true
|
||||||
data_sink_steps=-1
|
data_sink_steps=-1
|
||||||
save_checkpoint_path=/root/centernet_50/model_zoo/1.0
|
save_checkpoint_path=./
|
||||||
save_checkpoint_steps=4580
|
save_checkpoint_steps=4580
|
||||||
save_checkpoint_num=30
|
save_checkpoint_num=30
|
||||||
mindrecord_prefix="coco_det.train.mind"
|
mindrecord_prefix="coco_det.train.mind"
|
||||||
|
|
Loading…
Reference in New Issue