Bug fixy
This commit is contained in:
		
							parent
							
								
									d8504cfbdf
								
							
						
					
					
						commit
						256a9af3ed
					
				@ -191,12 +191,13 @@ def humanVsAi(train=True, remember=True):
 | 
				
			|||||||
    run = NeuralRuntime(init)
 | 
					    run = NeuralRuntime(init)
 | 
				
			||||||
    run.game([0,1], 4)
 | 
					    run.game([0,1], 4)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    if remember or train:
 | 
				
			||||||
 | 
					        trainer = Trainer(init)
 | 
				
			||||||
    if remember:
 | 
					    if remember:
 | 
				
			||||||
        trainer.saveToMemoryBank(run.head)
 | 
					        trainer.saveToMemoryBank(run.head)
 | 
				
			||||||
        print('[!] Your cognitive and strategic destinctiveness was added to my own! (Game inserted into memoryBank)')
 | 
					        print('[!] Your cognitive and strategic destinctiveness was added to my own! (Game inserted into memoryBank)')
 | 
				
			||||||
    if train:
 | 
					    if train:
 | 
				
			||||||
        print("[!] Your knowledge will be assimilated!!! Please stand by.... (Updating Neuristic)")
 | 
					        print("[!] Your knowledge will be assimilated!!! Please stand by.... (Updating Neuristic)")
 | 
				
			||||||
        trainer = Trainer(init)
 | 
					 | 
				
			||||||
        trainer.trainFromTerm(run.head)
 | 
					        trainer.trainFromTerm(run.head)
 | 
				
			||||||
    print('[!] I have become smart! Destroyer of human Ultimate-TicTacToe players! (Neuristic update completed)')
 | 
					    print('[!] I have become smart! Destroyer of human Ultimate-TicTacToe players! (Neuristic update completed)')
 | 
				
			||||||
    print('[!] This marks the beginning of the end of humankind!')
 | 
					    print('[!] This marks the beginning of the end of humankind!')
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user