nyoka-dqn senzira inoenda kuML

Программирование

Inowanikwa mu tensorflow-js izvo zvaunoda pamatanho ekutanga muML uye kutengesa.

Uku ndiko kudzidziswa kwedqn uko mibairo uye zvirango zvinopihwa mumiririri wezviito.

https://github.com/tensorflow/tfjs-examples/tree/master/snake-dqn

https://storage.googleapis.com/tfjs-examples/snake-dqn/index.html

Zvinoratidza kuti tine nyoka inodzidza kubva pane zvayo kufamba. Ane imwe nhamba yekufamba (tendeuka kana kuenderera) uye basa rake nderekusvika kumuchero. Pakutanga, nyoka haizivi sei, asi munguva yekudzidzira, inowana kukwanisa kuwana michero uye dodge. Zvakafanana chaizvo nekutengesa, handizvo here?

Zvakanaka, zvirinani kune basa redu, kana isu tine data inomhanya, uye robhoti inoda kuita sarudzo yekutenga kana kutengesa.

Iyo minus yenyoka ndeyokuti yakanyorerwa node.js, uye tinoda kukwanisa kudzidzisa mubrowser (kuitira kuti chero mushandisi aite). Naizvozvo, zvimwe chetezvo zvaifanira kuitwa pamutengi.

Ndakakweva nyoka sezvairi kupage rangu nechati ndokuedza kuivhura. Yakanga isipo!

Nyoka yakarwa

mapakeji kutanga,

ipapo nharo. (nenzira, ndakaitawo chikumbiro chekudhonza padivi pekugadzirisa https://github.com/tensorflow/tfjs-examples/pull/353),

ipapo %% Kusabatwa Kurambwa (TypeError): Haikwanise kudaidza kirasi sebasa%%. Izvo zviri kugadziriswa pano https://github.com/tensorflow/tfjs/pull/3906/files, asi kubvira Hapasati pave nekusunungurwa, saka ndaifanira kuchitsiva nemaoko angu. Pano, nenzira, vanhu vazhinji vane dambudziko https://github.com/tensorflow/tfjs/issues/3384.

Vadiki vakatoenda mberi, sekutsiva basa kubva fs ne indexeddb. Basa randakasora naro pano. Zvakanaka, kazhinji, ngoro-pole pakutanga yakandikurudzira kuti ndiite zvese pamutengi.

https://github.com/tensorflow/tfjs-examples/tree/master/cart-pole

https://storage.googleapis.com/tfjs-examples/cart-pole/dist/index.html

pakupedzisira, izvi ndizvo zvakaitika:

https://github.com/pskucherov/opexflow/pull/16/files

Zvakanaka, nhanho inotevera ichave:

  1. Yakwana kumachati
  2. Kuona
  3. Dzidzisa robhoti pane inozivikanwa data kuratidza yakanyanya mhedzisiro

Pazasi pane vhidhiyo demo yebasa-kudzidziswa kwemarobhoti pamutengi. Rimwe zuva ivo vachatengesawo Sberbank remangwana pane ini.

pskucherov
Rate author
Add a comment