Giter VIP home page Giter VIP logo

lightning-template's Introduction

Lightning Template

빠르고 간편하게 시작할 수 있는 pytorch lightning 템플릿입니다.

사용 방법

템플릿을 사용하기 위해 python3.11 버전과 poetry 설치가 필요합니다.

torch = {url = "https://download.pytorch.org/whl/cu118/torch-2.0.1%2Bcu118-cp311-cp311-win_amd64.whl"}
torchvision = {url = "https://download.pytorch.org/whl/cu118/torchvision-0.15.2%2Bcu118-cp311-cp311-win_amd64.whl"}

먼저 여기에서 자신에게 맞는 버전의 패키지 링크를 확인하고 pyproject.toml을 수정해 주세요.

poetry install

repository를 clone을 받고 poetry install을 통해 패키지를 설치해 주세요.

또는 requirements.txt를 통해 패키지를 설치해 주세요.

docker 사용 시

docker pull seoyoungdeok/lightning-template
docker run -it --gpus all seoyoungdeok/lightning-template

docker image를 받아서 실행하세요.

사용 예제

poetry run python run.py

poetry run을 통해 실행하거나

poetry shell
python run.py

poetry shell을 활성화하고 run 커맨드 없이 실행하세요.

lightning-template's People

Contributors

seoyoungdeok avatar

Watchers

 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.