Closed holyPancakes closed 6 months ago
OHHH I get it now. The NEAT inputs should always be 4 since it's supposed to be the inputs for the CPPN.
Thank you very much for trying out our library! I'm sorry for not getting back to you promptly. I'll make sure to check the project's issues more frequently in the future, so please feel free to continue raising any issues you encounter.
I'm trying to create an implementation of Brax HyperNEAT and I'm using the reacher environment as a trial experiment (FullSubstrate, 12 input (1bias), 12 hidden, 2 output). There's an error with the number of inputs that is being checked in HyperNEAT class initialization
Did I understand the implementation correctly that substrate.query_coors is the list of all connections from input to hidden, hidden to hidden, and hidden to output all combined?
The substrate.query_coors looks like this
And
substrate.query_coors.shape[1]
is always 4 since it represents[[x1,y1,x2,y2]...[xn,yn,xm,ym]]
even ifneat.num_inputs
is 12 since reacher environment has 11 inputs + 1 biasI checked the implementation in
xor3d_hyperneat.py
and thesubstrate.query_coors.shape[1]
is coincidentally 4 since XOR has 3 inputs + 1 bias.If I try to bypass the assert and comment it out, I get this error:
Anyone having the same issue?