Questions tagged [neat]
Neat is an open source semantic grid framework built on top of Sass and Bourbon.
306
questions
-1
votes
0
answers
34
views
Making a Flappy Bird AI using NEAT, fixing a bug
I am trying to make a Flappy Bird AI where I get to see all the birds flying at the same time as the generations go by. I am facing an issue where the birds are either flapping constantly or not ...
0
votes
0
answers
18
views
How to retrieve species Id in NEAT to plot species over generations?
I have done evolution of a population artificial creatures over 1000 generations and saved the checkpoint data.
So, now I would like to retrieve the species number that were produced in each ...
0
votes
0
answers
24
views
My NEAT algorithm crashes while training model
I am trying to build the NEAT agent for gym super mario bros project but it keep crashing after like a minute after I start training model. For NEAT, I have 4 inputs of mario_x, mario_y, object_x, and ...
0
votes
0
answers
18
views
BigCartel Neat - COLLECTIONS/CATEGORIES on home page
I'm using NEAT theme at BigCartel, and want to have COLLECTIONS/CATEGORIES as my home page, not the current FEATURED items. There doesn't seem to be a simple way to do that, the simplest option seems ...
0
votes
0
answers
39
views
Parameter optimization for NEAT-Python
I've been using the NEAT-Python module (found here https://github.com/CodeReclaimers/neat-python) and have been able to get it working nicely for some problems. However when transitioning to a new ...
-1
votes
1
answer
538
views
I am getting an error while installing neat through pip
getting the following error when trying to install neat through pip:
C:\Windows\System32>pip install neat
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
WARNING: ...
1
vote
0
answers
83
views
i cannot download the python package neat
Collecting neat
Using cached neat-0.4.1.tar.gz (88 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'error'
error: subprocess-exited-with-error
...
0
votes
0
answers
77
views
Obtain the generation number in the eval_genome function in neat-python
I am using the neat-python library to tinker around with neural networks. But the specific example I am trying to do requires the following:
def eval_genome(genome, config):
pheno = neat.nn....
0
votes
1
answer
96
views
RuntimeError: 'NEAT' section not found in NEAT configuration file
I'm trying to run a program using neat-python but I'm getting this error constantly. I checked the file it has the neat section and also I tried to uninstall and reinstall neat but nothing works.
P.S ...
0
votes
0
answers
72
views
Pyhon-NEAT sudden changes in number of genomes diverging from configured population size during training
I have implemented an algorithm using python-NEAT to evolve game agents in a Unity game.
The configuration file of python-NEAT is configured to have 72 agents in the population.
If i configure the ...
0
votes
0
answers
32
views
Print the Aggregation/Activation Function used in Mutation?
Upon experimentation with my game and NEAT, I have found that setting aggregation_mutate_rate to 1.0 and changing the num_hidden determines whether my AI is successful or not in learning the game.
If ...
0
votes
0
answers
49
views
NEAT - population number varies every generation
I'm trying to implement my own neat implementation and I can't get myself to understand how speciation works
I tried my best to follow the pesudocode I found in this paper (start of page 13)
but I'm ...
1
vote
0
answers
189
views
Problem training AI in own Python Game (NEAT-Python)
for me its not possible to train an AI with Neat-Python in my own game enviroment :/
I downloaded a FlappyBird example from internet with Neat-Python implementation, there it works.
I created a GIT ...
1
vote
1
answer
50
views
Understand `reporting()` class in N.E.A.T algorithm
i'm making an AI using N.E.A.T algorithm that plays a game, there is a reporting function in this algorithm that shows statistics about every generation, and one of them is about the best genome, i'm ...
1
vote
1
answer
48
views
Why Python program for MultiNEAT causes the undefined symbol error?
I'm trying to execute retina_experiment.py program from Hands-on-Neuroevolution-with-Python book
using conda and MultiNEAT. The working envirnoment (rt_multineat) setup is the following:
conda create -...
1
vote
1
answer
58
views
How do I install MultiNEAT using conda?
I'm trying to install MultiNEAT library with the following command:
conda install -c conda-forge multineat
The process hangs at "Solving environment" step:
conda install -c conda-forge ...
0
votes
0
answers
61
views
Flappy Bird (NEAT) AI outputs Going in the wrong direction
I made flappy using the NEAT AI and the I finally got the game to run with NEAT. The problem is that with the 100 birds I made their either going diagonally up or down and not going through the pipes ...
0
votes
0
answers
110
views
get generation number in NEAT algorithm
I'm developing a game using PyGame and trying to show info on the screen while the AI is learning, one of the info I want to show is the generation number next to the genome number (i got the genome ...
0
votes
0
answers
89
views
NEAT Algorithm on Snake-Game only makes snakes go in circles
I'm trying to implement NEAT algorithm to a snake game i coded. However, it doesn't work, and the snakes just go around non-stop. The last thing i try, was to implement some sort of "danger or ...
0
votes
1
answer
118
views
Neat-python FeedForwordNetwork.activate takes 2 positional arguments but 7 were given even though config file shows 6
When I ran my neat code I got this error in FeedForwardNetwork.activate() :
output = nets[x - 2].activate(player_.red_x, player_.red_y, player_.blue_x, player_.blue_y, player_.catcher,
TypeError: ...
0
votes
1
answer
322
views
Python: How to ensure you have imported the correct configuration file
I am currently debugging a script and i believe the issue is the configuration file not being read (jupyter notebook). I can confirm both the script and the .config file is located in the below ...
0
votes
1
answer
882
views
Neat-Python: AttributeError: module 'neat' has no attribute 'Config'
I'm having problems with neat-python version 0.92 and python version 3.9.5 (64 bit) on visual studio code. I keep getting the error:
AttributeError: module 'neat' has no attribute 'Config'
The error ...
0
votes
1
answer
182
views
NEAT: how does crossover occur for species with only one member
So, I'm trying to implement the NEAT(Neuroevolution of augmenting topologies) algorithm and have stumbled into a problem. How are networks in species with only one member crossed over?
One solution I ...
0
votes
1
answer
621
views
NEAT neural network - Input and Output activation functions
TLTR; Does NEAT algorithm allow it's input/output layers to also evolve activation functions, or only uses identity?
I'm working on a custom NeuralNet, largely inspired by the implementation of NEAT (...
1
vote
0
answers
22
views
UnitySharpNEAT How to deactivate a unit
I'm hoping that someone here is familiar with UnitySharpNEAT as I'm running into a problem I can't seem to find the solution to. I can describe it, but providing code won't really be helpful as it ...
0
votes
1
answer
68
views
How to best write a long list of "or" "and" "not" operators?
I am using Python/Openpyxl to search through strings in an Excel spreadsheet and sum up the numerical values. How do I write/format my script to have multiple OR, NOT, AND operators? (Sorry I ...
0
votes
1
answer
182
views
Complexity of individual in NEAT-Python
When I was programming with NEAT-Python and finishing my experiment I got this message about an individual from the NEAT reporter. What do the numbers after complexity mean?
1
vote
0
answers
105
views
Python NEAT Node and connection numbering
So, I have this piece of code that runs a simulation using NEAT, and it returns the best model that it found, where winner is the object
p=neat.Population(config)
p.add_reporter(neat.StdOutReporter(...
-1
votes
1
answer
468
views
Can someone add and explain NEAT alogrithm to simple game
I can't get the NEAT algo. Need someone to take my simple game made for human and add NEAT to it using NEAT-python library.
Game - neural network must write a number that should be close to the ...
0
votes
1
answer
97
views
NEAT Implementation - code preparation. problem with creating multiple objects
I have created simple game. Now I want to implement NEAT to learn and control my game.
I followed this tutorial however I found problems.
As part of the game preparation,the author on YT modified his ...
-1
votes
1
answer
623
views
error, module neat has no attribute config
The problem is in the config = neat.config.Config(). I have neat installed and I'm using Sublime on Windows. I have looked through some other similar questions and most say to install neat-python, but ...
1
vote
0
answers
156
views
I want to run my function with one specific genome. How can i activate it?
I trained a neural network for playing TicTacToe. Now i want to play against it.
In the training sessions i use this code
output = neat.nn.FeedForwardNetwork.create(genome, config).activate(input)
...
1
vote
1
answer
707
views
Save best genome in a parallel NEAT-Python
What title says. I can't figure out how to pick the genome with best fitness in NEAT-Python and save it to a file, only when one hits the fitness goal in the config.
For the goal winner, I'm using a ...
3
votes
1
answer
567
views
NEAT - What to do with single member species?
I'm working on implementing NEAT from scratch, and have stumbled upon an issue I can't find a concrete answer to. How does the NEAT algorithm respond to species with only a single member in them, ...
1
vote
0
answers
272
views
division by zero when population size is 1 neat-python
Note: I submitted an issue on their GitHub, but looking at their GitHub, but it does not look like anyone will reply based on other issues submitted.
File "C:\Users\hunty\AppData\Local\RLBotGUIX\...
2
votes
1
answer
900
views
NEAT Error - AttributeError: 'tuple' object has no attribute 'connections'
I'm currently trying to create a NEAT algorithm to solve FlappyBird but am coming across an error while running my code (see title). Currently I have set up my run function and my eval_genomes ...
6
votes
1
answer
1k
views
Python NEAT not learning further after a certain point
It seems that my program is trying to learn until a certain point, and then it's satisfied and stops improving and changing at all. With my testing it usually goes to a value of -5 at most, and then ...
1
vote
0
answers
357
views
NEAT multiple activation functions
I was wondering if a NEAT network could have multiple activation functions.
https://neat-python.readthedocs.io/en/latest/activation.html
For example two neurons as an output: one sigmoid and one selu.
...
1
vote
1
answer
293
views
Built a game using Pygame, using NEAT to teach an AI, but pygame all the sudden does not draw anything
I am in the process of building an AI to play a game I created using pygame, I built the simple game and it worked as expected. I started implementing NEAT and finally got my code to not give any ...
1
vote
0
answers
112
views
pyinstaller .exe build stops right after start with no errors
Im new to the world of algorithms. I created my first NEAT AI using python. This was originally for a school project, but the school doesn't let us install any software on the computers. Therefore, I ...
0
votes
1
answer
506
views
Bigcartel neat theme
I am currently working on customising the welcome page for my Bigcartel site.
I am using the Neat theme and would like to remove the grid filter that appears over the slideshow to appear clean.
I was ...
2
votes
1
answer
284
views
In NEAT, how are new nodes numbered if the same connection has been split before?
I'm working with NEAT right now and I have a few questions regarding the numbering of newly created nodes. My first assumption was that whenever a certain connection (identified by innovation number ...
0
votes
2
answers
853
views
TypeError: not supported between instances of 'NoneType' and 'float'
I am doing flappyBird game with neat from Tech with Tim tutorial and I created self.type inside Bird Class which means that bird is controllable by keyboard input or neat class, but I am getting this ...
1
vote
0
answers
557
views
How to solve the ZeroDivisionError: division by zero /neat-python?
Can someone point out to me why I get the division by zero error in the neat-python module when I set the default config file's "pop_size" to 1, the division error is given for the
neat/...
4
votes
1
answer
2k
views
How do i save and retrain a neat-python model?
I train a neat-python model to play snake. I want to save the model after 50 generations, and after that i want to load it and retrain it from there, is it possible? I saw a method where you can ...
0
votes
0
answers
127
views
Recurrences in NEAT/HyperNEAT algorithm and intermediate results
I am currently implementing a HyperNEAT-like algorithm in C language, but I am facing two crucial aspects of the algorithm that I am not able to implement properly. I have been delving into original ...
1
vote
1
answer
422
views
How is the bias node integrated in NEAT?
In NEAT you can add a special bias input node that is always active. Regarding the implementation of such a node there is not much information in the original paper. Now I want to know how the bias ...
3
votes
1
answer
6k
views
Applying saved NEAT-Python Genome to test environment after training
I have used some NEAT algorithms to code my own AI for some easy games like flappy bird. Everything works fine and I know what is going on. The problem is I do not know what to do with the result. The ...
0
votes
0
answers
323
views
Using NEAT can I get a better result for snake game?
I have created snake game in python and am using NEAT to create an Neural network to play the game. I have put a lot of time into playing around with the config file and fitness functions but the ...
0
votes
2
answers
971
views
How to fix an invalid syntax with a set and nodes?
I have an issue with my code. When I try to run it, I have an error: SyntaxError: invalid syntax and it's about this line:
node_names = {-1:'A', -2:'B', 0:'A XOR B'}
What could I fix? I think the ...