Application Running
For details about how to build and run an application, see Image Classification Based on Caffe ResNet-50 (Synchronous Inference, Excluding Data Pre-Processing).
Pay attention to the following points:
- Model conversion: See ATC Tool Instructions.
- Before running an executable file, upload the directories of the ACL initialization configuration file (acl.json), test image, and .om file to the same directory on the host.
If no parameter is passed to the acl.init API during ACL initialization, the directory of the ACL initialization configuration file (acl.json) does not need to be uploaded to the host.
- To run the code, directly run the corresponding Python script. For example:
python3.7.5 main.py