Skip to content
Snippets Groups Projects
Unverified Commit e7de145a authored by i-robot's avatar i-robot Committed by Gitee
Browse files

!3460 [西安交通大学][高校贡献][Mindspore][Pointnet][CPU]

Merge pull request !3460 from jialing/pointnet-cpu
parents 436c56c8 ede09bcc
No related branches found
No related tags found
No related merge requests found
......@@ -145,6 +145,15 @@ bash scripts/run_distribution_ascend.sh [RANK_TABLE_FILE] ./ckpts ../shapenetcor
```
- running on CPU
```shell
# Run stand-alone training for CPU
python ./train.py --data_url=[DATA_URL] --device_target="CPU" --train_url=[TRAIN_URL]
# example:
python ./train.py --data_url=../shapenetcore_partanno_segmentation_benchmark_v0 --device_target="CPU" --train_url=./ckpts
```
- running on GPU
```shell
......@@ -203,6 +212,23 @@ You can view the results through the file "log_standalone_eval_ascend". The accu
'mIOU for class Chair: 0.869'
```
- running on CPU
```shell
# Evaluate on CPU
python ./eval.py --data_url=[DATA_URL] --device_target="CPU" --train_url=[TRAIN_URL]
# example:
python ./eval.py --data_url=../shapenetcore_partanno_segmentation_benchmark_v0 --device_target="CPU" --train_url=./ckpts
```
You can view the results through the file "log_standalone_eval_cpu". The accuracy of the test dataset will be as follows :
```bash
# grep "mIOU " log_standalone_eval_cpu
'mIOU for class Chair: 0.869'
```
- running on GPU
```shell
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment