Giter Club home page Giter Club logo

Comments (5)

maxmarketit avatar maxmarketit commented on May 22, 2024 1

In my opinion, it would be better if seperate logging is made for each model.

Something like,

from torch.utils.tensorboard import SummaryWriter
writer = SummaryWriter(filename)

Different writer for different model. Each model will have its own logging directory and
we can do tensorboard --log-dir root to see and compare all the models.

I think we can have another writer for monitoring loss for all the models...

But as the number of models gets large, it will be soon very crowded.

But you can filter some of the models.

from auto-pytorch.

maxmarketit avatar maxmarketit commented on May 22, 2024 1

@shukon I might not understand the situation here but I do not see any problem
because if the each training of NN starts and ends one summaryWriter, is there really any requirement to pass the writer?

I think we can set the root directory and every model trained can saved to subdirectory with appropriate name which convealing main architecture 'resnet-100-20-30' or 'shapedmlpnet-diamond-...-...' and as the optimization goes, it could change to resnet-100-20-30-i01' '-i02' '-i03' etc

from auto-pytorch.

LMZimmer avatar LMZimmer commented on May 22, 2024

I agree and am currently thinking about other ways of logging (also because tb logs are very memory inefficient). Do you have any suggestions? If you want I could also point you to where the logs are performed and you could write a PR

from auto-pytorch.

shukon avatar shukon commented on May 22, 2024

Mh - I'm not sure whether ditching tensorboard in general makes sense 🤔 I think with pytorch and tensorflow using it, that makes it kind of a standard? I found where the logging is done and I will look into it. Do you know why logging would be memory-inefficient? Running the tensorboard-server surely is, but on the logging-side of it, shouldn't the logs just be written to the file regularly? I'll have a look but for now I'll be installing tensorboard_logger from source in the dev-version, they provide an unconfigure()-call :)

from auto-pytorch.

shukon avatar shukon commented on May 22, 2024

@maxmarketit Yes! Separate writers for separate models / training processes would be a good idea. I'm just not sure where to create and where to pass the writer in this pipeline...

from auto-pytorch.

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.