Giter Club home page Giter Club logo

lightning-template's Introduction

Hi there ๐Ÿ‘‹

  • ๐Ÿง‘๐Ÿปโ€๐ŸŽ“ PhD candidate at UCAS
  • ๐Ÿ”ญ Currently interested in LLM for Data Science (Entity Resolution and Data Analytics)
  • ๐Ÿ›  macOS & Emacs & ZSH & Rime
  • ๐Ÿ”‘ GPG Public Key

GitHub Stats

Tianshu's GitHub stats

lightning-template's People

Contributors

tshu-w avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

sanyamlakhanpal

lightning-template's Issues

__resolve_ckpt_dir does not work with ddp

Hi @tshu-w ,

at first, thank you very much for providing and maintaining this repo!

I just noticed, that the __resolve_ckpt_dir function brakes when used in conjunction with ddp.

I am on c65989f and created the environment with:

mamba env create -n lt -f environment.yaml and just tried:

./run fit -c ./configs/mnist.yaml -c ./configs/presets/ddp.yaml -c ./configs/presets/debugger.yaml

Error message

...
  File "/home/jwkuenzel/miniconda3/envs/lt/lib/python3.10/site-packages/lightning/pytorch/trainer/call.py", line 190, in _call_callback_hooks
    fn(trainer, trainer.lightning_module, *args, **kwargs)
  File "/home/jwkuenzel/miniconda3/envs/lt/lib/python3.10/site-packages/lightning/pytorch/callbacks/model_checkpoint.py", line 257, in setup
    dirpath = self.__resolve_ckpt_dir(trainer)
  File "/home/jwkuenzel/projects/lightning-template/src/utils/loggers.py", line 33, in __resolve_ckpt_dir
    ckpt_path = os.path.join(trainer.log_dir, "checkpoints")
  File "/home/jwkuenzel/miniconda3/envs/lt/lib/python3.10/posixpath.py", line 76, in join
    a = os.fspath(a)
    a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType
TypeError: expected str, bytes or os.PathLike object, not NoneType
    a = os.fspath(a)
    a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType
TypeError: expected str, bytes or os.PathLike object, not NoneType

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.