[Python] Tensorflow 2 ๊ฐœ๋ฐœํ™˜๊ฒฝ ์…‹ํŒ… on Windows 11
ยท
Languages/Python
PS C:\Users\aaa> python Python 3.11.0 (main, Oct 24 2022, 18:26:48) [MSC v.1933 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import struct >>> print(struct.calcsize("P")*8) 64 PS C:\Users\aaa> choco install cuda Chocolatey v1.2.1 Installing the following packages: cuda By installing, you accept licenses for the packages. Progress: Downloadin..
[Python] ๋…ผ๋ฆฌํšŒ๋กœ ๊ตฌํ˜„ํ•˜๊ธฐ
ยท
Languages/Python
import numpy as np def commonCompare(tmp): if tmp
[Python] ์•ˆ๋“œ๋กœ์ด๋“œ ๋งˆ์šฐ์Šคํƒญ ์ด๋ฒคํŠธ
ยท
Languages/Python
ppadb์™€ pynput์„ ํ™œ์šฉํ–ˆ์Šต๋‹ˆ๋‹ค. ๋””๋ฐ”์ด์Šค ํ‚ค๊ฐ’์€ adb devices๋ฅผ ํ†ตํ•ด ์–ป์–ด๋‚ผ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. from ppadb.client import Client as AdbClient from pynput.keyboard import Key, Listener import time # Default is "127.0.0.1" and 5037 client = AdbClient(host="127.0.0.1", port=5037) device = client.device("ce0*******642702") # device.shell("logcat", handler=dump_logcat) isNotPressRight = True isNotPressLeft = True isNotPressUp = True isN..