1. 24 9月, 2020 1 次提交
  2. 17 9月, 2020 1 次提交
    • L
      Update hapi.model._save_inference_model by using new features of dy2stat in 2.0-beta API (#27272) · 69279207
      LiuChiachi 提交于
      * update model.save_inference_model
      
      * update doc for _save_inference_model, delete useless class in unittests
      
      * make users not be able to set model._inputs be None
      
      * update usage of Model class in unittests
      
      * fix bugs of _verify_spec
      
      * fix bugs of _verify_spec
      
      * add unittest to increase coverage rate
      
      * delete http.log
      
      * update doc for save, remove requirments and limitations for using
      
      * update doc for class Model
      69279207
  3. 08 9月, 2020 1 次提交
  4. 04 9月, 2020 1 次提交
  5. 03 9月, 2020 1 次提交
  6. 02 9月, 2020 1 次提交
    • L
      Correct 2.0 API usage in hapi.model.load (#26829) · 9ee4e3dc
      LiuChiachi 提交于
      * replace fluid.optimizer.set_dict with optimizer.set_state_dict
      
      * replace fluid.optimizer.set_dict with optimizer.set_state_dict
      
      * add coverage rate
      
      * Increase coverage rate, fix code style
      
      * Increase coverage rate, fix code style
      
      * add fit to generate optimizer.state_dict() to save .pdopt to increase coverage rate
      
      * delete http.log
      9ee4e3dc
  7. 31 8月, 2020 1 次提交
    • Q
      Move hapi to python/paddle root dir. (#26442) · f7fb4c22
      qingqing01 提交于
      * Move hapi form paddle/incubate to paddle
      
      * Remove vision/datasets/utils.py and clean code
      
      * Add sample code for conll05
      
      * Print pull path when saving model
      
      * Fix sample code after paramter_list of SGD is changed to parameters
      
      * Fix bug in wmt16 datase
      f7fb4c22
  8. 28 8月, 2020 2 次提交
    • L
      Refine paddle.manual_seed (#26496) · 844583c8
      Leo Chen 提交于
      * refine manual seed
      
      * fix ci problem
      
      * fix unittests
      
      * fix unittest
      
      * set is_init_py=false in manual_seed
      
      * fix unittest
      
      * fix bernoulli_op
      
      * fix(unittest): change random_seed to manual_seed
      
      * 🐞fix(unittest): fix manual_seed
      
      * trigger ci
      
      * fix test_sentiment
      
      * fix test_imperative_save_load
      
      * fix test_uniform_random_op
      
      * fix test_uniform_random_op
      
      * fix test_jit_save_load
      
      * merge develop
      
      * fix manual_seed
      
      * fix manual_seed
      
      * use global engine
      
      * use shared_ptr
      
      * fix double free
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix test bug
      
      * fix test bug
      
      * fix test bug
      
      * fix ci
      844583c8
    • D
  9. 25 8月, 2020 1 次提交
    • L
      Update save inference model to support dygraph (#25894) · 761ed17d
      LiuChiachi 提交于
      * update save_inference_model for hapi
      
      * update save_inference_model to support dygraph
      
      * fix comments
      
      * fix comments
      
      * test=develop
      
      * test, test=develop
      
      * fix dim test, test=develop
      
      * test, test=develop
      
      * add test_export_deploy_model_dynamic
      
      * fix unittest for hapi: save_inference_model
      
      * fix code style
      
      * accept review by guoshengCS
      
      * fix coverage rate
      
      * update doc for save_inference_model and copyright
      
      * change test model back to LeNet() in test_export_deploy_model
      
      * copy jit.save, use LeNet() to test export deploy model
      
      * add return value for dygraph, and fix doc error
      
      * corrected the doc writing
      
      * Delete redundant import and correct import order in sample code.
      
      * remove 'fluid' and add prepare() and fit() in sample code
      
      * correct usage of API 2.0 in sample code
      
      * fix sample code bugs
      
      * fix code style bugs
      
      * fix test_model.py bugs
      
      * set for_inference=True
      
      * correct usage for static.InputSpec
      
      * update doc for model.save
      
      * correct usage of API 2.0
      
      * rename param name for model.save
      
      * correct for_inference as training
      761ed17d
  10. 24 8月, 2020 1 次提交
  11. 23 8月, 2020 1 次提交
  12. 20 8月, 2020 1 次提交
  13. 16 8月, 2020 1 次提交
  14. 30 7月, 2020 1 次提交
  15. 24 7月, 2020 1 次提交
    • Q
      Refine Model of high level API (#25559) · b5f8784c
      qingqing01 提交于
      * Refine Model
      
      1. Take the network (instance of Layer) as the input of Model.
      2. Refine set_dict/load_dict of Layer.
      3. Refine Input interface, so update code sample about Input
      b5f8784c
  16. 18 6月, 2020 1 次提交
  17. 11 5月, 2020 1 次提交
    • Q
      Add a high-level API with traning and inference into Paddle. (#24293) · 43625bda
      qingqing01 提交于
      * Merge hapi into Paddle
      
      Hapi is a high level API for training and inference.
      The main modules include Model, Loss, Metrics, Dataset.
      Also includes common modules and models in NLP and computer vision, such as BERT, ResNet.
      
      These modules are developed by:
      0YuanZhang0, guoshengCS heavengate, LielinJiang, qingqing01, xyzhou-puck huangjun12, wangxiao1021, zhangyang.
      43625bda