fix: no need for gtk
This commit is contained in:
parent
8fc1b92639
commit
dff72c7cc3
@ -1,12 +1,8 @@
|
|||||||
from es import EvolutionStrategy
|
from es import EvolutionStrategy
|
||||||
import numpy as np
|
import numpy as np
|
||||||
from game import Game, play
|
from game import Game, play
|
||||||
from win import Window, GAME_SPEED
|
|
||||||
import gi
|
|
||||||
from gi.repository import Gtk, GLib, Gdk
|
|
||||||
from os import path
|
from os import path
|
||||||
import os
|
import os
|
||||||
import time
|
|
||||||
import json
|
import json
|
||||||
|
|
||||||
es = EvolutionStrategy(fn=play, noisep=50, sigma=0.1, alpha=0.001, layer_sizes=[[4, 500], [500, 1]], input_size=4)
|
es = EvolutionStrategy(fn=play, noisep=50, sigma=0.1, alpha=0.001, layer_sizes=[[4, 500], [500, 1]], input_size=4)
|
||||||
|
Loading…
Reference in New Issue
Block a user