Giter Site home page Giter Site logo

Comments (3)

achaiah avatar achaiah commented on July 20, 2024

@nikcheerla Are you certain? Looking at the code it looks like validation metrics are being computed (around line 620) in module_trainer.py:

             if has_validation_data:
                    val_loss = self.evaluate_loader(val_loader,
                                                    cuda_device=cuda_device)
                    if self._has_metrics:
                        val_loss, val_metric_logs = val_loss
                        epoch_logs.update(val_metric_logs)
                    epoch_logs['val_loss'] = val_loss
                    self.history.batch_metrics['val_loss'] = val_loss
                
                # END OF EPOCH

from torchsample.

nikcheerla avatar nikcheerla commented on July 20, 2024

@achaiah Huh, it does look like its computing validation metrics. When I run the basic MNIST example though (at https://github.com/ncullen93/torchsample/blob/master/examples/mnist_example.py) with the exact same code, I don't see any validation metrics printed ...

from torchsample.

recastrodiaz avatar recastrodiaz commented on July 20, 2024

@ncullen93 I see that you have recently forced merge to master. Is this still an issue? If so, do you want me to update the PR?

Edit: Just checked, validation metrics are printed in master branch. Close issue?

Edit 2: Scratch that, not sure what I was testing before. This bug is still in master. Will send a PR.

from torchsample.

Related Issues (20)

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.