Ejemplo n.º 1
0
 def test_save_to_data_dir_random(self):
     model = AtariConv_v6([64, 64, 64, 64, 64])
     print(model)
     name = model.save(data_dir='c:\data')
     model = Storeable.load(name, data_dir='c:\data')
     print(model)
     assert model is not None
Ejemplo n.º 2
0
 def test_save(self):
     model = AtariConv_v6()
     import inspect
     print(inspect.getmro(AtariConv_v6))
     model.save('8834739821')
     model = Storeable.load('8834739821')
     assert model is not None
Ejemplo n.º 3
0
 def test_save_to_data_dir(self):
     model = AtariConv_v6()
     model.save('8834739821', 'c:\data')
     model = Storeable.load('8834739821', 'c:\data')
     assert model is not None
Ejemplo n.º 4
0
 def test_params(self):
     filter_stack = [128, 128, 64, 64, 64]
     model = AtariConv_v6(filter_stack)