Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
2
221cb0332
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Summer2022
221cb0332
Commits
65a7c536
Unverified
Commit
65a7c536
authored
2 years ago
by
i-robot
Committed by
Gitee
2 years ago
Browse files
Options
Downloads
Plain Diff
!3868 remove molecular_dynamic 310infer support
Merge pull request !3868 from GongLiyao/master
parents
8c846d5d
e39be6fa
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
research/hpc/molecular_dynamics/README.md
+0
-31
0 additions, 31 deletions
research/hpc/molecular_dynamics/README.md
with
0 additions
and
31 deletions
research/hpc/molecular_dynamics/README.md
+
0
−
31
View file @
65a7c536
...
...
@@ -145,37 +145,6 @@ atom_energy: -94.38766 -94.294426 -94.39194 -94.70758 -94.51311 -94.457
# (7) Start model inference。
```
## Inference Process
### [Export MindIR](#contents)
Export MindIR on local
```
shell
python export.py
--checkpoint_path
[
CKPT_PATH]
--file_name
[
FILE_NAME]
--file_format
[
FILE_FORMAT]
--config_path
[
CONFIG_PATH]
```
The
`checkpoint_path`
parameter is required,
`FILE_FORMAT`
should be in ["AIR", "MINDIR"].
> If the model specifications need to be adjusted during export, please modify the corresponding parameters in the `export.py` file at first.
### Infer on Ascend310
Before performing inference, the mindir file must be exported by
`export.py`
script. We only provide an example of inference using MINDIR model.
Current batch_Size is set to 1.
```
shell
# Ascend310 inference
bash run_infer_310.sh
[
MINDIR_PATH]
[
NEED_PREPROCESS]
[
DEVICE_ID]
```
-
`NEED_PREPROCESS`
means weather to convert raw data to the numpy format, it's value is 'y' or 'n'.
-
`DEVICE_ID`
is optional, default value is 0.
### result
Inference result is saved in current path, you can find result like this in acc.log file.
## ModelZoo Homepage
Please check the official
[
homepage
](
https://gitee.com/mindspore/models
)
.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment