GithubHelp home page GithubHelp logo

Comments (11)

lightvector avatar lightvector commented on July 17, 2024

Does the ">" operation work differently in windows? The idea is supposed to be that you redirect the output of the program to a file, because the output to stdout is the SGF contents. So that's not working if it creates the file and then still outputs the SGF to console.

Or maybe you didn't wait long enough for the analysis to finish? If what you're seeing on the console is information about the progress of the analysis, then of course the SGF file will be empty for a while, it hasn't finished analyzing it yet to output anything. You need to just wait until it's done and when it's done the SGF will be nonempty.

from leela-analysis.

laefsky avatar laefsky commented on July 17, 2024

Thank You for the rapid reply. As far as I know > redirects STDOUT to a file and >> redirects STDOUT and appends. Some differences are that I need to run python on the file from an executable as the system Python is Anaconda 3.6. Is it supposed to create a null foo.sgf immediately and then append the results of the analysis? Are there flags to place
The intermediate analysis files in a given directory? Is the fact that I’m running python from a command shell and only then redirecting output mean that I am not capturing the results of the python program output.
How long should the analysis run with a multicore i7 and GTX 1080 GPU? I am creating the analysis intermediate files and watching program output with -v3 in a python shell window but I don’t know whether I am effectively redirecting output from the python subprocess?

Many thanks for your excellent program and for your anticipated help.

--Ira Laefsky

from leela-analysis.

lightvector avatar lightvector commented on July 17, 2024

Yes, it's supposed to create an empty file immediately, this has nothing to do with any of my code, that's what ">" does, it creates a file and then over time as the program outputs, it puts that output in the file.

Sounds like you should just wait for the analysis to finish? It will output all the sgf analysis when the whole program is done running, which then should get redirected to your file.

Edit: It will show a (very approximate) time estimate, if you watch it. Normally it should take at least some hours, more if you told it to use more time per move.

from leela-analysis.

laefsky avatar laefsky commented on July 17, 2024

from leela-analysis.

lightvector avatar lightvector commented on July 17, 2024

from leela-analysis.

laefsky avatar laefsky commented on July 17, 2024

from leela-analysis.

laefsky avatar laefsky commented on July 17, 2024

from leela-analysis.

lightvector avatar lightvector commented on July 17, 2024

from leela-analysis.

laefsky avatar laefsky commented on July 17, 2024

from leela-analysis.

laefsky avatar laefsky commented on July 17, 2024

from leela-analysis.

laefsky avatar laefsky commented on July 17, 2024

from leela-analysis.

Related Issues (10)

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.