修正错误.

Signed-off-by: rick.chan <chenyang@autoai.com>
This commit is contained in:
rick.chan 2021-06-15 18:20:57 +08:00
parent 2089116c0c
commit 78eb3a4f5b
1 changed files with 3 additions and 2 deletions

View File

@ -26,10 +26,11 @@
make test -j8 make test -j8
# (Optional) # (Optional)
make runtest -j8 make runtest -j8
cd caffe/python cd python
for req in $(cat requirements.txt); do pip install $req; done for req in $(cat requirements.txt); do pip install $req; done
pip install -r requirements.txt pip install -r requirements.txt
export PATHONPATH=$PATHONPATH:$CAFFE_ROOT/python/caffe export PYTHONPATH=$PYTHONPATH:$CAFFE_ROOT/python/caffe
cd ..
make pycaffe make pycaffe
# 验证 pycaffe 接口 # 验证 pycaffe 接口
python python