- 16 Jan, 2023 1 commit
-
-
Philip Meier authored
-
- 15 Aug, 2022 1 commit
-
-
Shantanu authored
* Use --no-implicit-optional for type checking This is needed for PEP 484 compliant type checking (as of 2018). mypy will change its defaults soon. See https://github.com/python/mypy/issues/9091 * forcing CI rerun Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 11 Feb, 2022 1 commit
-
-
Philip Meier authored
* revamp prototype features (#5283) * remove decoding from prototype datasets (#5287) * remove decoder from prototype datasets * remove unused imports * cleanup * fix readme * use OneHotLabel in SEMEION * improve voc implementation * revert unrelated changes * fix semeion mock data * fix pcam * readd functional transforms API to prototype (#5295) * readd functional transforms * cleanup * add missing imports * remove __torch_function__ dispatch * readd repr * readd empty line * add test for scriptability * remove function copy * change import from functional tensor transforms to just functional * fix import * fix test * fix prototype features and functional transforms after review (#5377) * fix prototype functional transforms after review * address features review * make mypy more strict on prototype features * make mypy more strict for prototype transforms * fix annotation * fix kernel tests * add automatic feature type dispatch to functional transforms (#5323) * add auto dispatch * fix missing arguments error message * remove pil kernel for erase * automate feature specific parameter detection * fix typos * cleanup dispatcher call * remove __torch_function__ from transform dispatch * remove auto-generation * revert unrelated changes * remove implements decorator * change register parameter order * change order of transforms for readability * add documentation for __torch_function__ * fix mypy * inline check for support * refactor kernel registering process * refactor dispatch to be a regular decorator * split kernels and dispatchers * remove sentinels * replace pass with ... * appease mypy * make single kernel dispatchers more concise * make dispatcher signatures more generic * make kernel checking more strict * revert doc changes * address Franciscos comments * remove inplace * rename kernel test module * fix inplace * remove special casing for pil and vanilla tensors * address comments * update docs * cleanup features / transforms feature branch (#5406) * mark candidates for removal * align signature of resize_bounding_box with corresponding image kernel * fix documentation of Feature * remove interpolation mode and antialias option from resize_segmentation_mask * remove or privatize functionality in features / datasets / transforms
-
- 21 Jan, 2022 1 commit
-
-
Hu Ye authored
* add fcos * update fcos * add giou_loss * add BoxLinearCoder for FCOS * add full code for FCOS * add giou loss * add fcos * add __all__ * Fixing lint * Fixing lint in giou_loss.py * Add typing annotation to fcos * Add trained checkpoints * Use partial to replace lambda * Minor fixes to docstrings * Apply ufmt format * Fixing docstrings * Fixing jit scripting * Minor fixes to docstrings * Fixing jit scripting * Ignore mypy in fcos * Fixing trained checkpoints * Fixing unit-test of jit script * Fixing docstrings * Add test/expect/ModelTester.test_fcos_resnet50_fpn_expect.pkl * Fixing test_detection_model_trainable_backbone_layers * Update test_fcos_resnet50_fpn_expect.pkl * rename stride to box size * remove TODO and fix some typo * merge some code for better * impove the comments * remove decode and encode of BoxLinearCoder * remove some unnecessary hints * use the default value in detectron2. * update doc * Add unittest for BoxLinearCoder * Add types in FCOS * Add docstring for BoxLinearCoder * Minor fix for the docstring * update doc * Update fcos_resnet50_fpn_coco pretained weights url * Update torchvision/models/detection/fcos.py Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> * Update torchvision/models/detection/fcos.py Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> * Update torchvision/models/detection/fcos.py Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> * Update torchvision/models/detection/fcos.py Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> * Add FCOS model documentation * Fix typo in FCOS documentation * Add fcos to the prototype builder * Capitalize COCO_V1 * Fix params of fcos * fix bug for partial * Fixing docs indentation * Fixing docs format in giou_loss * Adopt Reference for GIoU Loss * Rename giou_loss to generalized_box_iou_loss * remove overwrite_eps * Update AP test values * Minor fixes for the docs * Minor fixes for the docs * Update torchvision/models/detection/fcos.py Co-authored-by:
Zhiqiang Wang <zhiqwang@foxmail.com> * Update torchvision/prototype/models/detection/fcos.py Co-authored-by:
Zhiqiang Wang <zhiqwang@foxmail.com> Co-authored-by:
zhiqiang <zhiqwang@foxmail.com> Co-authored-by:
Joao Gomes <jdsgomes@fb.com> Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> Co-authored-by:
Joao Gomes <joaopsgomes@gmail.com>
-
- 20 Jan, 2022 1 commit
-
-
Nicolas Hug authored
* Change default of download for Food101 and DTD * Set download default to False and put it at the end * Keep stuff private * GTSRB: train -> split. Also use pathlib * mypy * Remove split and partition for SUN397 * mypy * mypy * move download param for SST2 * Use make_dataset in SST2 * Use a base URL for GTSRB * Let's make this code more complictaed than it needs to be because why not
-
- 17 Nov, 2021 1 commit
-
-
F-G Fernandez authored
* style: Added typing annotations * style: Fixed lint * style: Fixed typing * chore: Updated mypy.ini * style: Fixed typing * chore: Updated mypy.ini * style: Fixed typing compatibility with jit * style: Fixed typing * style: Fixed typing * style: Fixed missing import * style: Fixed typing of __iter__ * style: Fixed typing * style: Fixed lint * style: Finished typing * style: ufmt the file * style: Removed unnecessary typing * style: Fixed typing of iterator Co-authored-by:
Philip Meier <github.pmeier@posteo.de> Co-authored-by:
Prabhat Roy <prabhatroy@fb.com>
-
- 14 Nov, 2021 1 commit
-
-
Carlosbogo authored
Removed pandas references from the repo
-
- 02 Nov, 2021 1 commit
-
-
Aditya Oke authored
* Update typing * Fix bug * Unblock mypy * Ignore small error Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 21 Oct, 2021 1 commit
-
-
Philip Meier authored
* make mypy more strict for prototype datasets * fix code format * apply strictness only to datasets * fix more mypy issues * cleanup * fix mnist annotations * refactor celeba * warn on redundant casts * remove redundant cast * simplify annotation * fix import
-
- 19 Oct, 2021 1 commit
-
-
Aditya Oke authored
* Start adding types * add typing * Type prototype models * fix optional type bug * transient import * Fix weights type * fix import * Apply suggestions from code review Address nits Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> Co-authored-by:
Khushi Agrawal <khushiagrawal411@gmail.com> Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 15 Oct, 2021 1 commit
-
-
Aditya Oke authored
* Annotate rpn * Small fix * Small fix and ignore Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 12 Oct, 2021 2 commits
-
-
Aditya Oke authored
* Add typing for imagelist, move params to docstring * Add docs
-
Aditya Oke authored
* Start annotating utils * checking * Add annotations at _utils.py * Remove unnecessary comments. * re-checked typings * Update typing * Ignore small error * Use optional tensor * Ignore for JIT Co-authored-by:
Khushi Agrawal <khushiagrawal411@gmail.com> Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 05 Oct, 2021 1 commit
-
-
Nicolas Hug authored
* Allow redefinition for mypy * appease mypy Co-authored-by:Philip Meier <github.pmeier@posteo.de>
-
- 30 Sep, 2021 1 commit
-
-
Philip Meier authored
* add torchdata as prototype dependency * ignore torchdata for mypy * move git dependency out of conda environment file * try unsetting PYTORCH_VERSION env var * cleanup * move installation of torchdata after installtion of PyTorch * regenerate circlci config * remove branch from torchdata download link Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-
- 31 Aug, 2021 1 commit
-
-
Aditya Oke authored
* fix * add typings * fixup some more types * Type more * remove mypy ignore * add missing typings * fix a few mypy errors * fix mypy errors * fix mypy * ignore types * fixup annotation * fix remaining types * cleanup #TODO comments Co-authored-by:
Philip Meier <github.pmeier@posteo.de> Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 16 Aug, 2021 2 commits
-
-
F-G Fernandez authored
* style: Added typing annotations * style: Fixed typing * style: Fixed typing * Remove unnecessary any. * Update mypy.ini Co-authored-by:
Francisco Massa <fvsmassa@gmail.com> Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> Co-authored-by:
Vasilis Vryniotis <vvryniotis@fb.com>
-
F-G Fernandez authored
* style: Added missing typing annotations * style: Fixed typing * style: Fixed typing * chore: Updated mypy.ini Co-authored-by:
Francisco Massa <fvsmassa@gmail.com> Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 08 Apr, 2021 1 commit
-
-
Mustafa Bal authored
* Added defusedxml to parse untrusted XML data * Added typecheck disable for defusedxml Co-authored-by:Nicolas Hug <nicolashug@fb.com>
-
- 19 Nov, 2020 1 commit
-
-
F-G Fernandez authored
* refactor: Fixed typing exception throwing issues with JIT * style: Added back mypy typing to forward * chore: Added back densenet module as mypy exception
-
- 06 Nov, 2020 1 commit
-
-
F-G Fernandez authored
* style: Added annotation typing for densenet * fix: Fixed import * refactor: Removed un-necessary import * fix: Fixed constructor typing * chore: Updated mypy.ini * fix: Fixed tuple typing * style: Ignored some mypy errors * style: Fixed typing * fix: Added missing constructor typing
-
- 22 Sep, 2020 1 commit
-
-
Philip Meier authored
* partially enable mypy for .models * fix existing errors * ignore error instead of using Union
-
- 14 Sep, 2020 1 commit
-
-
Philip Meier authored
* enable typing check for torchvision.io * fix existing errors * Update torchvision/io/_video_opt.py Co-authored-by:
Francisco Massa <fvsmassa@gmail.com> * add ignores for FileFinder * use python 3 type hints * lint * video_opt * video * try quote av type hints * revert from .dim() to .ndim * revert changes to _video_opt.py and ignore errors * fix type hints * fix type hints for read_video_timestamps * change offset int to float * remove unused import Co-authored-by:
Francisco Massa <fvsmassa@gmail.com>
-
- 30 Jul, 2020 1 commit
-
-
Philip Meier authored
* enable mypy for torchvision.datasets and ignore existing errors * imagenet * utils * lint
-
- 11 May, 2020 1 commit
-
-
Philip Meier authored
* add mypy config * fix syntax error * fix annotations in torchvision/utils.py * add mypy type check to CircleCI * add mypy cache to ignore files * try fix CI * ignore flake8 F821 since it interferes with mypy * add mypy type check to config generator * explicitly set config files
-