From a305fff4fd63e7b3c779974dd094a23b84b44cdf Mon Sep 17 00:00:00 2001 From: SunAhong1993 <48579383+SunAhong1993@users.noreply.github.com> Date: Mon, 18 Mar 2019 21:26:32 +0800 Subject: [PATCH] Update README.md --- caffe2fluid/examples/imagenet/README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/caffe2fluid/examples/imagenet/README.md b/caffe2fluid/examples/imagenet/README.md index 7d532a3..a2b77de 100644 --- a/caffe2fluid/examples/imagenet/README.md +++ b/caffe2fluid/examples/imagenet/README.md @@ -6,7 +6,7 @@ A demo to show converting caffe models trained on 'imagenet' using caffe2fluid 1. Prepare python environment -2. Download caffe model to "models.caffe/xxx" which contains "xxx.caffemodel" and "xxx.prototxt" +2. Download caffe model to "../../models/xxx" which contains "xxx.caffemodel" and "xxx.prototxt" 3. Convert the Caffe model to Fluid model - generate fluid code and weight file @@ -28,14 +28,14 @@ A demo to show converting caffe models trained on 'imagenet' using caffe2fluid 5. convert model and do inference together ``` - bash ./tools/run.sh alexnet ./models.caffe/alexnet ./models/alexnet + bash ./tools/run.sh alexnet ../../models ../../models ``` - * Assume the Caffe model is stored in '*./models.caffe/alexnet/alexnet.prototxt|caffemodel*' - * converted model will be stored as '*./models/alexnet/alexnet.py|npy*' + * Assume the Caffe model is stored in '../../models/alexnet.prototxt|caffemodel*' + * converted model will be stored as '../../models/alexnet.py|npy*' 6. test the difference with caffe's results(need pycaffe installed) ``` bash ./tools/diff.sh alexnet ../../models/ ../../models ``` - * Make sure your caffemodel stored in '*./models.caffe/resnet*' + * Make sure your caffemodel stored in '../../models/alexnet.prototxt|caffemodel*' * The results will be stored in '*./results/resnet.paddle|caffe*' -- GitLab