pytorch-ignite / code-generator

Web Application to generate your training scripts with PyTorch Ignite
https://code-generator.pytorch-ignite.ai/
BSD 3-Clause "New" or "Revised" License
40 stars 23 forks source link

Added Hydra support as an option in ArgParse UI #284

Closed guptaaryan16 closed 1 year ago

guptaaryan16 commented 1 year ago

Hydra support in Code Generator

Fix #102

This PR is a continuation of python fire PR (#279) and is raised as a draft for testing now. To know more about Hydra as a tool, visit https://hydra.cc

Additional context


What is the purpose of this pull request?

netlify[bot] commented 1 year ago

Deploy Preview for code-generator ready!

Name Link
Latest commit 1589e87d69f18912a8b772c9d6a103ab7088ca3e
Latest deploy log https://app.netlify.com/sites/code-generator/deploys/64ddd73c005b06000840a503
Deploy Preview https://deploy-preview-284--code-generator.netlify.app/
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

guptaaryan16 commented 1 year ago

I tried to run vision classification template in colab and it fails:

image

You have to use the command python main.py as mentioned in the README.md for Hydra. If you want to pass a specific config file then it is passed like this python main.py --config-dir='' --config-name=''. Although we may need to change the colab cell output for this to work well in colab