1. 01 6月, 2021 2 次提交
    • W
      [Cherry-Pick]Set the default value of protocol to 4. (#32904) #33009 · 6fb64606
      WeiXin 提交于
      
      
          paddle.save paddle.static.save protocol的默认值改为4(原默认值为2)。
      
          pickle protocol=4相交于protocol=2:
              protocol=4时保存/加载大于4G的单个numpy.ndarray 等。
              protocol=4时保存/加载的速度有明显提升。
              Python2 不支持protocol=4(paddle2.1主要支持Python3,不再考虑Python2)。
      
          兼容问题:pickle版本(protocol)会写到文件里面,pickle load的时候会自动识别到protocol,paddle2.1(paddle.save pickle默认版本为2)可以加载paddle2.1.1的模型(paddle.save pickle默认版本为4)。
      
      原始PR:#32904
      6fb64606
    • A
      [Cherry-pick][CustomOp]Specify -std=c++14 cflags by default (#33213) (#33227) · ca0cc8ab
      Aurelius84 提交于
      Cherry-pick (#33213)
      ca0cc8ab
  2. 31 5月, 2021 2 次提交
  3. 26 5月, 2021 2 次提交
  4. 25 5月, 2021 1 次提交
  5. 24 5月, 2021 1 次提交
  6. 21 5月, 2021 1 次提交
  7. 20 5月, 2021 4 次提交
  8. 19 5月, 2021 3 次提交
  9. 18 5月, 2021 3 次提交
  10. 17 5月, 2021 1 次提交
  11. 12 5月, 2021 1 次提交
  12. 11 5月, 2021 1 次提交
  13. 07 5月, 2021 11 次提交
  14. 06 5月, 2021 7 次提交
    • T
      Pick revert data generator (#32700) · 4f06cd17
      tianshuo78520a 提交于
      * revert data_generator
      
      * add setup.py
      4f06cd17
    • A
    • J
      [CHERRY-PICK] Reduce grad fix cherrypick (#32742) · 21448525
      jakpiase 提交于
      * base changes for fix
      
      * minor change
      
      * fix for bwd kernel
      
      * removed unnecessary import
      
      * implemented reviewers suggestions
      
      * CI fix
      21448525
    • C
      cherry-pick:change softmax_with_cross_entropy_op's parameter name from... · 9a589de8
      chajchaj 提交于
      cherry-pick:change softmax_with_cross_entropy_op's parameter name from softmax_switch to use_softmax (#32750)
      
      * change parameter name from softmax_switch to use_softmax, test=develop
      
      * cherry-pick:change parameter name from softmax_switch to use_softmax, test=develop
      9a589de8
    • F
      avoid polluting logging's root logger (#32673) (#32706) · 0bb079cd
      Feiyu Chan 提交于
      avoid polluting logging's root logger
      0bb079cd
    • 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
    • W
      fix error imformation when trigger import error (#32702) · 43b3e99f
      Wenyu 提交于
      43b3e99f