"vscode:/vscode.git/clone" did not exist on "195e3d9dbd2c6ac95fba4631e5b3849a322d738f"
- 07 Dec, 2020 1 commit
-
-
Vasilis Vryniotis authored
-
- 03 Dec, 2020 1 commit
-
-
Francisco Massa authored
-
- 02 Dec, 2020 2 commits
-
-
Vasilis Vryniotis authored
* Encapsulate and standardize deform_conv2d (#3074) * Rename files. * Standardizing method names. * Adding anonymous namespaces. * Applying C++ naming rules and alinging variable names across headers and cpp files. * Syncing names across implementations. * Rename deform_conv2d.h to deform_conv2d.cpp * Use header files: - Create header files for kernel implementation and remove definitions from vision_*.h files. - Eliminate unnecessary headers and ensure all cpp include their headers. * Change the naming convention for kernel implementations. * Remove the _param postfix from the variables and standardizing names. * Exposing public forward/backward methods to the C++ API and moving methods around to minimize git blame changes. * Encapsulate and standardize nms (#3081) * Syncing, where possible, the names of functions across devices. * Adding all internal functions in anonymous namespaces. * Renaming C++/CUDA kernel files and moving operator code from header to cpp file. * Create foreach cpp file a separate header file with "public" functions. * Removing unnecessary repeated includes. * Update CMakeLists.txt to include all headers. * Encapsulate and standardize ps_roi_align (#3082) * Renaming C++ files & methods according to recommended naming conventions and aligning them with Python's API. Syncing, where possible, the names of functions across devices. * Adding all internal functions in anonymous namespaces. * Renaming C++/CUDA kernel files and moving operator code from header to cpp file. * Create foreach cpp file a separate header file with "public" functions. * Removing unnecessary repeated includes. * Encapsulate and standardize ps_roi_pool (#3084) * Renaming C++ files & methods according to recommended naming conventions and aligning them with Python's API. * Adding all internal functions in anonymous namespaces. * Renaming C++/CUDA kernel files and moving operator code from header to cpp file. * Create foreach cpp file a separate header file with "public" functions. * Removing unnecessary repeated includes. * Encapsulate and standardize roi_align (#3085) * Renaming C++ files & methods according to recommended naming conventions and aligning them with Python's API. * Adding all internal functions in anonymous namespaces. * Renaming C++/CUDA kernel files and moving operator code from header to cpp file. * Create foreach cpp file a separate header file with "public" functions. * Removing unnecessary repeated includes. * Encapsulate and standardize roi_pool (#3088) * Renaming C++ files & methods according to recommended naming conventions and aligning them with Python's API. * Adding all internal functions in anonymous namespaces. * Syncing variable names between the cpp files and their header files. * Renaming C++/CUDA kernel files and moving operator code from header to cpp file. * Create foreach cpp file a separate header file with "public" functions. * Removing unnecessary repeated includes. * Encapsulate and standardize new_empty_tensor_op (#3089) * Renaming C++ files & methods according to recommended naming conventions and aligning them with Python's API. * Create foreach cpp file a separate header file with "public" functions. * Adding all internal functions in anonymous namespaces. * Convert to const ref all possible parameters. * Removing unnecessary repeated includes. * Encapsulate and standardize C++ Ops - Clean up (#3094) * Removing unnecessary repeated includes. * Remove unnecessary vision_cpu.h, vision_cuda.h, autocast.h. * Fixing naming convention and correcting method names on macros. * Turn on clang formatter for cu files and fixing broken styles. * Replace "#ifndef ... #define ... #endif" with "#pragma once" on header files. * Adding operator methods in vision::ops namespace. (#3096) * Adding operator methods in vision::ops namespace. * Replace general.h with macros.h * Adding vision.h to the necessary cpp files.
-
Francisco Massa authored
Operator registration of functions with noexcept doesn't work on some compilers, see https://github.com/pytorch/pytorch/issues/48667
-
- 01 Dec, 2020 3 commits
-
-
Francisco Massa authored
* add UUID in LOG() in decoder * Fix lint * More lint
-
Francisco Massa authored
Summary: * Link libav change into fbcode * Set rw_timeout value Differential Revision: D23412524 fbshipit-source-id: 5755950be1b1b4c37cb0c3a69a8c875f8862a92c Co-authored-by:Keyun Tong <ktong@fb.com>
-
ProGamerGov authored
* Fix spelling mistake: orignal -> original * Spelling fix: orignal -> original Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 19 Nov, 2020 1 commit
-
-
Vasilis Vryniotis authored
* Add support of mode and remove channels. * Replacing integer mode with define constants.
-
- 18 Nov, 2020 2 commits
-
-
Vasilis Vryniotis authored
-
Vasilis Vryniotis authored
* Adding output channels implementation for pngs. * Adding tests for png. * Adding channels in the API and documentation. * Fixing formatting. * Refactoring test_image.py to remove huge grace_hopper_517x606.pth file from assets and reduce duplicate code. Moving jpeg assets used by encode and write unit-tests on their separate folders. * Adding output channels implementation for jpegs. Fix asset locations. * Add tests for JPEG, adding the channels in the API and documentation and adding checks for inputs. * Changing folder for unit-test. * Fixing windows flakiness, removing duplicate test. * Replacing components to channels. * Adding reference for supporting CMYK. * Minor changes: num_components to output_components, adding comments, fixing variable name etc. * Reverting output_components to num_components. * Replacing decoding with generic method on tests. * Palette converted to Gray.
-
- 16 Nov, 2020 2 commits
-
-
Ashish Farmer authored
-
Vasilis Vryniotis authored
* Removing python headers and code for Python2 compatibility. * Restoring python3 inits.
-
- 10 Nov, 2020 1 commit
-
-
Vasilis Vryniotis authored
* Add support of different color types in readpng. * Adding test images and unit-tests. * Use closest possible type. * Fix formatting.
-
- 09 Nov, 2020 1 commit
-
-
Licht Takeuchi authored
* Add modulation input for DeformConv2D * lint * Patch for GPU CI * Remove bad cache on CI
-
- 04 Nov, 2020 1 commit
-
-
peterjc123 authored
* Make read_file accept unicode strings on Windows * More fixes * Remove definitions from source files * Move string definitions to header * Add checks * Fix comments * Update macro * Fix comments * Fix lint * include windows header * Change func signature in header * Use from_blob * Fix fread calls * Fix clang format * Fix missing return * Avoid copy
-
- 03 Nov, 2020 1 commit
-
-
Vasilis Vryniotis authored
* Making all model constructors explicit. * formatting.
-
- 02 Nov, 2020 1 commit
-
-
Vasilis Vryniotis authored
-
- 30 Oct, 2020 7 commits
-
-
Vasilis Vryniotis authored
* Fixing types. * Dispatcher + Autocast. * + Autograd. * Formating. * Clean up and refactor PSROIPool implementation: - Remove primitive const declaration from method names. - Using references when possible. - Fix variable naming. * Restore include headers. * New line at end of file. * Resolving conflict, final cleanup, ordering method consistently across files.
-
Vasilis Vryniotis authored
* Fixing types. * Dispatcher + Autocast. * + Autograd. * Formating. * Fixing return casting with autocast. * Clean up and refactor ROIPool implementation: - Remove primitive const declaration from method names. - Using references when possible. * Restore include headers. * New line at end of file.
-
Vasilis Vryniotis authored
* Clean up and refactor ROIAlign implementation: - Remove primitive const declaration from method names. - Passing as const ref instead of value where possible. - Remove unnecessary headers. * Adding back include for cpu. * Restore include headers.
-
Vasilis Vryniotis authored
* Fixing types. * Dispatcher + Autocast. * + Autograd. * Clean up and refactor PSROIAlign implementation: - Remove primitive const declaration from method names. - Using references when possible. - Sync naming of internal methods with other ops. * Restoring names of internal methods to avoid conflicts. * Restore include headers.
-
Vasilis Vryniotis authored
* Clean up and refactor DeformConv implementation: - Remove primitive const declaration from method names. - Passing as const ref instead of value where possible. - Aligning method names between cpu and cuda. * Adding newline. * Adding back include for cpu. * Restoring method names of private methods to avoid conflicts. * Restore include headers.
-
Vasilis Vryniotis authored
* Clean up and refactor ROIAlign implementation: - Remove primitive const declaration from method names. - Remove unnecessary headers. - Aligning method names between cpu and cuda. * Adding back include for cpu. * Restoring method names of private methods to avoid conflicts. * Restore include headers.
-
vfdev authored
- Replaced tuple creation by one acceptable by majority of compilers
-
- 27 Oct, 2020 1 commit
-
-
Vasilis Vryniotis authored
* Splitting tuples of stride, padding and dilation of DeformConv. * Fixing types. * Dispatcher + Autocast. * + Autograd. * Moving contiguous() convertions away dispatcher and into the implementations. * Removing rvalue references.
-
- 26 Oct, 2020 4 commits
-
-
Vasilis Vryniotis authored
* Minor refactoring based on static analysis on the code of models: - Convert unnecessary value parameter to constant reference. - Use move to avoid unnecessary copies. - Eliminate unused include. * Replace moves with const references. * Fixing formatting. * Remove explicit declaration on constructors.
-
Vasilis Vryniotis authored
- Remove unnecessary return.
-
Vasilis Vryniotis authored
- Replace deprecated string.h with cstring. - Switch to nullptr.
-
Vasilis Vryniotis authored
* Convert to const reference and eliminate unnecessary bool casting. * Removing unnecessary namespace use.
-
- 16 Oct, 2020 1 commit
-
-
bmanga authored
* Ensure torchvision operators are registered in C++ via weak symbols * Add note to README on how to ensure that torchvision operators are available in C++ * Fix dllimport/dllexport on windows, format files * Factor out common macros in single file * Expose cuda_version in the API, use it to avoid pruning of ops initializer
-
- 14 Oct, 2020 1 commit
-
-
Edgar Andrés Margffoy Tuay authored
* [DEBUG] Check wheel relocation issues * Call delocate on Mac * Use yum instead of conda * Do not copy ffmpeg dylibs * Linux dry run * Do not download FFmpeg on Mac * Install bzip2 * Restore FFmpeg on Windows * Remove ffmpeg temporarily * Do not remove dependencies * Disable FFmpeg temporarily on Linux wheels * Test relocation in Linux * Add docstring * Call relocation script * Minor error correction * Import auditwheel only on Linux * Restore ffmpeg again on Windows * Return *device * Try fix Windows * Fix clang-format * Start windows patchwork * Copy all DLLs * Disable FFmpeg on Windows for now * Bugfix Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-
- 13 Oct, 2020 1 commit
-
-
vfdev authored
* Added rois shape check in C++ * Fixes code formatting * Remove accidental include * - Updated code according to the review - Replaced old AT_ASSERT/ERROR by new TORCH_CHECK
-
- 11 Oct, 2020 1 commit
-
-
Vasilis Vryniotis authored
* Adding checks on forward and backward passes. * Adding unit-tests.
-
- 07 Oct, 2020 3 commits
-
-
Francisco Massa authored
-
peterjc123 authored
* Improve read_file for Windows * Fix lint * Use _stat64 instead * Apply suggesion * Fix lint
-
Bruno Korbar authored
* adding base files * setup modification to actually build the thing * video api constructor registration * FAIL metadata * FAIL update for QS * revert * debugging with Victor * adding base files * setup modification to actually build the thing * video api constructor registration * FAIL metadata * FAIL update for QS * revert * debugging with Victor * metadata registration works * API build next * test * Merge change * formatting parameters to avoid the segfault * next now works on a video * make size of the output tensor format dependent * Make next work on audio stream only as well * refactoring the _setCurrentStream param * Fixing the last frame return and sensor * todo docs * Formatting * cleanup and comments * introducing new tests for the API * cleanup * Comment out unnecesary format (will add following FFMPEG fix) * Reformat parsing function * removing the seek bug `get_decoder_params` * Removing unnecessary code/variables * enforce RGB24 as a reading format (will crash before ffmpeg fix) * permute the dimensions to return (RGB x H x W) * Changing the return type to std::tuple<torch::Tensor, double> as opposed to tensor list * Adjusting tests for the new return type * remove unnecessary jitter * clangangangang * Metadata return changes (#1) * remove implicit calls to set a current stream (#2) * Adding new tests to check the accuracy of the seek * cleanup debugging statements * adding base files * setup modification to actually build the thing * video api constructor registration * FAIL metadata * FAIL update for QS * revert * debugging with Victor * adding base files * video api constructor registration * FAIL metadata * FAIL update for QS * revert * debugging with Victor * metadata registration works * API build next * test * Merge change * formatting parameters to avoid the segfault * next now works on a video * make size of the output tensor format dependent * Make next work on audio stream only as well * refactoring the _setCurrentStream param * Fixing the last frame return and sensor * todo docs * Formatting * cleanup and comments * introducing new tests for the API * cleanup * Comment out unnecesary format (will add following FFMPEG fix) * Reformat parsing function * removing the seek bug `get_decoder_params` * Removing unnecessary code/variables * enforce RGB24 as a reading format (will crash before ffmpeg fix) * permute the dimensions to return (RGB x H x W) * Changing the return type to std::tuple<torch::Tensor, double> as opposed to tensor list * Adjusting tests for the new return type * remove unnecessary jitter * clangangangang * Metadata return changes (#1) * remove implicit calls to set a current stream (#2) * Adding new tests to check the accuracy of the seek * cleanup debugging statements * Addressing PR comments * addressing Francisco's comments * CLANG build formatting * Updated testing to test against pyav for the video tensor reads * Formatting * remove pyav from pip deps and add it to conda build * add pyav and ffmeped to conda builds * Formatting? * Setting up linter once and for all hopefully * Testing pyav * Fix to 8.0.0 * Try 6.2.0 * See what happens with av from pip * Remove FFMPEG blocker * What is going on? * More tests * Forgot something * unblocker * Check if cache is messing up with things * Now try with different ffmpeg * Now try with different ffmpeg * Testing pyav * Fix to 8.0.0 * Try 6.2.0 * See what happens with av from pip * What is going on? * More tests * Forgot something * Check if cache is messing up with things * Now try with different ffmpeg * Now try with different ffmpeg * Do not install av * Test with ffmpeg 4.2 * clean up video tests * cleaning up the tests a bit to better test partial reading * arrgh linter * Forgot the av test * forgot av test * checkout build files from master * revert circleci * addressing Franciscos comments * addressing Franciscos comments * Ignore ffmpeg in travis Co-authored-by:
Francisco Massa <fvsmassa@gmail.com> Co-authored-by:
Edgar Andrés Margffoy Tuay <andfoy@gmail.com>
-
- 06 Oct, 2020 3 commits
-
-
Francisco Massa authored
* Add write_file * Fix lint
-
Edgar Andrés Margffoy Tuay authored
* Add PyTorch FFmpeg to wheel and conda distributions * Try to install wget from conda * Add yq flag on Mac * Correct copy instructions * Use cURL on Windows * Call bzip2 directly due to msys2/MSYS2-packages#1548 * Copy ffmpeg binaries to system-wide directories * Try to use std:c++17 on Windows * Try to define ssize_t on Windows * Use C++14 * Declare AVRational structs explicitly * Initialize AVRational explicitly * Replace macro to prevent errors on Windows * Replace AV_TIME_BASE_Q * Add library paths for video extension * Force ffmpeg from pytorch channels? * Fix clang style warnings * Update CONDA_CHANNEL_FLAGS * Fix clang style issues * Update unittest * Use FFmpeg 4.2 * Install correct version on Mac * Pin av version to 8.0.0 * Fix string formatting issue * Fix pip pinning * Try with 8.0.1 * Use av 8.0.2 * Remove trailling whitespaces * Disable test_io_opt.py * Disable test_datasets_video_utils Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-
Francisco Massa authored
* Add read_file * Add test for non-existent file * Fix lint * Lint v2 * Try fix windows * Try fix Windows v2 * Lint * Windows v3 * Missed one change in the adapted function * Try again on Windows * One more try on Windows * Give up on tempfile for now * Are extensions what's missing on Windows? * Investigating if the issue is on our side * Try deleting tensor which could hold into the file * Put back temporary folder
-
- 29 Sep, 2020 1 commit
-
-
Edgar Andrés Margffoy Tuay authored
* Add encode/write_png functions * Do not redefine * Style issues correction * Comply with low-level interface * Minor comment correction * Add python frontend functions * Add encode_png test * Pass compession level to encode_png * Do not compare output buffers * Convert to bytes * Compare pil image instead of buffer * Add error tests * Add test_write_png * Remove png test assets * Register writePNG correctly * Update write_png docstring * Do not preserve PIL image beyond the scope Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-