deep-learning-project-template icon indicating copy to clipboard operation
deep-learning-project-template copied to clipboard

cookiecutter

Open dvolgyes opened this issue 5 years ago • 3 comments

As it was mentioned in another ticket, maybe it is time to modernize the example a bit. If/when this happens, it would be nice to consider 'cookiecutter' as a template engine, so the instructions, like 'delete this', 'make a directory', etc., could be automated nicely. E.g. similar to this template: https://github.com/jeannefukumaru/cookiecutter-ml

dvolgyes avatar Mar 22 '20 13:03 dvolgyes

@dvolgyes looks nice, mind send a PR?

Borda avatar Aug 28 '20 13:08 Borda

Hi,
Any update on this?

vv111y avatar Mar 17 '21 15:03 vv111y

Hi @Borda . If you are interested in this feature, I could prepare an MR. I have done this for templates in the past so it wouldn't be too difficult.

I would also suggest to test the cookiecutter templating (including CI) and the only reliable way I know of, is to actually run it and commit the resulting project to a dedicated repo to let the CI run on the result of the template. I used this mechanism for my own template (for python libraries), where commits to https://github.com/appliedAI-Initiative/pymetrius lead to code being comitted to https://github.com/appliedAI-Initiative/pymetrius_output. Setting this up requires setting new CI variables in this project and having something like https://github.com/PyTorchLightning/deep-learning-project-template_output.

What do you think?

MischaPanch avatar May 20 '22 10:05 MischaPanch