1. 02 6月, 2020 1 次提交
  2. 30 5月, 2020 4 次提交
  3. 29 5月, 2020 2 次提交
    • P
      fixed bug for split, RandomSampler and some other cleanup · 5469be2a
      Peilin Wang 提交于
      add another test case
      
      typo
      
      merge conflict
      
      another PR changed testing behavior, updated test cases in this commit
      
      added input check for use_sampler
      
      addressed code review comments
      
      fixed pylint, not related to my changes
      
      fixed edge case of rounding in getting split sizes
      
      fix pylint
      5469be2a
    • M
      Added TenCrop test · dfc09701
      Mahdi 提交于
      Added unit tests for both testing the functinality of the TenCrop and
      its error messages. Due to the similarity of this method to FiveCrop the
      test cases are similar to FiveCrop test cases.
      Signed-off-by: NMahdi <mahdi.rahmani.hanzaki@huawei.com>
      
      added error_msg function call in the main method
      
      refactored the test and added visual representation of the results
      
      Separated the two error cases into two different functions and used the
      visualize function in util.py to plot the result of TenCrop.
      Signed-off-by: NMahdi <mahdi.rahmani.hanzaki@huawei.com>
      
      Added new test cases
      
      Added new test cases including test case for checking the error message
      when the size variable is not a positive integer, test case for
      rectangle crop, test case for vertical flip setting, and testing for
      similarity of the result of TenCrop for the same input data in different runs.
      Signed-off-by: NMahdi <mahdi.rahmani.hanzaki@huawei.com>
      
      changed visualize in test_five_crop
      
      Changed the visualize function in test_five_crop to use the already
      existing function in util.py
      Signed-off-by: NMahdi <mahdi.rahmani.hanzaki@huawei.com>
      
      made generate_golden variable global
      dfc09701
  4. 28 5月, 2020 3 次提交
  5. 27 5月, 2020 1 次提交
  6. 26 5月, 2020 2 次提交
  7. 23 5月, 2020 4 次提交
  8. 22 5月, 2020 12 次提交
  9. 21 5月, 2020 3 次提交
  10. 20 5月, 2020 2 次提交
  11. 18 5月, 2020 2 次提交
  12. 16 5月, 2020 1 次提交
    • H
      -Add DE_STRING · e8ca2433
      hesham 提交于
      -replace switch'case by indexing
      
      - Add test case
      - Add constructors
      - Add getItem string
      
      - Fix bugs
      - Add more tests
      
      - Tensor iterator
      - asNumpy
      - TextFileDataset
      
      - Tensor(Numpy)
      
      - Super > 2D
      - Add more test cases for GeneratorDataset
      
      - Change StartAddr to GetBuffer and GetMutableNuffer
      
      - Raise an error if batch is used with strings
      
      Clean-up work
      e8ca2433
  13. 15 5月, 2020 3 次提交