forked from docs/modelarts
![otcbot[bot]](/assets/img/avatar_default.png)
Changes to ma_umn from doc-exports#1 This is an automatically created Pull Request for changes to ma_umn in opentelekomcloud-docs/doc-exports#1. Please do not edit it manually, since update to the original PR will overwrite local changes. Original patch file, as well as complete rst archive, can be found in the artifacts of the opentelekomcloud-docs/doc-exports#1 Reviewed-by: kucerakk <kucerakk@gmail.com>
39 KiB
39 KiB
- original_name
modelarts_23_0176.html
Caffe
Training and Saving a Model
lenet_train_test.prototxt file
|
|
lenet_solver.prototxt file
|
|
Train the model.
./build/tools/caffe train --solver=examples/mnist/lenet_solver.prototxt
The caffemodel file is generated after model training. Rewrite the lenet_train_test.prototxt file to the lenet_deploy.prototxt file used for deployment by modifying input and output layers.
|
|
Inference Code
|
|