- 26 Jul, 2019 3 commits
-
-
Francisco Massa authored
* Miscellaneous fixes and improvements * Guard against videos without video stream * Fix lint * Add test for packed b-frames videos * Fix missing import
-
Bruno Korbar authored
* [0.4_video] models - initial commit * addressing fmassas inline comments * pep8 and flake8 * simplify "hacks" * sorting out latest comments * nitpick * Updated tests and constructors * Added docstrings - ready to merge
-
Philip Meier authored
* introduced function to verify str arguments * flake8 * added FIXME to VOC * Fixed error message * added test for verify_str_arg * cleanup todos * added option for custom error message * fix VOC * fixed Caltech
-
- 24 Jul, 2019 1 commit
-
-
Francisco Massa authored
Also extend video saving to support different codecs and options. Notably, we can now save with lossless compression
-
- 23 Jul, 2019 1 commit
-
-
Kyryl Truskovskyi authored
* in_channels_stage2 from backbone.inplanes * remove type for backward compatible
-
- 19 Jul, 2019 1 commit
-
-
Francisco Massa authored
* Add VideoClips and Kinetics dataset * Lint + add back missing line * Adds ClipSampler following Bruno comment * Change name following Bruno's suggestion * Enable specifying a target framerate * Fix test_io for new interface * Add comment mentioning drop_last behavior * Make compute_clips more robust * Flake8 * Fix for Python2
-
- 15 Jul, 2019 1 commit
-
-
Shahriar authored
-
- 12 Jul, 2019 1 commit
-
-
Shahriar authored
* Added mnasnet * Fixed some stuff * Fixed some stuff * Finished MNASNet * Fixed format error * Fixed format error
-
- 09 Jul, 2019 2 commits
-
-
Philip Meier authored
* cast images to PIL at instantiation instead of runtime * add test for svhn * added tests for remaining SVHN splits * flake8 * rolled back changes to datasets
-
Surgan Jandial authored
* to_pil_image updates * lint * Update test_transforms.py * Update test_transforms.py
-
- 06 Jul, 2019 1 commit
-
-
Zhun Zhong authored
* Fix bug to Random Erasing 1. Avoid forever loop for getting parameters of erase. 2. replace' img_b' by 'img_c', because it indicates the channel. 3. replace v = torch.rand([img_c, h, w]) by v = torch.empty([img_c, h, w], dtype=torch.float32).normal_(). Normally distributed achieves better performance. * add test * Update test_transforms.py * Update transforms.py * Update test_transforms.py * Update transforms.py * Update functional.py
-
- 04 Jul, 2019 2 commits
-
-
buoyancy99 authored
* Update test for detection model to test input list unmodified Update test for detection model to test input list unmodified according to suggestion in a previous PR * test input unchaged
-
Ross Taylor authored
* Cityscapes test; semantic segmentation getitem test * Add multiple targets test for Cityscapes * flake8 fix for test_datasets
-
- 03 Jul, 2019 1 commit
-
-
ptrblck authored
* initial commit * add more checks, fix lint, fix doc
-
- 02 Jul, 2019 1 commit
-
-
Francisco Massa authored
* WIP * WIP * Add some documentation * Improve tests and add GC collection * [WIP] add timestamp getter * Bugfixes * Improvements and travis * Add audio fine-grained alignment * More doc * Remove unecessary file * Remove comment * Lazy import av * Remove hard-coded constants for the test * Return info stats from read * Fix for Python-2
-
- 28 Jun, 2019 2 commits
-
-
Surgan Jandial authored
* updates on normalize * test fixes * Update test_transforms.py
-
Surgan Jandial authored
* test improved * Update test_transforms.py * behaviour changes RandomErasing * test fixes * linter fix
-
- 26 Jun, 2019 1 commit
-
-
Benoit Brummer authored
* fix save_image when height or width == 1 * test_save_image_single_pixel
-
- 24 Jun, 2019 1 commit
-
-
Zhun Zhong authored
* add erase function * add Random Erasing * Update transforms.py * Update transforms.py * add test for random erasing * Update test_transforms.py * fix flake8 * Update test_transforms.py * Update functional.py * Update test_transforms.py * fix bug for per-pixel erasing * Update transforms.py * specific for coordinate (x, y) * add raise TypeError for img * Update transforms.py * Update transforms.rst
-
- 20 Jun, 2019 3 commits
-
-
Geovanni Zhang authored
* fix:error message of to_tensor The error "pic should be PIL Image or ndarray. Got '<numpy.ndarray>'" is confusing. * fix:a clearer function name _is_numpy_image is clearer than _is_numpy_image_dim * fix:add a test case Add a test case in test/test_transforms.py to test the error message * fix:pass ci check * fix:wrong random matrix
-
Francisco Massa authored
-
Francisco Massa authored
-
- 15 Jun, 2019 1 commit
-
-
Philip Meier authored
* added a generic test for the datasets * addressed requested changes - renamed generic*() to generic_classification*() - moved function inside Tester - test class_to_idx attribute outside of generic_classification*()
-
- 14 Jun, 2019 2 commits
-
-
Francisco Massa authored
* Fix normalize for different dtype than float32 * Fix lint
-
Francisco Massa authored
-
- 13 Jun, 2019 4 commits
-
-
Francisco Massa authored
* Raise error during downloading * Fix py2 error and lint
-
Philip Meier authored
-
Philip Meier authored
* create imagenet fakedata on-the-fly * flake8 * Minor test refactorings (#1011) * Make tests work on fbcode * Lint * Fix rebase error * Properly use get_file_path_2 * Fix wrong use of get_file_path_2 again * Missing import * create imagenet fakedata on-the-fly
-
Francisco Massa authored
* Make tests work on fbcode * Lint * Fix rebase error * Properly use get_file_path_2 * Fix wrong use of get_file_path_2 again * Missing import
-
- 12 Jun, 2019 1 commit
-
-
Philip Meier authored
* added test for CIFAR10(0) * create CIFAR data on-the-fly * flake8 * fixed typo * removed falsely added import
-
- 11 Jun, 2019 1 commit
-
-
Shahriar authored
* Added the existing code * Added squeezenet and fixed some stuff in the other models * Wrote DenseNet and a part of InceptionV3 Going to clean and check all of the models and finish inception * Fixed some errors in the models Next step is writing inception and comparing with python code again. * Completed inception and changed models directory * Fixed and wrote some stuff * fixed maxpoool2d and avgpool2d and adaptiveavgpool2d * Fixed a few stuff Moved cmakelists to root and changed the namespace to vision and wrote weight initialization in inception * Added models namespace and changed cmakelists the project is now installable * Removed some comments * Changed style to pytorch style, added some comments and fixed some minor errors * Removed truncated normal init * Changed classes to structs and fixed a few errors * Replaced modelsimpl structs with functional wherever possible * Changed adaptive average pool from struct to function * Wrote a max_pool2d wrapper and added some comments * Replaced xavier init with kaiming init * Fixed an error in kaiming inits * Added model conversion and tests * Fixed a typo in alexnet and removed tests from cmake * Made an extension of tests and added module names to Densenet * Added python tests * Added MobileNet and GoogLeNet models * Added tests and conversions for new models and fixed a few errors * Updated Alexnet ad VGG * Updated Densenet, Squeezenet and Inception * Added ResNexts and their conversions * Added tests for ResNexts * Wrote tools nessesary to write ShuffleNet * Added ShuffleNetV2 * Fixed some errors in ShuffleNetV2 * Added conversions for shufflenetv2 * Fixed the errors in test_models.cpp * Updated setup.py * Fixed flake8 error on test_cpp_models.py * Changed view to reshape in forward of ResNet * Updated ShuffleNetV2 * Split extensions to tests and ops * Fixed test extension * Fixed image path in test_cpp_models.py * Fixed image path in test_cpp_models.py * Fixed a few things in test_cpp_models.py * Put the test models in evaluation mode * Fixed registering error in GoogLeNet * Updated setup.py * write test_cpp_models.py with unittest * Fixed a problem with pytest in test_cpp_models.py * Fixed a lint problem
-
- 07 Jun, 2019 3 commits
-
-
Francisco Massa authored
-
Francisco Massa authored
* GPU efficient Densenets * removed `import math` * Changed 'efficient' to 'memory_efficient' * Add tests * Bugfix in test * Fix lint * Remove unecessary formatting
-
Matthew Yeung authored
* allow user to define residual settings * 4spaces * linting errors * backward compatible, and added test
-
- 03 Jun, 2019 1 commit
-
-
Philip Meier authored
* added fake data * fixed fake data * renamed extract and download methods and added functionality * added raw fake data * refactored imagenet and added test * flake8 * added fake devkit and mocked download_url * reversed uncommenting * added mock to CI * fixed tests for imagefolder * flake8
-
- 29 May, 2019 1 commit
-
-
Francisco Massa authored
* WIP * WIP: minor improvements * Add tests * Fix typo * Use download_and_extract on caltech, cifar and omniglot * Add a print message during extraction * Remove EMNIST from test
-
- 23 May, 2019 1 commit
-
-
peterjc123 authored
-
- 22 May, 2019 1 commit
-
-
Soumith Chintala authored
-
- 19 May, 2019 2 commits
-
-
Francisco Massa authored
-
Francisco Massa authored
* [Remove] Use stride in 1x1 in resnet This is temporary * Move files to torchvision Inference works * Now seems to give same results Was using the wrong number of total iterations in the end... * Distributed evaluation seems to work * Factor out transforms into its own file * Enabling horizontal flips * MultiStepLR and preparing for launches * Add warmup * Clip gt boxes to images Seems to be crucial to avoid divergence. Also reduces the losses over different processes for better logging * Single-GPU batch-size 1 of CocoEvaluator works * Multi-GPU CocoEvaluator works Gives the exact same results as the other one, and also supports batch size > 1 * Silence prints from pycocotools * Commenting unneeded code for run * Fixes * Improvements and cleanups * Remove scales from Pooler It was not a free parameter, and depended only on the feature map dimensions * Cleanups * More cleanups * Add misc ops and totally remove maskrcnn_benchmark * nit * Move Pooler to ops * Make FPN slightly more generic * Minor improvements or FPN * Move FPN to ops * Move functions to utils * Lint fixes * More lint * Minor cleanups * Add FasterRCNN * Remove modifications to resnet * Fixes for Python2 * More lint fixes * Add aspect ratio grouping * Move functions around * Make evaluation use all images for mAP, even those without annotations * Bugfix with DDP introduced in last commit * [Check] Remove category mapping * Lint * Make GroupedBatchSampler prioritize largest clusters in the end of iteration * Bugfix for selecting the iou_types during evaluation Also switch to using the torchvision normalization now on, given that we are using torchvision base models * More lint * Add barrier after init_process_group Better be safe than sorry * Make evaluation only use one CPU thread per process When doing multi-gpu evaluation, paste_masks_in_image is multithreaded and throttles evaluation altogether. Also change default for aspect ratio group to match Detectron * Fix bug in GroupedBatchSampler After the first epoch, the number of batch elements could be larger than batch_size, because they got accumulated from the previous iteration. Fix this and also rename some variables for more clarity * Start adding KeypointRCNN Currently runs and perform inference, need to do full training * Remove use of opencv in keypoint inference PyTorch 1.1 adds support for bicubic interpolation which matches opencv (except for empty boxes, where one of the dimensions is 1, but that's fine) * Remove Masker Towards having mask postprocessing done inside the model * Bugfixes in previous change plus cleanups * Preparing to run keypoint training * Zero initialize bias for mask heads * Minor improvements on print * Towards moving resize to model Also remove class mapping specific to COCO * Remove zero init in bias for mask head Checking if it decreased accuracy * [CHECK] See if this change brings back expected accuracy * Cleanups on model and training script * Remove BatchCollator * Some cleanups in coco_eval * Move postprocess to transform * Revert back scaling and start adding conversion to coco api The scaling didn't seem to matter * Use decorator instead of context manager in evaluate * Move training and evaluation functions to a separate file Also adds support for obtaining a coco API object from our dataset * Remove unused code * Update location of lr_scheduler Its behavior has changed in PyTorch 1.1 * Remove debug code * Typo * Bugfix * Move image normalization to model * Remove legacy tensor constructors Also move away from Int and instead use int64 * Bugfix in MultiscaleRoiAlign * Move transforms to its own file * Add missing file * Lint * More lint * Add some basic test for detection models * More lint
-