|
615 | 615 | " # do not add comment to same line with a magic command:\n", |
616 | 616 | " %load_ext nb_black #this comment breaks the magic command\n", |
617 | 617 | "\n", |
618 | | - "8. Check that you can run the notebooks `00_data.ipynb`, `01_model.ipynb` and `02_loss.ipynb`.\n", |
| 618 | + "8. Check that you can run the notebooks `00_data.ipynb`, `01_model.ipynb`, `02_loss.ipynb` and `03_workflow.ipynb`.\n", |
619 | 619 | "You may have to change the kernel your notebook interpreter is using to the one you just created.\n", |
620 | 620 | "This can be done drop down bar in top of the notebook editor. You can play around with the notebooks to better understand the structure and the examples.\n", |
621 | 621 | "\n", |
622 | | - "9. Replace the notebooks `index`, `data`, `model`, `loss` and `workflow` with copies without the code examples (there is also additional empty notebook template `_XX_empty_notebook_template.ipynb` if you want to deviate from basic template structure):\n", |
| 622 | + "9. If while getting to know the template examples you ran or edited any of the notebooks, run the following command to clean any unrelevant changes.\n", |
| 623 | + "\n", |
| 624 | + " git reset --hard\n", |
| 625 | + "\n", |
| 626 | + "Please note, that this will reset any changes made to the template. We do this to clean any 'play-around' work you might have done getting to know the template and the examples.\n", |
| 627 | + "\n", |
| 628 | + "10. Replace the notebooks `index`, `data`, `model`, `loss` and `workflow` with copies without the code examples (there is also additional empty notebook template `_XX_empty_notebook_template.ipynb` if you want to deviate from basic template structure):\n", |
623 | 629 | "\n", |
624 | 630 | "\n", |
625 | 631 | " git rm index.ipynb 00_data.ipynb 01_model.ipynb 02_loss.ipynb 03_workflow.ipynb\n", |
|
629 | 635 | " git mv notebook_templates/_02_loss.ipynb ./02_loss.ipynb\n", |
630 | 636 | " git mv notebook_templates/_03_workflow.ipynb ./03_workflow.ipynb\n", |
631 | 637 | "\n", |
632 | | - "10. You may delete the folders `ml_project_template`, `notebook_templates` and `visuals`.\n", |
| 638 | + "11. You may delete the folders `ml_project_template`, `notebook_templates` and `visuals`.\n", |
633 | 639 | "\n", |
634 | 640 | "\n", |
635 | 641 | " git rm -r ml_project_template notebook_templates visuals docs/visuals\n", |
636 | 642 | "\n", |
637 | | - "11. Edit `settings.ini`, `docs/_config.yml` and `docs/_data/topnav.yml` according to your project details.\n", |
| 643 | + "12. Edit `settings.ini`, `docs/_config.yml` and `docs/_data/topnav.yml` according to your project details.\n", |
638 | 644 | "The files contain instructions for minimum required edits.\n", |
639 | 645 | "You can continue editing them in the future, so no need to worry about getting it right the first time.\n", |
640 | 646 | "These are used for building the python modules and docs based on your notebooks.\n", |
641 | 647 | "If you get errors when building a module or docs, take a look again at these files.\n", |
642 | 648 | "\n", |
643 | | - "12. The Helsinki logo is a registered trademark, and may only be used by the city of Helsinki.\n", |
| 649 | + "13. The Helsinki logo is a registered trademark, and may only be used by the city of Helsinki.\n", |
644 | 650 | "If you are using this template for other than city of Helsinki projects, remove the files `favicon.ico` and `company_logo.png` from `docs/assets/images/`.\n", |
645 | 651 | "You may replace these with your own logo. Fast.ai logo will show in documentation if custom logos are not defined.\n", |
646 | 652 | "\n", |
647 | | - "13. Recreate the module and doc pages to clean them: `nbdev_build_lib && nbdev_build_docs`\n", |
| 653 | + "14. Recreate the module and doc pages to clean them: `nbdev_build_lib && nbdev_build_docs`\n", |
648 | 654 | "\n", |
649 | | - "14. Configure your git user name and email adress (one of those added to your git account) if you haven't done it already:\n", |
| 655 | + "15. Configure your git user name and email adress (one of those added to your git account) if you haven't done it already:\n", |
650 | 656 | "\n", |
651 | 657 | "\n", |
652 | 658 | " git config --global user.name \"FIRST_NAME LAST_NAME\"\n", |
653 | 659 | " git config --global user.email \"MY_NAME@example.com\"\n", |
654 | 660 | "\n", |
655 | | - "15. Make initial commit (snapshot of the code as it is when you begin the work):\n", |
| 661 | + "16. Make initial commit (snapshot of the code as it is when you begin the work):\n", |
656 | 662 | "\n", |
657 | 663 | "\n", |
658 | 664 | " git add .\n", |
659 | 665 | " git commit -m \"Initial commit\"\n", |
660 | 666 | "\n", |
661 | | - "16. Push (save changes to remote repository): `git push -u origin master`. You will be asked to log in with your SSH key and password, again.\n" |
| 667 | + "17. Push (save changes to remote repository): `git push -u origin master`. You will be asked to log in with your SSH key and password, again.\n" |
662 | 668 | ] |
663 | 669 | }, |
664 | 670 | { |
|
778 | 784 | ], |
779 | 785 | "metadata": { |
780 | 786 | "kernelspec": { |
781 | | - "display_name": "Python 3.8 (templateenv)", |
| 787 | + "display_name": "Python 3.8 - AzureML", |
782 | 788 | "language": "python", |
783 | | - "name": "templateenv_py3.8.1" |
| 789 | + "name": "python38-azureml" |
784 | 790 | } |
785 | 791 | }, |
786 | 792 | "nbformat": 4, |
|
0 commit comments