Coder Social home page Coder Social logo

pytorch-ignite / pytorch-ignite.ai Goto Github PK

View Code? Open in Web Editor NEW
10.0 6.0 11.0 12 MB

PyTorch-Ignite website

Home Page: https://pytorch-ignite.ai/

License: BSD 3-Clause "New" or "Revised" License

CSS 0.12% HTML 2.36% JavaScript 0.70% Python 0.05% Shell 0.09% Jupyter Notebook 96.69%
pytorch-ignite

pytorch-ignite.ai's People

Contributors

github-actions[bot] avatar gucifer avatar guptaaryan16 avatar kevinmusgrave avatar louis-she avatar moh-yakoub avatar pacificdragon avatar priyansi avatar puhuk avatar renovate[bot] avatar ryanwongsa avatar trsvchn avatar vfdev-5 avatar ydcjeff avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

pytorch-ignite.ai's Issues

Output for all tutorials

Once we solve issue #10 we can work on how to display the output of all tutorials (see picture below for reference) while also caching them so they aren't expensive for each new build.
image

Ideas for index pages of docs

The index page of posts/ is automatically generated with an image, preview text and titles of the available blog posts. However, there is nothing like this for docs and we have to manually list down all the topics. Any ideas and suggestions on how to display various topics on the index pages will be appreciated!

Ideas List:

  • Grid like structure - @trsvchn
  • Tag wise filtering of topics (for ex- computer vision, nlp, etc)

Remove alert when code is copied

While copying code snippets via the Copy button, an alert pops up every time like this -
image

It would be a better user experience if we remove this.

Always show sidebar?

So directory based sidebar is added in ff3e6ce.

Questions is should we show in all pages and do not show in some pages we don't want?

[prototype] Jupyter Notebooks Rendering

  • Link examples repo as a submodule
  • Add a script based on nbconvert to:
    • convert ipynb notebook from examples to markdown files
    • prepend hugo related header (post title, footer...)

Pagination pages

If we limit a page by a certain amount of tutorials or guides, we might need to have pagination pages for older content.
It doesn't make sense to have infinitely scrolling pages.

Front page updates

We would like to have the front page look like numpy.org

image

  • Header (we already have it and it is nice)
  • our logo (logo mark + text) on the left
  • "get started" on the right as numpy has
  • horizontal tape with our latest news

Sidebar based on files in a directory

@vfdev-5 mentioned to add sidebar so that we can shorten the link clicks for nested contents.

I wish to make sidebar to show the link to the files (posts/*.md) in a directory (e.g, posts/). And show the h2 of the current visiting page.

Sidebar draft design:

| posts
|-- a.md (current viewing page)
    |-- h2
    |-- h2
    |-- h2
    |-- h2
    |-- h2
|-- b.md
|-- c.md
|-- d.md

WDYT? @vfdev-5 @trsvchn @Priyansi

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/deploy.yml
  • actions/checkout v4
  • peaceiris/actions-hugo v2
  • actions/setup-node v4
  • peaceiris/actions-gh-pages v3
.github/workflows/linkcheck.yml
  • actions/checkout v4
  • peaceiris/actions-hugo v2
  • actions/setup-node v4
.github/workflows/submodule.yml
  • actions/checkout v4
  • actions/checkout v4
  • actions/setup-python v4
  • actions/checkout v4
  • actions/setup-python v4
  • peter-evans/create-pull-request v6
npm
package.json
  • jsdom ^22.1.0
  • prettier ^2.8.3
  • shiki ^0.12.1
  • windicss ^3.5.6
pip_requirements
scripts/requirements.txt

  • Check this box to trigger a request for Renovate to run again on this repository

A page or a section with our presentions and other resources

@ydcjeff I would like to put somewhere the links on our previous public presentations and other resources like posters etc.
Here is the content:

It can be a new page or a section somewhere, I do not know yet where it would be the best place.

Create a new page for documentation

When I click on documentation as of now, it redirects back to the old documentation.
A new page divided into 4 sections with links that lead to tutorials, how-to's, explanation and API reference is needed.

Links in tables aren't highlighted

It's a minor inconvenience but a link in the rendered markdown table isn't highlighted or changes colour. A user has to hover over it to figure out if it's a link.
Left text is not a link and the right text is.
image

Code cell font size issues

Using iOS safari, some code cells rendering problems appear. The font size seems not coherent.

Some screenshots below

image

image

image

Download links at the top of tutorials

Numpy tutorials have easy to use download links (.ipynb, .py or .md) at the top of every page, courtesy of the Sphinx Book theme. Is it possible to recreate something identical for this site? Ideally, there should be 4 buttons - Open in Colab, Download as a Jupyter notebook, View in GitHub and Download a python file.
When Numpy renders its tutorials, they create a Jupyter Notebook and other necessary files that are linked to these Download buttons. I think we have to implement something like that.

image

Automatic code formatting when site is building

I am not sure if this is possible with Hugo but it'd be great if instead of us formatting code, Hugo could automatically do it while rendering the site as it happens right now in Ignite with Black.

Update GAN FID/IS blog post

@gucifer please update the notebook and generate its markdown with the following fixes:

  1. Use # only once for the title and ##, ### etc for others. As title is specified in tags as title: ..., you have to update all headers by adding one more # to each of them.

  2. Fix this :

# Models for GAN

## Generator

The latent space dimension of input vectors for the generator is a key parameter of GAN.
....

## Generator

You have twice the header ## Generator

  1. Fix typos:
- dataset, emmiting events as it goes.
+ dataset, triggering events as it goes.

- Events - Events are emmited by the Engine
+ Events - Events are emitted by the Engine


- Event is emmited by the Engine. 
+ Event is emitted by the Engine.

By the way, the following sentence is a bit incorrect

Handlers - These are functions which can be configured so that they are triggered when a certain 
Event is emmited by the Engine. Ignite has a long list of pre defined Handlers such as checkpoint, 
early stopping, logging and built-in metrics.

=> Handlers are any functions and not only the ones under the link. Please fix the wording.

  1. Let's merge neighbouring cells together for better MD rendering.
    For example
In [ ]:
image_size = 64

In [ ]:
data_transform = transforms.Compose(
    [
        transforms.Resize(image_size),
        transforms.CenterCrop(image_size),
        transforms.ToTensor(),
        transforms.Normalize((0.5, 0.5, 0.5), (0.5, 0.5, 0.5)),
    ]
)

In [ ]:
train_dataset = ImageFolder(root="./data", transform=data_transform)

In [ ]:
test_dataset = torch.utils.data.Subset(train_dataset, torch.arange(3000))

=>

In [ ]:
image_size = 64

data_transform = transforms.Compose(
    [
        transforms.Resize(image_size),
        transforms.CenterCrop(image_size),
        transforms.ToTensor(),
        transforms.Normalize((0.5, 0.5, 0.5), (0.5, 0.5, 0.5)),
    ]
)

train_dataset = ImageFolder(root="./data", transform=data_transform)
test_dataset = torch.utils.data.Subset(train_dataset, torch.arange(3000))

Please apply that for all cells that are not separed with any text or output.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.