offline_test.sh 561 字节
Newer Older
M
malin10 已提交
1 2
## modify config.yaml to infer mode at first

C
Chengmo 已提交
3 4 5 6 7 8 9
echo "Recall offline test ..."
echo "Model config at models/demo/movie_recommand/recall/config_offline_test.yaml"
python -m paddlerec.run -m ./recall/config_test_offline.yaml 

echo "Rank offline test ..."
echo "Model config at models/demo/movie_recommand/rank/config_offline_test.yaml"
python -m paddlerec.run -m ./rank/config_test_offline.yaml 
M
malin10 已提交
10 11 12

echo "recall offline test result:"
python parse.py recall_offline recall/infer_result
C
Chengmo 已提交
13

M
malin10 已提交
14
echo "rank offline test result:"
M
bug fix  
malin10 已提交
15
python parse.py rank_offline rank/infer_result