{"action":"created","issue":{"url":"https://api.github.com/repos/lightvector/leela-analysis/issues/12","repository_url":"https://api.github.com/repos/lightvector/leela-analysis","labels_url":"https://api.github.com/repos/lightvector/leela-analysis/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/lightvector/leela-analysis/issues/12/comments","events_url":"https://api.github.com/repos/lightvector/leela-analysis/issues/12/events","html_url":"https://github.com/lightvector/leela-analysis/issues/12","id":302612951,"number":12,"title":"Creates Empty SGF and then analyzes :-)","user":{"login":"laefsky","id":30273204,"avatar_url":"https://avatars2.githubusercontent.com/u/30273204?v=4","gravatar_id":"","url":"https://api.github.com/users/laefsky","html_url":"https://github.com/laefsky","followers_url":"https://api.github.com/users/laefsky/followers","following_url":"https://api.github.com/users/laefsky/following{/other_user}","gists_url":"https://api.github.com/users/laefsky/gists{/gist_id}","starred_url":"https://api.github.com/users/laefsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laefsky/subscriptions","organizations_url":"https://api.github.com/users/laefsky/orgs","repos_url":"https://api.github.com/users/laefsky/repos","events_url":"https://api.github.com/users/laefsky/events{/privacy}","received_events_url":"https://api.github.com/users/laefsky/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-03-06T08:53:48Z","updated_at":"2018-03-07T05:00:38Z","closed_at":null,"author_association":"NONE","body":"Thank you for what I know was a lot of work and which I hope will improve my go playing and analysis\r\nI know some python, the python installed as a system default is Anaconda 3.6 so I am using a winpython 2.7\r\nto run the program mybat.bat is my running script.  When I run the program seems to write a zero length\r\nsgf file and then proceed to do its analysis.  Can you offer any advice.  Is there an email address or phone number where I can contact you directly. My email is laefsky AT comcast DOT net\r\n\r\nWindows Bat File Follows\r\n\r\n.\\python.exe E:\\leela-analysis-master\\sgfanalyze.py -v3 E:\\downloads\\testa.sgf --leela E:\\Leela0110GTP\\Leela0110GTP_OpenCL.exe > test2.sgf\r\n my email is : laefsky AT comcast DOT net\r\n"},"comment":{"url":"https://api.github.com/repos/lightvector/leela-analysis/issues/comments/371023328","html_url":"https://github.com/lightvector/leela-analysis/issues/12#issuecomment-371023328","issue_url":"https://api.github.com/repos/lightvector/leela-analysis/issues/12","id":371023328,"user":{"login":"laefsky","id":30273204,"avatar_url":"https://avatars2.githubusercontent.com/u/30273204?v=4","gravatar_id":"","url":"https://api.github.com/users/laefsky","html_url":"https://github.com/laefsky","followers_url":"https://api.github.com/users/laefsky/followers","following_url":"https://api.github.com/users/laefsky/following{/other_user}","gists_url":"https://api.github.com/users/laefsky/gists{/gist_id}","starred_url":"https://api.github.com/users/laefsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laefsky/subscriptions","organizations_url":"https://api.github.com/users/laefsky/orgs","repos_url":"https://api.github.com/users/laefsky/repos","events_url":"https://api.github.com/users/laefsky/events{/privacy}","received_events_url":"https://api.github.com/users/laefsky/received_events","type":"User","site_admin":false},"created_at":"2018-03-07T05:00:38Z","updated_at":"2018-03-07T05:00:38Z","author_association":"NONE","body":"--I wasn't getting (in Windows 10) any sgf-like text at the end of python2 window. I decided to try installing in my Ubuntu 16.04 Partition and immediately got the help file for leala-analyze and it looks like so far I am getting proper redirection although the final sgf hasnt yet been created with my linux instantiation. I suspect one or both was going wrong with my windows 10 example: 1. the bat file was not appropriately directing inputs and outputs and file names. 2. the fact that I needed a sub-process to fire off python 2.7 and the \"pipes\" were not connected properly. I would be interested in consulting with someone who is both familiar with go leela and leela-analyze as well as the command shell at batch language in windows. Please keep all of the previous items in the thread available for anyone who wishes to try leela-analyze with windows.\n\n--Thank you\nIra\n\n\n> On March 6, 2018 at 7:56 PM Ira Laefsky <laefsky@comcast.net> wrote:\n> \n> \n>     Thank You I Will Try Your Suggestions and Get Back To You\n> \n>     --Ira\n> \n>      \n> \n>     From: lightvector [mailto:notifications@github.com]\n>     Sent: Tuesday, March 6, 2018 11:44 AM\n>     To: lightvector/leela-analysis <leela-analysis@noreply.github.com>\n>     Cc: laefsky <laefsky@comcast.net>; Author <author@noreply.github.com>\n>     Subject: Re: [lightvector/leela-analysis] Creates Empty SGF and then analyzes :-) (#12)\n> \n>      \n> \n>     Try running it without redirecting to any file at all. You should see some\n>     text at the very end that looks like the contents of an SGF file. That's\n>     the analyzed SGF produced by the script. (If you open an existing sgf file\n>     you have in a text editor you can see what sgf format looks like). Or if\n>     not, then presumably you should see some error it produced for why the\n>     analysis crashed.\n> \n>     In the case where you do see the SGF-like output at the very end, it's your\n>     job to get that into an actual SGF file, whether by manually copying and\n>     pasting or figuring out how output redirecting works on Windows. I don't\n>     know how output redirecting actually works on Windows so if the analysis\n>     script is behaving as it should and the only problem is getting the output\n>     to go to the right place, I can't really help you there. If the script\n>     itself is failing and crashing, then I can help if you paste the error\n>     backtrace here.\n> \n>     Also, while debugging, try running with --help to see the arguments and\n>     provide the arguments to make it only run on a limited move range of your\n>     SGF and/or make it spend less time per move, so you can test faster.\n> \n>     On Tue, Mar 6, 2018 at 10:12 AM, laefsky <notifications@github.com mailto:notifications@github.com > wrote:\n> \n>     > Hi:\n>     >\n>     >\n>     >\n>     > The python window and process has halted but the sgf file is still of zero\n>     > length. What can I try now or how can I get further diagnostics?\n>     >\n>     >\n>     >\n>     > Thank you\n>     >\n>     > --Ira\n>     >\n>     >\n>     >\n>     > From: Ira Laefsky [mailto:laefsky@comcast.net]\n>     > Sent: Tuesday, March 6, 2018 9:37 AM\n>     > To: 'lightvector/leela-analysis' <reply@reply.github.com mailto:reply@reply.github.com >;\n>     > 'lightvector/leela-analysis' <leela-analysis@noreply.github.com mailto:leela-analysis@noreply.github.com >; 'Ira\n>     > Laefsky' <laefsky@comcast.net mailto:laefsky@comcast.net >\n>     > Cc: 'Author' <author@noreply.github.com mailto:author@noreply.github.com >\n>     > Subject: RE: [lightvector/leela-analysis] Creates Empty SGF and then\n>     > analyzes :-) (#12)\n>     >\n>     >\n>     >\n>     > Hi & Thanks: On the verbose output -v3 the number of visited positions has\n>     > three values which appear to go up and down (that is the number of visited\n>     > positions for listing 1, 2, 3 do not increase monotonically and I am running\n>     >\n>     > For over one hour on a fairly simple ~220 odd move game on fairly robust\n>     > hardware that I use for running Keras and Tensorflow an i7 5820K CPU at 3.3\n>     > Ghz and a Nvidia GTX 1080 GPU? Should I let it continue to run?\n>     >\n>     >\n>     >\n>     > Thanks\n>     >\n>     > --Ira\n>     >\n>     > From: lightvector [mailto:notifications@github.com]\n>     > Sent: Tuesday, March 6, 2018 9:19 AM\n>     > To: lightvector/leela-analysis <leela-analysis@noreply.github.com mailto:leela-analysis@noreply.github.com >\n>     > Cc: laefsky <laefsky@comcast.net mailto:laefsky@comcast.net >; Author <author@noreply.github.com mailto:author@noreply.github.com >\n>     > Subject: Re: [lightvector/leela-analysis] Creates Empty SGF and then\n>     > analyzes :-) (#12)\n>     >\n>     >\n>     >\n>     > It only happens when the program halts.\n>     >\n>     > On Tue, Mar 6, 2018 at 9:11 AM, laefsky <notifications@github.com <mailto:\n>      mailto:notifications@github.com%20%3cmailto:%0b\n>     > notifications@github.com mailto:notifications@github.com > > wrote:\n>     >\n>     > > Hi:\n>     > >\n>     > >\n>     > >\n>     > > But the file is not gradually increasing in size; or does that only\n>     > happen\n>     > > when the program halts?\n>     > >\n>     > >\n>     > >\n>     > > Thank you\n>     > >\n>     > > --Ira\n>     > >\n>     > >\n>     > >\n>     > > From: lightvector [mailto:notifications@github.com]\n>     > > Sent: Tuesday, March 6, 2018 9:03 AM\n>     > > To: lightvector/leela-analysis <leela-analysis@noreply.github.com\n>      mailto:leela-analysis@noreply.github.com%0b\n>     > <mailto:leela-analysis@noreply.github.com> >\n>     > > Cc: laefsky <laefsky@comcast.net <mailto:laefsky@comcast.net mailto:laefsky@comcast.net%20%3cmailto:laefsky@comcast.net > >; Author\n>     > <author@noreply.github.com <mailto:author@noreply.github.com mailto:author@noreply.github.com%20%3cmailto:author@noreply.github.com > >\n>     > > Subject: Re: [lightvector/leela-analysis] Creates Empty SGF and then\n>     > > analyzes :-) (#12)\n>     > >\n>     > >\n>     > >\n>     > > Yes, it's supposed to create an empty file immediately, this has nothing\n>     > > to do with any of my code, that's what \">\" does, it creates a file and\n>     > then\n>     > > over time as the program outputs, it puts that output in the file.\n>     > >\n>     > > Sounds like you should just wait for the analysis to finish? It will\n>     > > output all the sgf analysis when the whole program is done running, which\n>     > > then should get redirected to your file.\n>     > >\n>     > > —\n>     > > You are receiving this because you authored the thread.\n>     > > Reply to this email directly, view it on GitHub <https://github.com/ <\n>      https://github.com/%20%3c%0b\n>     > https://github.com/%0b>\n>     > > lightvector/leela-analysis/issues/12#issuecomment-370790658> , or mute\n>     > > the thread <https://github.com/notifications/unsubscribe-auth/ <\n>      https://github.com/notifications/unsubscribe-auth/%20%3c%0b\n>     > https://github.com/notifications/unsubscribe-auth/%0b>\n>     > > Ac3utOomEjjkf5ZdwfQsLFgT4Ui7-NTeks5tbpcIgaJpZM4SeUjL> . <\n>     > > https://github.com/notifications/beacon/Ac3utDEgr1wM1WwL2V7tg817hNCcET\n>     > > qNks5tbpcIgaJpZM4SeUjL.gif>\n>     > >\n>     > > —\n>     > > You are receiving this because you commented.\n>     > > Reply to this email directly, view it on GitHub\n>     > > <https://github.com/lightvector/leela-analysis/issues/12#issuecomment-\n>      https://github.com/lightvector/leela-analysis/issues/12#issuecomment-\n>     > 370793273>,\n>     > > or mute the thread\n>     > > <https://github.com/notifications/unsubscribe-auth/ALY5-\n>      https://github.com/notifications/unsubscribe-auth/ALY5-%0b\n>     > 5DbNVAA09zrykyhZXxMT4YLSyxOks5tbpkegaJpZM4SeUjL>\n>     > > .\n>     > >\n>     >\n>     > —\n>     > You are receiving this because you authored the thread.\n>     > Reply to this email directly, view it on GitHub <https://github.com/\n>      https://github.com/%0b\n>     > lightvector/leela-analysis/issues/12#issuecomment-370795429> , or mute\n>     > the thread <https://github.com/notifications/unsubscribe-auth/\n>      https://github.com/notifications/unsubscribe-auth/%0b\n>     > Ac3utO3o8oVQAde7kHlZCVdABzWlbeH9ks5tbprIgaJpZM4SeUjL> .\n>     >\n>     > —\n>     > You are receiving this because you commented.\n>     > Reply to this email directly, view it on GitHub\n>     > <https://github.com/lightvector/leela-analysis/issues/12#issuecomment-370813075>,\n>     > or mute the thread\n>     > <https://github.com/notifications/unsubscribe-auth/ALY5-0tDGmzvqz9KxMLRtYlDqaiyMeMMks5tbqdOgaJpZM4SeUjL>\n>     > .\n>     >\n> \n> \n>     —\n>     You are receiving this because you authored the thread.\n>     Reply to this email directly, view it on GitHub https://github.com/lightvector/leela-analysis/issues/12#issuecomment-370845917 , or mute the thread https://github.com/notifications/unsubscribe-auth/Ac3utODTddtOIHl0jd418QH9RlIX5Db3ks5tbrzWgaJpZM4SeUjL .\n> \n \n"}}
{"actor":{"display_login":"laefsky"}}