Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Toctrees for classes and methods using sphinx autosummary #1393

Merged
merged 8 commits into from
Oct 23, 2020

Conversation

trsvchn
Copy link
Collaborator

@trsvchn trsvchn commented Oct 19, 2020

Fixes #1273

Description:

Adds toctrees for classes and methods for several ignite modules

Check list:

  • New tests are added (if a new feature is added)
  • New doc strings: description and/or example code are in RST format
  • Documentation is updated (if required)

@trsvchn trsvchn marked this pull request as draft October 19, 2020 20:14
@trsvchn trsvchn marked this pull request as ready for review October 19, 2020 20:38
@vfdev-5
Copy link
Collaborator

vfdev-5 commented Oct 20, 2020

@trsvchn thanks for the PR ! Looks very nice when rendered: https://deploy-preview-1393--pytorch-ignite-preview.netlify.app/

However, we still need to add all items manually, do you think if there is a way to automatically generate those lists without manual inserting ?

- :class:`~ignite.contrib.metrics.regression.MedianRelativeAbsoluteError`
- :class:`~ignite.contrib.metrics.regression.R2Score`
- :class:`~ignite.contrib.metrics.regression.WaveHedgesDistance`
Complete list of metrics
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know that this is a bit out of the scope of the PR, but I think it would be better to create a complete list for the whole module ignite.contrib.metrics vs only regression metrics. If you wish to do that in another PR, it is up to you.

@trsvchn
Copy link
Collaborator Author

trsvchn commented Oct 21, 2020

@trsvchn thanks for the PR ! Looks very nice when rendered: https://deploy-preview-1393--pytorch-ignite-preview.netlify.app/

However, we still need to add all items manually, do you think if there is a way to automatically generate those lists without manual inserting ?

@vfdev-5 I've found another possible solution, so I am going to try it

@trsvchn
Copy link
Collaborator Author

trsvchn commented Oct 21, 2020

@vfdev-5 Well, I think I've found the solution, after inspecting autosummary I've spotted the place to modify, and prepare a patch for original autosummary, it takes a module (a current module) and generate summary table for classes and function from that module automatically!

Here is how to use it, there are 3 new options:

:autolist: - list classes and functions

    .. currentmodule:: module
 
    .. autosummary::
        :toctree:
        :nosignatures:
        :autolist:

autolist-classes: to list only classes

    .. currentmodule:: module
   
    .. autosummary::
        :toctree:
        :nosignatures:
        :autolist-classes:

autolist-functions - if you need just functions

    .. currenrmodule:: module

    .. autosummary::
        :toctree:
        :nosignatures:
        :autolist-functions:

But note, using .. currentmodule:: <module> before autolist is required, for example for metrics

    .. currentmodule:: ignite.metrics

    .. autosummary::
        :toctree:
        :nosignatures:
        :autolist-functions:

@vfdev-5
Copy link
Collaborator

vfdev-5 commented Oct 22, 2020

@trsvchn looks super cool ! I was just wondering if we could make item's height inside auto summary list a bit smaller ?
For example, the list of metrics here: https://deploy-preview-1393--pytorch-ignite-preview.netlify.app/metrics.html#complete-list-of-metrics can not be displayed entirely on the display. Maybe, we can try to remove class description, e.g. "Base class for all Metrics." for Metric. What do you think ?

@trsvchn
Copy link
Collaborator Author

trsvchn commented Oct 22, 2020

@vfdev-5 Maybe we can try to play with css, like here, I changed col width in such way, I hope we can do the same for the row height?

/* automatically generated toctree tables */
article.pytorch-article table.longtable.docutils.align-default colgroup {
display: none;
}
article.pytorch-article table.longtable.docutils.align-default tbody td:first-child {
width: 30%;
}

@vfdev-5
Copy link
Collaborator

vfdev-5 commented Oct 22, 2020

@trsvchn true, finetuning css can be an option too. There are however cases where the description take multiple lines. Is it more simple to remove description or it is a similar difficulty ?

@trsvchn
Copy link
Collaborator Author

trsvchn commented Oct 22, 2020

@vfdev-5 I am going to try to generate rows for items without description, Let's see what happens

@trsvchn
Copy link
Collaborator Author

trsvchn commented Oct 22, 2020

@vfdev-5 Here what we have
no-descrp

@vfdev-5
Copy link
Collaborator

vfdev-5 commented Oct 22, 2020

Seems like summary now contains python classes and private members

@trsvchn
Copy link
Collaborator Author

trsvchn commented Oct 22, 2020

Yeah, here is some dummy test with a lot of classes with no descriptions:
mappings

Looks like this is css issue

@trsvchn
Copy link
Collaborator Author

trsvchn commented Oct 22, 2020

Ok, we are getting closer :)

article.pytorch-article table.longtable.docutils.align-default tbody td {
  padding: 0.1rem;
}

img2

But I am not sure

@trsvchn
Copy link
Collaborator Author

trsvchn commented Oct 22, 2020

@vfdev-5 Finetuning CSS, What do think?
img3

@vfdev-5
Copy link
Collaborator

vfdev-5 commented Oct 22, 2020

@trsvchn looks awesome ! I'm wondering about how works BetterAutosummary and at which step docstring is added ? For example, if we could trim the description to say 50 char and add "..."

@trsvchn
Copy link
Collaborator Author

trsvchn commented Oct 22, 2020

@vfdev-5 BetterAutosummary works before docstrings extraction, Autosummary does that. I can take a look what we can do.

@vfdev-5
Copy link
Collaborator

vfdev-5 commented Oct 22, 2020

Thanks ! I think we can update this PR with modified CSS and docstring reduction can be done in a another PR

@trsvchn
Copy link
Collaborator Author

trsvchn commented Oct 22, 2020

Yeah! Now it fits to the display)

@vfdev-5
Copy link
Collaborator

vfdev-5 commented Oct 22, 2020

@trsvchn looks like Autosummary.get_items(self, names) is responsible for doctring and outputs: [(name, signature, summary_string, real_name), ...]. Probably, we can try overriding it and just cut summary_string as we wish....

@trsvchn
Copy link
Collaborator Author

trsvchn commented Oct 22, 2020

@trsvchn looks like Autosummary.get_items(self, names) is responsible for doctring and outputs: [(name, signature, summary_string, real_name), ...]. Probably, we can try overriding it and just cut summary_string as we wish....

Oh, Thanks! I am going to try!

@vfdev-5
Copy link
Collaborator

vfdev-5 commented Oct 22, 2020

And is it CSS where it is defined the size of the field for class/function name and the description ?
We have a very long name for a regression metric : https://deploy-preview-1393--pytorch-ignite-preview.netlify.app/contrib/metrics.html#module-ignite.contrib.metrics.regression
I was thinking if we can make the first column a bit larger (in another PR certainly)

@vfdev-5
Copy link
Collaborator

vfdev-5 commented Oct 22, 2020

I also remarked locally when building that there is a large list of warnings like

 WARNING: autosummary: stub file not found 'ignite.utils.manual_seed'. Check your autosummary_generate setting.

do you think we can do something with that ?

@trsvchn
Copy link
Collaborator Author

trsvchn commented Oct 22, 2020

This sets width of the first column, that contains members name, so now 30%

article.pytorch-article table.longtable.docutils.align-default tbody td:first-child {
  width: 30%;
}

@trsvchn
Copy link
Collaborator Author

trsvchn commented Oct 22, 2020

I also remarked locally when building that there is a large list of warnings like

 WARNING: autosummary: stub file not found 'ignite.utils.manual_seed'. Check your autosummary_generate setting.

do you think we can do something with that ?

Yeah, I am thinking about it

@trsvchn
Copy link
Collaborator Author

trsvchn commented Oct 22, 2020

@vfdev-5 ok, trimming works but sometimes it trims class names or methods:

Metric Base class for all Metrics….
Accuracy Calculates the accuracy for binary, multiclass and multilabe…
Loss Calculates the average loss according to the passed loss_fn….
MetricsLambda Apply a function to other metrics to obtain a new metric….
MeanAbsoluteError Calculates the mean absolute error….
MeanPairwiseDistance Calculates the mean pairwise distance: average of pairwise d…
MeanSquaredError Calculates the mean squared error….
ConfusionMatrix Calculates confusion matrix for multi-class data….
TopKCategoricalAccuracy Calculates the top-k categorical accuracy….
Average Helper class to compute arithmetic average of a single varia…
DiceCoefficient Calculates Dice Coefficient for a given :class:`~ignite.metr…
EpochMetric Class for metrics that should be computed on the entire outp…
Fbeta Calculates F-beta score…
GeometricAverage Helper class to compute geometric average of a single variab…
IoU Calculates Intersection over Union using :class:`~ignite.met…
mIoU Calculates mean Intersection over Union using :class:`~ignit…
Precision Calculates precision for binary and multiclass data….
Recall Calculates recall for binary and multiclass data….
RootMeanSquaredError Calculates the root mean squared error….
RunningAverage Compute running average of a metric or the output of process…
VariableAccumulation Single variable accumulator helper to compute (arithmetic, g…
Frequency Provides metrics for the number of examples processed per se…
SSIM Computes Structual Similarity Index Measure…

@vfdev-5
Copy link
Collaborator

vfdev-5 commented Oct 22, 2020

Oh, I see. That's bad :( OK, let's make something better than blind trimming later.
To merge this PR, I'd like to remove all warnings though.

@trsvchn
Copy link
Collaborator Author

trsvchn commented Oct 22, 2020

Oh, I see. That's bad :( OK, let's make something better than blind trimming later.
To merge this PR, I'd like to remove all warnings though.

Yeah, 173 warnings is not an indicator of quality)

@trsvchn
Copy link
Collaborator Author

trsvchn commented Oct 22, 2020

I think all these warnings because of toctree:

The toctree option also signals to the sphinx-autogen script that stub pages should be generated for the entries listed in this directive. The option accepts a directory name as an argument; sphinx-autogen will by default place its output in this directory. If no argument is given, output is placed in the same directory as the file that contains the directive.

I need to test if BetterAutosummary can work properly w.o toctree, maybe we don't need it.

Copy link
Collaborator

@vfdev-5 vfdev-5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for this awesome PR, @trsvchn !

I let CI finish its job and will merge after that.

@trsvchn
Copy link
Collaborator Author

trsvchn commented Oct 22, 2020

That was interesting! I've improved my knowledge about python imports and finally learned how to inspect webpages)) very "interdisciplinary" issue)

@vfdev-5 vfdev-5 merged commit acd2982 into pytorch:master Oct 23, 2020
@vfdev-5
Copy link
Collaborator

vfdev-5 commented Oct 23, 2020

Yes, documentation issues are rather universal :) We could all learn from this PR, could be very helpful !

@vfdev-5
Copy link
Collaborator

vfdev-5 commented Oct 23, 2020

@trsvchn I'm looking into those new lists and remark that non-documented helper functions like here :
https://pytorch.org/ignite/master/contrib/engines.html#ignite-contrib-engines

  • empty_cuda_cache
  • get_default_score_fn
  • setup_any_logging (was removed today as was deprecated)

Could you please take a look at that on how to filter them too ? Thanks !

@trsvchn
Copy link
Collaborator Author

trsvchn commented Oct 24, 2020

@vfdev-5 Sure, I'll look at it.

Oh, yeah, currently BetterAutosummary doesn't check module members for the presence of a doc strings. I think that;s the reason.

vfdev-5 added a commit to vfdev-5/ignite that referenced this pull request Nov 24, 2020
* Update TQDM to > 4.48.0 (pytorch#1339)

* Fix tqdm 4.49.0 tests.

* update requirements.

* Use distutils instead of packaging for getting package version.

* Reformat code.

* Reformat using black 19.10b0.

Co-authored-by: vfdev <[email protected]>

* Activate mypy in ignite.utils (pytorch#1352)

* Activate mypy in ignite.utils

* Add missing torch package to lint stage

* Move mypy check to test stage

Co-authored-by: vfdev <[email protected]>

* Exposed EventEnum in docs and added import statement in its examples (pytorch#1345) (pytorch#1353)

* Update Shpinx to v3.1. (pytorch#1356)

Fixes pytorch#1272

* Update README.md

* Update doc of examples for Trains fileserver setup (pytorch#1360)

* update doc for trains fileserver setup

* replace github issue by documentation

Co-authored-by: Desroziers <[email protected]>

* Updated commit fix (pytorch#1361) (pytorch#1364)

* Updated commit fix

* Update code-style.yml

Co-authored-by: rex_divakar <[email protected]>

* added tuple type to mixins.py (pytorch#1365)

* added tuple type to mixins.py

* allow mypy to pass through base file

* fixed linting issues

Co-authored-by: vfdev <[email protected]>

* Activate mypy in ignite.distributed (pytorch#1355)

* Activate mypy in ignite.distributed

* Fix tests & py3.5 inline type hints

* Remove typing,overload

* Fix multiple typing issues

* Fix typing issues

* Fix TPU test

Co-authored-by: vfdev <[email protected]>

* Improve typing for ignite.handlers module (1343) (pytorch#1349)

* Improve typing for ignite.handlers module (1343)

* autopep8 fix

* Fix typing for py35, remove handlers block from mypy.ini

* Add exception to ModelCheckpoint when saving last checkpoint

* Add test for ModelCheckpoint with redefined save_handler case

* autopep8 fix

Co-authored-by: AutoPEP8 <>
Co-authored-by: Sylvain Desroziers <[email protected]>
Co-authored-by: vfdev <[email protected]>
Co-authored-by: trsvchn <[email protected]>

* [3] [contrib/metrics] setup typing in contrib part of the library (pytorch#1363)

* [3] [contrib/metrics] setup typing in contrib part of the library

* review changes

* Update gpu_info.py

Co-authored-by: Sylvain Desroziers <[email protected]>
Co-authored-by: vfdev <[email protected]>

* [2] [contrib/handlers] setup typing in contrib part of the library (pytorch#1362)

* [2] [contrib/handlers] setup typing in contrib part of the library

* Fix a typo in tqdm logger

* review comments

* Update mlflow_logger.py

* Update neptune_logger.py

* review changes

* review changes

Co-authored-by: Sylvain Desroziers <[email protected]>
Co-authored-by: vfdev <[email protected]>

* [1] [contrib/engines] setup typing in contrib part of the library  (pytorch#1351)

* setup typing for contribute/engine part of the code

* revert doc string changes

* Update common.py

Co-authored-by: Sylvain Desroziers <[email protected]>
Co-authored-by: vfdev <[email protected]>

* Update PULL_REQUEST_TEMPLATE.md

* Disable cross-ref links for type annotations (pytorch#1374)

* Added reinit__is_reduced and sync_all_reduce docs in metrics doc (pytorch#1373)

* added links to reinit__is_reduced and sync_all_reduce decorators in metrics documentation

* updated order in list of metrics

* deleted decorators from metric list

* Update metrics.rst

Co-authored-by: vfdev <[email protected]>

* warning if current device index is lower than current local rank (pytorch#1335) (pytorch#1376)

* warning if current device index is lower than current local rank (pytorch#1335)

* warning if current device index is lower than current local rank

* Updated code and tests

* Fixed formatting

* Updated code and tests for horovod
- fixed failing test

* Updated tests

Co-authored-by: vfdev-5 <[email protected]>

* Removed debug prints

* Fixed failing hvd tests

Co-authored-by: Sai Sandeep Mutyala <[email protected]>

* Github Actions workflow CI for horovod on CPU (pytorch#1377)

* Initial commit

* Update hvd-tests.yml

* Update hvd-tests.yml

* Update hvd-tests.yml

* trigger GitHub actions

* removed examples

* trigger GitHub actions

* Improve typing of distributed.comp_modules.utils.all_gather (pytorch#1370)

* Improve typing of distributed.comp_modules.utils.all_gather

* Fix all_gather gloo test

* Fix XLA test

Co-authored-by: vfdev <[email protected]>

* Removed state.restart method (pytorch#1385)

* Activate mypy in ignite.engine (pytorch#1379)

* Activate mypy in ignite.engine

* Fix missing import

* Fix typing issues with nighty build

* Fix PR findings

Co-authored-by: Sylvain Desroziers <[email protected]>
Co-authored-by: vfdev <[email protected]>

* add acknowledgment for IFPEN (pytorch#1387)

Co-authored-by: Desroziers <[email protected]>

* Fix collections DeprecationWarning (pytorch#1388)

* Remove deprecated CustomPeriodicEvent from nb example, fix tb OutputHadler (pytorch#1389)

* Update checkpoint.py (pytorch#1394)

* Add GH Action to build and publish Docker images (pytorch#1390)

* ADD GH Action to build and publish Docker images

* Configure GH action for Docker build

* Fix image_tag fetching

* Fix identation for main steps

* Add token envs for GH docker action, fix push all tag_image

* Switch to horovod 0.20.3

* Push images on push events

* Fix if conditional

* Toctrees for classes and methods using sphinx autosummary (pytorch#1393)

* Implement autosummary patch for autolisting

* Fix css for autogenerated tables via autosummary

* Improve autolist feature

* Add toctrees for methods and classes for ignite

* Better import for autolist

* Add toctrees for methods and classes for contrib package

* Fix CSS for autosummary table row height

* Fix warnings raised by toctree

* Remove all deprecated args, kwargs for v0.5.0 (pytorch#1396) (pytorch#1397)

* Remove all deprecated args, kwargs for v0.5.0 (pytorch#1396)

* Improve deprecation message of setup_any_logging (pytorch#1396)

* Update setup.cfg

* Remove module members w/o docstrings from autolist toc tables (pytorch#1401)

* Add --color=yes in pytest config (pytorch#1402)

* removes styling of function descriptions as requested in pytorch#1256 (pytorch#1399)

* removes styling of function descriptions as requested in pytorch#1256

* reverts modifications to the example files

* Skip circle ci and GA builds (pytorch#1400)

* [WIP] Skip circle ci and GA builds

* Fixes swissknife version

* Replaced swissknife by sh script

* [skip ci] Updated trigger_if_modified.sh script
- excluded docs from github actions
- added 1.6.0 to pytorch-version-tests

* Fixes pytorch#1408, XLA failing tests (pytorch#1412)

- Issue is related to xla nightly
- Probably related to pytorch/xla#2576

* Added Mypy check as github action (pytorch#1418)

* Added Mypy check to as github action

* Removed py3.5

* Activate mypy in ignite.metrics (pytorch#1391)

* Activate mypy in ignite.metrics

* remove num_examples check

* fix CR issues

* remove init defaults in Accuracy

* Remove None assignments in __init__

* improved typing connected with mypy issues

Co-authored-by: vfdev <[email protected]>

* Update README.md

Badge travis org -> com

* add tolerance for tpu in r2 and canberra tests (pytorch#1414)

* add tolerance for tpu

* autopep8 fix

* Reverted test_canberra_metric.py as unnecessary

* Update test_r2_score.py

* Update test_r2_score.py

Co-authored-by: Desroziers <[email protected]>
Co-authored-by: sdesrozis <[email protected]>
Co-authored-by: vfdev <[email protected]>

* Activate mypy ignite contrib metrics (pytorch#1419)

* Activate mypy in ignite.contrib.metrics

* Add missing type hints in ignite.contrib.metrics

* Add missing type hints

* Contributing guide (pytorch#1424)

* Add materials on how to setup dev env in CONTRIBUTING guide pytorch#1395
- first draft of first-time contributor guide

* Add materials on how to setup dev env in CONTRIBUTING guide pytorch#1395
- add in Table of Contents

* Add materials on how to setup dev env in CONTRIBUTING guide pytorch#1395
- fix table of contents link

* Add materials on how to setup dev env in CONTRIBUTING guide pytorch#1395
- rollback README.md, remove IDE setting

* Update CONTRIBUTING.md

Co-authored-by: Sylvain Desroziers <[email protected]>
Co-authored-by: vfdev <[email protected]>

* replace Number type with float; remove unneeded type ignores (pytorch#1425)

Co-authored-by: vfdev <[email protected]>

* Update README.md

* Added new time profiler `HandlersTimeProfiler` which allows per handler time profiling (pytorch#1398)

* added new HandlersTimeProfiler with handler level details and added tests for HandlersTimeProfiler (pytorch#1346)

* updated docs and docstring for HandlersTimeProfiler (pytorch#1346)

* updated HandlersTimeProfiler to support any events and updated detach mechanism of profiler (pytorch#1346)

* updated HandlersTimeProfiler with code improvements and implemented csv export method (pytorch#1346)

* updated HandlersTimeProfiler to handle event handler bundle better (pytorch#1346)

* HandlersTimeProfiler: added threshold for filtering profiled time for handlers attached to event with filters (pytorch#1346)

* HandlersTimeProfiler: add tests and type hints (pytorch#1398)

* HandlersTimeProfiler: use FloatTensor for list to tensor conversion (pytorch#1398)

* HandlersTimeProfiler: use torch.tensor for list to tensor conversion (pytorch#1398)

* HandlersTimeProfiler: remove unnecessary import (pytorch#1398)

* HandlersTimeProfiler: move tensor conversion in compute_basic_stats (pytorch#1398)

Co-authored-by: vfdev <[email protected]>

* Fix HandlersTimeProfiler example rendering (pytorch#1428)

* Fix HandlersTimeProfiler example rendering

* Fix WARNINGs: Title underline too short

* Add horizontal scrollbars for examples instead of font-size tweaks

* Enable horizontal scrollbars for examples globally

* Save model with same filename (pytorch#1423)

* save model with same filename

* Update checkpoint.py

* use elif

* refactor to have only one comprehension list

* refactoring

* improve test

* autopep8 fix

Co-authored-by: Desroziers <[email protected]>
Co-authored-by: vfdev <[email protected]>
Co-authored-by: sdesrozis <[email protected]>

* Some docs nit picking (pytorch#1435)

* enable extra flags for stricter type checking (pytorch#1433)

* Fixes pytorch#1426 - distrib cpu tests on win (pytorch#1429)

* Fixes pytorch#1426 - distrib cpu tests on win

* Skip distributed/tpu/multinode_distributed if SKIP_DISTRIB_TESTS=1

* replaced sh by bash

* Update pytorch-version-tests.yml

* Updated files to ignore for GitHub Actions CI (pytorch#1441)

* Added windows gpu test to circle ci (pytorch#1440)

* [WIP] Added windows gpu test to circle ci

* Updated windows config

* Updated conda installation

* Updated miniconda install command

* Removed conda installation

* Updated configuration

* Adding max_iters as an optional arg in Engine run (pytorch#1381)

* initial draft, adding max_iters as optional args in run

* fixed typo

* minor bug fixes

* resolving failing tests

* fixed out-of-place conditional

* typo fix

* updated docstring for 'run'

* added initial tests

* (WIP) restructured creating a new state with max_iters

* updated tests & docstrings

* initial draft, adding max_iters as optional args in run

* fixed typo

* minor bug fixes

* resolving failing tests

* fixed out-of-place conditional

* typo fix

* updated docstring for 'run'

* added initial tests

* (WIP) restructured creating a new state with max_iters

* updated tests & docstrings

* added test to check _is_done

* updating engine loop condition

* autopep8 fix

* linting issues

* fixed mypy errors

* fixed formatting

* minor fix & add test for larger max_iters

* removed unused typechecking

Co-authored-by: thescripted <[email protected]>
Co-authored-by: vfdev <[email protected]>

* Updated circleci trigger_if_modified.sh if on master

* Fix failing distributed ci (pytorch#1445)

* Setup random free port for distrib ci

* autopep8 fix

Co-authored-by: vfdev-5 <[email protected]>

* Added torch.cuda.manual_seed_all(seed) (pytorch#1444)

* fix ReduceOp typing issue (pytorch#1447)

* Update README.md

* Updated miniconda setup (pytorch#1449)

* Fixed broken coverage (pytorch#1451)

* Fixed broken coverage

* Updated hvd-tests.yml

* Migrated nightly build/release to GitHub Actions (pytorch#1448) (pytorch#1450)

* Added nightly build/release action

* Updated yml

* Updated to conda-incubator/setup-miniconda@v2

* Reverted modifications in other actions

* Migrated nightly build/release to GitHub Actions (pytorch#1448)

* Added nightly build/release action

* Updated yml

* Updated to conda-incubator/setup-miniconda@v2

* Reverted modifications in other actions

* Fix PyPi upload

* Finalized binaries-nightly-release.yml

* Updated README

* [contributing] add syncing up with the upstream (pytorch#1452)

* Update setup.cfg

* [contributing] add syncing up with the upstream

* Apply suggestions from code review

Co-authored-by: vfdev <[email protected]>

* Update CONTRIBUTING.md

Co-authored-by: vfdev <[email protected]>

* [ci] create docs.yml

* install torch

* Activate MyPy in ignite.contrib.engines (pytorch#1416)

* Activate mypy in ignite.contrib.engines

* Fix review comments

* fix extra event too

* Update to fix strict errors

* Update quickstart.rst (pytorch#1460)

* Update quickstart.rst

Plz have a look if I am going correct or not. ###rewording sentences to simplify the understanding

* Update docs/source/quickstart.rst

Co-authored-by: vfdev <[email protected]>

* Update quickstart.rst

* Update quickstart.rst

* Update docs/source/quickstart.rst

Co-authored-by: vfdev <[email protected]>

* Update quickstart.rst

Final commit is done. You can review it.

Co-authored-by: vfdev <[email protected]>

* [docs] intersphinx update in conf.py

* [docs] add missing function in handlers docs (pytorch#1463)

* Update setup.cfg

* [docs] missing function in handlers docs

* [docs] add ignite favicon (pytorch#1462)

* Update setup.cfg

* [docs] add ignite favicon

* Add missing classes and links for docs (pytorch#1461)

* Update CONTRIBUTING.md

* Update concepts.rst (pytorch#1465)

* setup toml, yaml, prettier in pre-commit (pytorch#1468)

* Update setup.cfg

* [pre-commit] setup yaml in pre-commit hook

* [pre-commit] setup toml prettier

* [docs] make GIF look good on mobile (pytorch#1470)

* Update setup.cfg

* [docs] make gif fit on mobile

* Update index.rst

* use .. raw:: html

* Update index.rst

Co-authored-by: vfdev <[email protected]>

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* [docs] add submodule in engine.rst (pytorch#1464)

* Update setup.cfg

* [docs] add submodule in engine

* [docs] add suggestions, contrib engine docs and 45% width

* Update ignite_theme.css

* [metrics] speed up SSIM tests (pytorch#1467)

* Update setup.cfg

* [metrics] update ssim

* use np.allclose instead of torch.allclose

* Apply suggestions from code review

* extract into _test_ssim

* extract into scripts

* fix path

* fix path

* fix path

* good to go!

* [ci] universal conda build (pytorch#1471)

* Update setup.cfg

* rm conda_build_config

* rm conda_build_config

* Update docs.yml

* Update install_docs_deps.sh

Co-authored-by: vcarpani <[email protected]>
Co-authored-by: Anton Grübel <[email protected]>
Co-authored-by: Harsh Patel <[email protected]>
Co-authored-by: Théo Dumont <[email protected]>
Co-authored-by: Sylvain Desroziers <[email protected]>
Co-authored-by: Desroziers <[email protected]>
Co-authored-by: rex_divakar <[email protected]>
Co-authored-by: Benjamin Kinga <[email protected]>
Co-authored-by: Taras Savchyn <[email protected]>
Co-authored-by: trsvchn <[email protected]>
Co-authored-by: RaviTeja Pothana <[email protected]>
Co-authored-by: Josseline Perdomo <[email protected]>
Co-authored-by: Sai Sandeep Mutyala <[email protected]>
Co-authored-by: Ramesht Shukla <[email protected]>
Co-authored-by: botbotbot <[email protected]>
Co-authored-by: Jeff Yang <[email protected]>
Co-authored-by: Sergey Epifanov <[email protected]>
Co-authored-by: sdesrozis <[email protected]>
Co-authored-by: zhxxn <[email protected]>
Co-authored-by: François COKELAER <[email protected]>
Co-authored-by: thescripted <[email protected]>
Co-authored-by: vfdev-5 <[email protected]>
Co-authored-by: Rostyslav Zatserkovnyi <[email protected]>
Co-authored-by: Afzal <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Automatically generated toctree for methods and classes
2 participants