1. 10 6月, 2021 1 次提交
  2. 06 5月, 2021 1 次提交
    • W
      [cherry-pick pr31970] Support transforms for paddle tensor image (#32705) · a9d330a3
      Wenyu 提交于
      * add to_grayscale, normalize
      
      * add rotate
      
      * add vfip and hflip
      
      * add crop center_crop
      
      * add utils
      
      * add utils
      
      * update utils, add raise for some cases
      
      * add padding, support constant, reflect, replicate, circular same as paddle.pad
      
      * update rotate
      
      * using utils func in [v|h]flip
      
      * add get-image-[n,c,w,h] axis utils
      
      * add get-image-[n,c,w,h] axis utils
      
      * align
      
      * update
      
      * remove default value in utils func
      
      * add assert for pad
      
      * update assert paddle image
      
      * support rotate fill func
      
      * raise valueerror for pad
      
      * remove typing, py2 dont support
      
      * init uinttest for transforms tensor
      
      * add resize op
      
      * register [normalize hflip crop center_crop resize transpose] imagenet
      
      * register [normalize hflip crop center_crop resize transpose] imagenet
      
      * fix bugs, (w, h) getter and import
      
      * add _get_image_size for tensor image
      
      * add pad vflip for tensor image
      
      * add unittest for tensor transforms
      
      * update transforms unittest for converage CI probelms, test=develop
      
      * update
      
      * update
      
      * update
      
      * fix `get_shape` for tensor backend
      
      * update
      
      * update
      
      * add more resize tests
      
      * update
      
      * update for ci test
      
      * update
      
      * remove redundancy code
      
      * update uinttest, and set tensor image to hwc by default
      
      * add tensor backend
      
      * fix copyright doc, rm comment code, add pil unittest
      
      * update data_format to `chw` for tensor
      
      * coverage notest,test=coverage
      
      * update
      
      * update
      a9d330a3
  3. 30 4月, 2021 1 次提交
  4. 29 4月, 2021 1 次提交
  5. 26 4月, 2021 1 次提交
  6. 25 4月, 2021 1 次提交
  7. 15 4月, 2021 1 次提交
    • J
      Update hapi to support AMP (#31417) · fabdb43c
      Jiaqi Liu 提交于
      * make hapi support amp, and add unittest
      
      * make unittest only support GPU
      
      * update parameters for amp in hapi.Model
      
      * update hapi.Model.prepare interface, and update unittest
      
      * fix test_model.py unittest bug
      
      * add grad clear in dygraph
      
      * use_fp16_guard defaults to True, which could avoid nan
      
      * add input check, and add internal doc link to low level api
      
      * update doc, and decrease the sample num of dataset to avoid timeout
      
      * make hapi amp param  support str 'O1' or 'O2'
      
      * resume calling , modify the code of the check part
      
      * upgrade the usage of Fleet API, and disable 'pure_fp16' param
      fabdb43c
  8. 24 2月, 2021 1 次提交
  9. 21 1月, 2021 1 次提交
  10. 11 1月, 2021 2 次提交
  11. 29 12月, 2020 1 次提交
  12. 25 12月, 2020 1 次提交
  13. 03 12月, 2020 1 次提交
  14. 01 12月, 2020 1 次提交
  15. 30 11月, 2020 1 次提交
  16. 28 11月, 2020 1 次提交
  17. 27 11月, 2020 2 次提交
  18. 26 11月, 2020 2 次提交
  19. 24 11月, 2020 1 次提交
  20. 23 11月, 2020 3 次提交
    • L
      Add EarlyStopping (#28691) · 70385518
      LiuChiachi 提交于
      * add early stopping
      
      * add doc for early stopping
      
      * fix sample code bugs
      
      * update infer of mode, update doc, add unittests to increase coverage rate
      
      * fix sample code for early stopping
      
      * update sample code and unittests
      
      * reduce time cost of test_callbacks unittest
      
      * fix model.py code style error
      70385518
    • L
      Update path name of saving in hapi (#28462) · 8c8b42f2
      LiuChiachi 提交于
      * update hapi save_inference_model output pathname
      
      * update hapi save_inference_model output pathname
      
      * use new 2.0-api paddle.static.io.load_inference_model
      
      * add unittests to increase coverage rate
      8c8b42f2
    • L
      Add lr scheduler callback for high level api (#28737) · 00e55ded
      LielinJiang 提交于
      * add lr scheduler
      00e55ded
  21. 16 11月, 2020 4 次提交
  22. 08 11月, 2020 1 次提交
    • Y
      exec ut no more than 15s 1 (#28439) · ba075632
      YUNSHEN XIE 提交于
      * disable ut test_parallel_executor_fetch_isolated_var,test=document_fix
      
      * test for limiting ut exec time as 15S
      
      * fix an error caused by cannot find ut
      
      * fix some error
      
      * can not find test_transformer
      
      * fix error caused by ut not run in windows
      
      * fix error caused by Compiler Options
      
      * fix error caused by setting timeout value as 15 in python/paddle/tests/CMakeLists.txt
      
      * setting timeout value to 120s for old ut
      
      * add the timeout value setting
      
      * fix error caused by ut only run in coverage_ci
      
      * add analyzer_transformer_profile_tester
      
      * fix some error
      
      * fix some error
      
      * fix error with inference option
      
      * fix error with inference option setting as ON_INFER
      
      * add some ut to set timeout
      
      * modified some option
      
      * fix error
      
      * fix some timeout error
      
      * fix error
      
      * fix error
      
      * fix timeout for test_analyzer_bfloat16_resnet50
      
      * fix error
      
      * setting timeout properity for some ut
      
      * first pr for new ut timeout as 15S
      ba075632
  23. 04 11月, 2020 1 次提交
  24. 30 10月, 2020 1 次提交
  25. 28 10月, 2020 1 次提交
  26. 22 10月, 2020 1 次提交
    • L
      Update hapi predict interface (#28180) · 68449d19
      LielinJiang 提交于
      * update hapi predict interface
      
      * fix code style
      
      * fix docs
      
      * fix docs
      
      * fix docs
      
      * update docs
      
      * fix codes style
      
      * fix unittest
      
      * fix unittest
      
      * fix coverage
      68449d19
  27. 21 10月, 2020 1 次提交
    • C
      2.0rc api rename (#28088) · 7c1aa0d6
      cnn 提交于
      * rename manual_seed to seed
      
      * rename xxx1d-->xxx1D, xxx2d-->xxx2D, xxx3d-->xxx3D
      
      * rename manual_seed --> seed
      
      * do not rename .cc, .cu and .h file
      
      * rename manual_seed --> seed
      
      * rename manual_seed --> seed
      
      * rename manual_seed --> seed
      
      * rename manual_seed --> seed
      
      * disable_static on doc example code
      
      * donot change manual_seed on generator
      
      * add enable_static on sample code
      
      * convert python/paddle/fluid/layers/nn.py to bak
      
      * fix typo
      
      * fix code style
      
      * fix seed to manual_seed when call functions of Generator()
      
      * fix bug
      7c1aa0d6
  28. 20 10月, 2020 1 次提交
  29. 19 10月, 2020 1 次提交
  30. 16 10月, 2020 1 次提交
    • G
      Clean text.py and decode.py for API 2.0 (#26853) · 01335815
      Guo Sheng 提交于
      * Make dynamic_decode support dygraph and expose to API 2.0
      test=develop
      
      * update info about BeamSearchDecoder and dynamic_decode
      
      * remove all APIs in paddle.text, expose BeamSearchDecoder and dynamic_decode
      
      * update example code
      
      * delete test_text.py, decode.py, update some doc, fix example code float64
      
      * delete decode import from paddle.nn
      
      * fix unittest bugs
      
      * use dygraph.Embedding instead of nn.Embedding, add paddle.enbale_static()
      
      * update, correct doc
      
      * move dynamic_decode, BeamSearchDecoder API to paddle.nn
      
      * fix code style
      
      * update unittest param, delete import pf text.py
      
      * set dtype of beamsearchtest float64
      
      * update example code of BeamSearchDecoder, dynamic_decode
      Co-authored-by: NLiuChiaChi <709153940@qq.com>
      01335815
  31. 15 10月, 2020 1 次提交
  32. 14 10月, 2020 1 次提交