Coder Social home page Coder Social logo

ohyeon5 / cookiecutter-pytorch-pl-tb Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pytest-dev/cookiecutter-pytest-plugin

0.0 0.0 0.0 212 KB

A Cookiecutter template for pytorch-pylight-tensorboard ๐Ÿ’ป

License: MIT License

Python 62.83% Makefile 20.20% Batchfile 16.98%

cookiecutter-pytorch-pl-tb's Introduction

cookiecutter-pytorch-pl-tb

Documentation Status

Minimal Cookiecutter template for the projects using pytorch, pytorch-lightning, and tensorboard. This cookiecutter is developed by forking pytest-dev /cookiecutter-pytest-plugin as a boilerplate.

This template requires Cookiecutter 1.4.0 "Shortbread" or higher

Getting Started

Install Cookiecutter and generate a new pytest plugin project:

$ pip install cookiecutter
$ cookiecutter https://github.com/Ohyeon5/cookiecutter-pytorch-pl-tb

Cookiecutter prompts you for information regarding your plugin:

full_name [Ohhyeon Choung]: your_first_name your_last_name
email [[email protected]]: [email protected]
github_username [Ohyeon5]: your_username
plugin_name [foobar]: awesome
module_name [awesome]: awesome
short_description [A simple plugin to use with pytest]:
version [0.1.0]:
pytest_version [2.9.1]:
Select docs_tool:
1 - mkdocs
2 - sphinx
3 - none
Choose from 1, 2, 3 [1]: 1
Select license:
1 - MIT
2 - BSD-3
3 - GNU GPL v3.0
Choose from 1, 2, 3 [1]: 2
INFO:post_gen_project:Moving files for mkdocs.

There you go - you just created a minimal pytest plugin:

pytest-awesome/
โ”œโ”€โ”€ LICENSE
โ”œโ”€โ”€ README.rst
โ”œโ”€โ”€ docs
โ”‚ย ย  โ””โ”€โ”€ index.md
โ”œโ”€โ”€ mkdocs.yml
โ”œโ”€โ”€ pytest_awesome.py
โ”œโ”€โ”€ setup.py
โ”œโ”€โ”€ tests
โ”‚ย ย  โ”œโ”€โ”€ conftest.py
โ”‚ย ย  โ””โ”€โ”€ test_awesome.py
โ””โ”€โ”€ tox.ini

Features

  • Installable PyPI package featuring a setup.py.
  • Boiler plates for pytorch, pytorch-lightning, and tensorboard based deep learning project
  • Test suite running tox and pytest that makes sure your plugin is working as expected
  • Working example code for a fixture, a cli option, as well as a pytest.ini option
  • Comprehensive README.rst file that contains useful information about your plugin
  • Continuous integration configuration for AppVeyor
  • Optional documentation with either Sphinx or MkDocs
  • Choose from several licenses, such as MIT, BSD-3, Apache v2.0, GNU GPL v3.0, or MPL v2.0

Resources

Please consult the pytest docs for more information on hooks at pytest hook reference.

Contribute

We welcome you to contribute to this project. Please visit the documentation to get started!

Issues

If you encounter any problems, please file an issue along with a detailed description.

Code of Conduct

Everyone interacting in the Cookiecutter pytest Plugin project's codebases, issue trackers, chat rooms, and mailing lists is expected to follow the PyPA Code of Conduct.

License

Distributed under the terms of the MIT license, Cookiecutter pytest Plugin is free and open source software.

OSI certified

cookiecutter-pytorch-pl-tb's People

Contributors

abusalimov avatar asottile avatar cclauss avatar gitter-badger avatar hackebrot avatar hugovk avatar ktosiek avatar luzfcb avatar m0dm avatar matrixise avatar nicoddemus avatar obestwalter avatar omarkohl avatar pelme avatar rciorba avatar ronnie-llamado avatar s0undt3ch avatar stranger6667 avatar the-compiler avatar yashtodi94 avatar yukihiko-shinoda avatar

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.