1. 07 May, 2019 1 commit
    • Francisco Massa's avatar
      Add C++ ops to torchvision (#826) · dc3ac290
      Francisco Massa authored
      * Initial layout for layers with cpp extensions
      
      * Move files around
      
      * Fix import after move
      
      * Add support for multiple types to ROIAlign
      
      * Different organization
      
      CUDA extensions work now
      
      * Cleanups
      
      * Reduce memory requirements for backwards
      
      * Replace runtime_error by AT_ERROR
      
      * Add nms test
      
      * Add support for compilation using CPP extensions
      
      * Change folder structure
      
      * Add ROIPool cuda
      
      * Cleanups
      
      * Add roi_pool.py
      
      * Fix lint
      
      * Add initial structures folder for bounding boxes
      
      * Assertion macros compatible with pytorch master (#540)
      
      * Support for ROI Pooling (#592)
      
      * ROI Pooling with tests. Fix for cuda context in ROI Align.
      
      * renamed bottom and top to follow torch conventions
      
      * remove .type().tensor() calls in favor of the new approach to tensor initialization (#626)
      
      * Consistent naming for rois variable (#627)
      
      * remove .type().tensor() calls in favor of the new approach to tensor initialization
      
      * Consistent naming for rois variable in ROIPool
      
      * ROIPool: Support for all datatypes (#632)
      
      * Use of torch7 naming scheme for ROIAlign forward and backward
      
      * use common cuda helpers in ROIAlign
      
      * use .options() in favor of .type() where applicable
      
      * Added tests for forward pass of ROIAlign, as well as more consistent naming scheme for CPU vs CUDA
      
      * working ROIAlign cuda backwards pass
      
      * working ROIAlign backwards pass for CPU
      
      * added relevant headers for ROIAlign backwards
      
      * tests for ROIAlign layer
      
      * replace .type() with .options() for tensor initialization in ROIAlign layers
      
      * support for Half types in ROIAlign
      
      * gradcheck tests for ROIAlign
      
      * updated ROIPool on CPU to work with all datatypes
      
      * updated and cleaned tests for ROI Pooling
      
      * Fix rebase problem
      
      * Remove structures folder
      
      * Improve cleanup and bugfix in test_layers
      
      * Update C++ headers
      
      * Add CUDAGuard to cu files
      
      * Add more checks to layers
      
      * Add CUDA NMS and tests
      
      * Add multi-type support for NMS CUDA
      
      * Avoid using THCudaMalloc
      
      * Add clang-format and reformat c++ code
      
      * Remove THC includes
      
      * Rename layers to ops
      
      * Add documentation and rename functions
      
      * Improve the documentation a bit
      
      * Fix some lint errors
      
      * Fix remaining lint inssues
      
      * Area computation doesn't add +1 in NMS
      
      * Update CI to use PyTorch nightly
      
      * Make NMS return indices sorted according to the score
      
      * Address reviewer comments
      
      * Lint fixes
      
      * Improve doc for roi_align and roi_pool
      
      * move to xenial
      
      * Fix bug pointed by @lopuhin
      
      * Fix RoIPool reference implementation in Python 2
      
      Also fixes a bug in the clip_boxes_to_image -- this function needs a test!
      
      * Remove change in .travis
      dc3ac290
  2. 25 Apr, 2019 3 commits
  3. 24 Apr, 2019 1 commit
  4. 10 Apr, 2019 1 commit
  5. 09 Apr, 2019 2 commits
  6. 08 Apr, 2019 1 commit
  7. 26 Mar, 2019 1 commit
    • ekka's avatar
      Add test for num_class in test_model.py (#815) · 83d3770a
      ekka authored
      * Add test for loading pretrained models
      
      The update modifies the test to check whether the model can successfully load the pretrained weights. Will raise an error if the model parameters are incorrectly defined or named.
      
      * Add test on 'num_class'
      
      Passing num_class equal to a number other than 1000 helps in making the test more enforcing in nature.
      83d3770a
  8. 25 Mar, 2019 2 commits
    • Francisco Massa's avatar
      Add basic model testing. (#811) · 57e87769
      Francisco Massa authored
      * Add basic model testing.
      
      Also fixes flaky test
      
      * Fix flake8
      57e87769
    • ekka's avatar
      Add AffineTransformation (#793) · c88d7fb5
      ekka authored
      * Add Affinetransformation
      
      Add Affinetransformation to superseed LinearTransformation
      
      * Add test
      
      * Add zero mean_vector in LinearTransformation and improved docs
      
      * update
      
      * minor fix
      
      * minor fix2
      
      * fixed flake8
      
      * fix flake8
      
      * fixed transpose syntax
      
      * fixed shape of mean_vector in test
      
      * fixed test
      
      * print est cov and mean
      
      * fixed flake8
      
      * debug
      
      * reduce num_samples
      
      * debug
      
      * fixed num_features
      
      * fixed rtol for cov
      
      * fix __repr__
      
      * Update transforms.py
      
      * Update test_transforms.py
      
      * Update transforms.py
      
      * fix flake8
      
      * Update transforms.py
      
      * Update transforms.py
      
      * Update transforms.py
      
      * Update transforms.py
      
      * Changed dim of mean_vector to 1D, doc and removed .numpy () from format_string
      
      * Restore test_linear_transformation()
      
      * Update test_transforms.py
      c88d7fb5
  9. 01 Mar, 2019 1 commit
  10. 28 Feb, 2019 1 commit
  11. 18 Feb, 2019 1 commit
  12. 13 Feb, 2019 1 commit
  13. 17 Dec, 2018 1 commit
    • surgan12's avatar
      modes added (#688) · be6f6c29
      surgan12 authored
      * modes added
      
      * tests_added
      
      * Update test_transforms.py
      
      * Update test_transforms.py
      
      * Update test_transforms.py
      be6f6c29
  14. 04 Dec, 2018 1 commit
    • Varun Agrawal's avatar
      Fix for #409 (#673) · 2d493d6a
      Varun Agrawal authored
      * added separate checks for dimensionality in to_pil_image and added tests
      
      * updated to_pil_image to use both 2D ndarrays and tensors, as well as refactored the tests
      2d493d6a
  15. 30 Oct, 2018 1 commit
  16. 26 Oct, 2018 1 commit
    • Leon Sixt's avatar
      Fix FashionMNIST loading MNIST (#640) · 36215690
      Leon Sixt authored
      Before this would lead FashionMNIST to contain mnist data:
      
      ```
      MNIST(root, download=True)
      FashionMNIST(root, download=True)
      ```
      
      As MNIST and FashionMNIST are the same classes, the processed
      outputs actual ended up to be the same files. This commit now
      stores them at different files and also stores the class name when
      saving them. I also added md5 sums.
      36215690
  17. 25 Oct, 2018 1 commit
  18. 29 Aug, 2018 1 commit
  19. 25 Aug, 2018 1 commit
  20. 28 May, 2018 1 commit
  21. 15 May, 2018 1 commit
  22. 04 May, 2018 1 commit
  23. 16 Apr, 2018 1 commit
  24. 06 Apr, 2018 1 commit
    • anguelos's avatar
      A minor change for transforms.RandomCrop (#462) · 4e6faa75
      anguelos authored
      * Made transorms.RandomCrop tolerate images smaller than the given size.
      
      * Extended the tescase for transforms.RandomCrop
      
      * Made the testcase test for owidth=width+1
      
      * Fixed the one pixel pading and the testcase
      
      * Fixed minor lintint errors. flake8 passes.
      4e6faa75
  25. 04 Apr, 2018 1 commit
  26. 10 Mar, 2018 1 commit
    • Frédérik Paradis's avatar
      Adding a DatasetFolder class. (#444) · fa377c47
      Frédérik Paradis authored
      * Adding tests to ImageFolder
      
      * Adding DatasetFolder class
      
      * Fix tests for pytest and code for lint checker
      
      * Adding mock to requirements for ImageFolder tests
      
      * Remove mocks from requirements
      fa377c47
  27. 09 Mar, 2018 2 commits
  28. 20 Feb, 2018 1 commit
  29. 12 Feb, 2018 3 commits
  30. 01 Jan, 2018 1 commit
  31. 13 Nov, 2017 1 commit
  32. 09 Nov, 2017 1 commit
  33. 02 Nov, 2017 1 commit