เอา AI ไปใช้เล่นเกม เคยเห็นกันไหม
อธิบายไม่ค่อยเก่ง แต่อยากแบ่งปันความรู้
ในคลิปแค่เล่าคราวๆ อยากให้เห็นแนวโน้มเทคโนโลยีด้านนี้
.
ใครสนใจศึกษาเพิ่มเติมในอินเตอร์เนตมีเยอะเลยเรื่องนี้
บทความภาษาไทยก็มี
สำหรับคำค้นหาได้แก่ Reinforcement learning กับ Deep Q-network
..
++++
ในทางเทคนิค
ถ้าใครสนใจโค้ดเกมนี้
จะเอามาเล่นดูก็ได้
ดาวน์โหลดได้ที่นี้ครับ (เป็น python นะ)
https://github.com/yanpanlau/Keras-FlappyBird
.
แต่ทว่าโค้ดจากต้นฉบับ
โมเดลยังไม่ถูกเทรนนะครับ
ต้องเสียเวลาสอนมันอีก
ถ้าใครไม่อยากเสียเวลา
.
ก็ไปเอาไปไฟล์ mdel.h5 ที่ถูกเทรนไว้แหละผมเก็บไว้ให้
https://github.com/…/Deep_Q_Lear…/flappy-bird-model/model.h5
.
แล้วนำไฟล์ mdoel.h5 ที่ได้
ไปทับไฟล์เดิมที่ดาวน์โหลดจากต้นฉบับมา (backup ของเก่าก็ดี)
วางไว้ที่โฟลเดอร์ Keras-FlappyBird\\mdoel.h5
.
แล้วให้แก้ไฟล์ qlearn.py
บรรทัดที่ 130 คอมเมนต์นี้ออกไปหน่อย
#x_t = x_t / 255.0
.
จากนั้นรันคำสั่ง
python qlearn.py -m "Run"
:
เขียนโดย โปรแกรมเมอร์ไทย thai programmer
:
++++
อ้างอิง
โค้ด: https://github.com/yanpanlau/Keras-FlappyBird/
paper: https://arxiv.org/pdf/1312.5602.pdf
youtube: https://youtu.be/TmPfTpjtdgg
:
ติดตามคลิปนี้ได้ที่ youtube อีกที
https://youtu.be/1qry87n95KU
.
.
.
+++++ขั่วโมงขายของ++++
😻 ถ้าใครสนใจเล่ม "AI ไม่ยาก เรียนรู้ด้วยเลขม. ปลาย"
ก็สั่งซื้อ ebook ได้ที่นี้ (ขออภัยยังไม่มีเล่มกระดาษขาย)
ไม่ต้องมีความรู้เรื่องโค้ดดิ้ง ขอให้มีพื้นฐานเลข ม. ปลาย ก็อ่านได้
.
👉 https://www.mebmarket.com/web/index.php…
.
ส่วนตัวอย่างหนังสือ ก็ดูได้ที่
👉 https://www.dropbox.com/s/fg8l38hc0k9b…/chapter_example.pdf…
.
ราคาขาย 295 บาท ฿
แต่ถ้าซื้อผ่านระบบของ Apple จะแพงขึ้น ราคา 329 บาท ฿
วิธีอ่าน อ่านผ่านแอพหรือโปรแกรมเท่านั้น
.
✍ เขียนโดย โปรแกรมเมอร์ไทย thai programmer
Use AI to play games. Have you ever seen it?
I don't explain well but I want to share knowledge
In the clip, I want to see this technology trend in this clip.
.
Who is interested in learning more on the internet? There are plenty of them in this story.
There is also a Thai language article.
For search quotes including Reinforcement learning with Deep Q-network
..
++++
Technically, technically.
If anyone is interested in this game code
I can play this to watch.
You can download here. (It's python)
https://github.com/yanpanlau/Keras-FlappyBird
.
But the code from the original
Model hasn't been trended yet.
Gotta waste my time teaching it again
If anyone doesn't want to waste time
.
Go get it. mdel file. h 5 that is trendy. I keep it for you.
https://github.com/adminho/machine-learning/tree/master/Deep_Q_Learning/flappy-bird-model/model.h5
.
Then bring the mdoel file. h 5 to get it
Go over the original file downloaded from the original (backup the old one is good)
Put it on the Keras-FlappyBird folder. mdoel. h 5
.
Then fix the qlearn file. py
Line 130 comment this way out please
#x_t = x_t / 255.0
.
Then run an order.
python qlearn.py -m "Run"
:
Written by Thai programmer thai coder
:
++++
Quote.
Code: https://github.com/yanpanlau/Keras-FlappyBird/
paper: https://arxiv.org/pdf/1312.5602.pdf
youtube: https://youtu.be/TmPfTpjtdgg
:
Follow this clip on YouTube again.
https://youtu.be/1qry87n95KU
.
.
.
+++++ selling stuff ++++
😻 If anyone is interested in the book ′′ AI, it's not difficult to learn with university number The end ′′
You can order an ebook here. (Sorry, paper book for sale)
Don't need to know about codeing. Let's have a base of university numbers. I can read the end.
.
👉 https://www.mebmarket.com/web/index.php?action=BookDetails&data=YToyOntzOjc6InVzZXJfaWQiO3M6NzoiMTcyNTQ4MyI7czo3OiJib29rX2lkIjtzOjY6IjEwODI0NiI7fQ
.
Personal like a book. You can see it.
👉 https://www.dropbox.com/s/fg8l38hc0k9b0md/chapter_example.pdf?dl=0
.
Selling price 295 baht ฿
But if you buy via Apple system, it will be more expensive. Price is 329 Baht. ฿
How to read through app or program only
.
✍ Written by Thai programmer thai coderTranslated
「python read file in folder」的推薦目錄:
- 關於python read file in folder 在 โปรแกรมเมอร์ไทย Thai programmer Facebook 的精選貼文
- 關於python read file in folder 在 How to open every file in a folder - python - Stack Overflow 的評價
- 關於python read file in folder 在 Read files in a folder and subfolders| glob module python 的評價
- 關於python read file in folder 在 Python: Iterate through all files in a folder - YouTube 的評價
- 關於python read file in folder 在 How To Open Folders With Python - YouTube 的評價
- 關於python read file in folder 在 Reading and Writing Files from Python 的評價
- 關於python read file in folder 在 Python script to generate a text file listing all files from a given ... 的評價
python read file in folder 在 Read files in a folder and subfolders| glob module python 的推薦與評價

This video explains about how to read multiple files from a folder and subfolders using python glob module. In data science projects ... ... <看更多>
python read file in folder 在 Python: Iterate through all files in a folder - YouTube 的推薦與評價

Read all the files in a folder with Pythonhttps://analytics4all.org/2022/06/06/ python - read -all- files-in -a- folder / ... <看更多>
python read file in folder 在 How to open every file in a folder - python - Stack Overflow 的推薦與評價
... <看更多>
相關內容