Code Monkey home page Code Monkey logo

Comments (4)

stolcke avatar stolcke commented on May 24, 2024

I think only “payload” output (such as rec output) should go to stdout. All other errors, warnings and informational messages should go to stderr.

Andreas

From: Alexey Orlov [mailto:[email protected]]
Sent: Tuesday, January 26, 2016 4:18 AM
To: Microsoft/CNTK [email protected]
Subject: [CNTK] CNTK directs console output to stderr (#25)

Currently CNTK directs all console output to stderr rather than stdout. Was it for a reason?


Reply to this email directly or view it on GitHubhttps://github.com//issues/25.

from cntk.

alexeyo26 avatar alexeyo26 commented on May 24, 2024

Andreas, you said and informational messages. (to stderr). I believe this is exactly what we have now. Moreover, if I invoke, e.g., Simple2d example, nothing goes to stdout. If that's the way we believe it should be, fine. Just wanted to clarify.

from cntk.

frankseide avatar frankseide commented on May 24, 2024

Any actual output data should go to stdout, while messages, informational or errors, should be on stderr. I don’t think we have any data output at present. But I can imagine writing to stdout instead of a file e.g. for integrating with pipe-based tools like Kaldi. Since that may be binary data, we should keep stdout pristine.

From: Alexey Orlov [mailto:[email protected]]
Sent: Wednesday, January 27, 2016 12:52
To: Microsoft/CNTK [email protected]
Subject: Re: [CNTK] CNTK directs console output to stderr (#25)

Andreas, you said and informational messages. (to stderr). I believe this is exactly what we have now. Moreover, if I invoke, e.g., Simple2d example, nothing goes to stdout. If that's the way we believe it should be, fine. Just wanted to clarify.


Reply to this email directly or view it on GitHubhttps://github.com//issues/25#issuecomment-175847549.

from cntk.

alexeyo26 avatar alexeyo26 commented on May 24, 2024

To the best of our knowledge CNTK adheres to the UNIX model:

  • data to stdout
  • messages to stderr

Issue closed

from cntk.

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.