aki65 / aki65.github.io

69 stars 12 forks source link

Please help me. Thank you #85

Closed Fly143 closed 1 year ago

Fly143 commented 1 year ago

When I tried to use lizzieyzy on the computer using adb to connect to the phone and run katago on the phone so that it shows up above lizzieyzy. I succeeded, but only half. It worked and showed up, but it was very slow and not as fast as in the badukai app. How can I solve this problem, make it faster. Please help me, thank you.

Fly143 commented 1 year ago

The run command I use is: adb/adb.exe shell "cd /data/app/djzeideDs0K5dEs2axeV6g==/net.kir.baduk_ai-A8nxhaLX53PYAXdjuHI-AQ==/lib/arm64 && export LD_LIBRARY_PATH=./:$LD_LIBRARY_PATH && ./libkatago.so gtp -model /data/app/djzeideDs0K5dEs2axeV6g==/net.kir.baduk_ai-A8nxhaLX53PYAXdjuHI-AQ==/lib/arm64/b18c384nbt-20230419-optimistic. bin.gz -config /data/app/~~djzeideDs0K5dEs2axeV6g==/net.kir.baduk_ai-A8nxhaLX53PYAXdjuHI-AQ==/lib/arm64/default_gtp.cfg"

Fly143 commented 1 year ago

Since my computer is not good at running katago, not as good as badukai, I want to run katago on my phone and output the results on my computer

aki65 commented 1 year ago

I'm sorry, I can't help you with the adb problem.

But perhaps you could try a different approach: Nowadays most phones offer the possibility to display an app on the computer screen and control it by keyboard and mouse (it's called desktop mode or similar depending on manufacturer). That way katago would run within BadukAI, so it should have the usual speed ...

Fly143 commented 1 year ago

Thank you for your reply. After further research, I have finally run it completely successfully. It is necessary to set the &&Export LD LIBRARY PATH=./:$ LD LIBRARY PATH&& Change to &&Export LD LIBRARY PATH=./:/ System/vendor/lib64: $LD LIBRARY PATH&&

Complete run command: adb/adb.exe shell "cd /data/app/~~djzeideDs0K5dEs2axeV6g==/net.kir.baduk_ai-A8nxhaLX53PYAXdjuHI-AQ==/lib/arm64 && export LD_LIBRARY_PATH=./:/system/vendor/lib64:$LD_LIBRARY_PATH && ./libkatago.so gtp -model /storage/emulated/0/Download/b18c384nbt-20230419-optimistic.bin.gz -config /storage/emulated/0/Download/Kata-GTP.cfg"

QQ截图20230601235424 QQ截图20230601235435 QQ截图20230601235525