Code Monkey home page Code Monkey logo

pl_crossvalidate's People

Contributors

dependabot[bot] avatar lrnq avatar skaftenicki avatar

Stargazers

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

Watchers

 avatar  avatar

pl_crossvalidate's Issues

Compatibility issue with PyTorch Lightning >= 1.6.0

Hey, I was just thinking about implementing k-fold support and saw this awesome library! Great work! Just wanted to drop you a note that I noticed that it currently doesn't work with PyTorch Lightning >= 1.6.0. It works fine with e.g., 1.5.10 but in 1.6.0 it throws an error when calling trainer.cross_validate():
Screen Shot 2022-05-04 at 11 04 17 AM

It happens in both cases whether you use a datamodule or train_dataloader.

Create_ensemble issues in PL 1.5.10

I noticed that there are also issues with the create_ensemble method complaining that the model argument is missing. I tried it with all possible settings providing a model only, providing checkpoints only, and providing a model and checkpoints. This issue occurs with PyTorch Lightning 1.5.10. I put together a self-contained example notebook here (https://github.com/rasbt/deeplearning-models/blob/master/pytorch-lightning_ipynb/kfold/kfold-light-cnn-mnist.ipynb) that reproduces the error if you uncomment the create_model code at the bottom.

Val dataloader requirement

Hi, thanks a lot for the pl_crossvalidate! I am trying to use but I keep running into some errors. The error I get is TypeError: An invalid dataloader was returned from KFoldDataModule.val_dataloader(). Found None. with trainer.cross_validate(model, train_dataloader=ds_loader).
The reason I go with train_dataloader is because I have a very small dataset and I cannot afford to split into train and val and and also num_folds. Do I need to have a val_dataloader in this case?

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.