Comments (11)
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.
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.
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.
from leela-analysis.
from leela-analysis.
from leela-analysis.
from leela-analysis.
from leela-analysis.
from leela-analysis.
from leela-analysis.
from leela-analysis.
Related Issues (10)
- Quick win: horizon effect HOT 2
- Nice to have: options ordered from best to worst HOT 1
- could you add support of leelazero HOT 1
- max rollout depth exceeded! import copy rasied it ? HOT 3
- Best wishes! HOT 1
- 9x9 sgf HOT 1
- One win rate inversion too many in graph_winrates() HOT 1
- Suggestion: Nicer, more informative graph HOT 5
- Existing comment concatenation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from leela-analysis.