{"repo":"kaylode/theseus","free":true,"listed":false,"github":"https://github.com/kaylode/theseus","clone":"git clone https://github.com/kaylode/theseus.git","description":"General template for most Pytorch projects","language":"Python","stars":36,"topics":["template","pytorch","classification","segmentation","computer-vision","natural-language-processing","object-detection","structured-data"],"license":"MIT","category":"machine-learning","readme_excerpt":":sailboat: Ship of Theseus The ship wherein Theseus and the youth of Athens returned from Crete had thirty oars, and was preserved by the Athenians down even to the time of Demetrius Phalereus, for they took away the old planks as they decayed, putting in new and stronger timber in their places, insomuch that this ship became a standing example among the philosophers, for the logical question of things that grow; one side holding that the ship remained the same, and the other contending that it was not the same. — Plutarch, Theseus ------------------------------------------------------- :pencil: Instructions Installation - Create virtual environment: conda create -n myenv python=3.10 - Install Pytorch. Currently support torch==1.13.1 - Inside your project, install this package by git+https://github.com/kaylode/theseus.git@master#egg=theseus[cv,cv.classification,cv.detection,cv.semantic] extra packages can be identified from the pyproject.toml . To adapt for personal project 1. Create your own dataset, dataloader, model, loss function, metric function, ... and register it to the registry so that it can be generated from config at runtime. 2. Customize inherited trainer and pipeline to your need, such as what to do before/after training/validating step,... 3. Write custom callbacks (recommended!), follow Lightning 4. Modify configuration file See for example To execute scripts with arguments - Run the script with --config-dir flag with a specified config folder that contains th","default_branch":null,"files":null,"tree":[],"storefront":"/r/kaylode","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kaylode/theseus/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}