Open learnerfelix opened 1 year ago
and i'm using classic tourment
Will look into this further, but at first glance it appears that your population may be too small. Can you provide further details about your current configuration?
Well, i've deleted the [0] and k=... in the 207 lines: population = self.rand.permutation(self.circuits) and it works with not error traceback, the figue is no good as the sample but generated full time. i might try a bigger population.Thank you !
File "/home/felix/Desktop/BitstreamEvolution/BitstreamEvolution-main/src/evolve.py", line 28, in
File "/home/felix/Desktop/BitstreamEvolution/BitstreamEvolution-main/src/CircuitPopulation.py", line 188, in evolve
File "/home/felix/Desktop/BitstreamEvolution/BitstreamEvolution-main/src/CircuitPopulation.py", line 212, in __run_classic_tournament
File "/home/felix/Desktop/BitstreamEvolution/BitstreamEvolution-main/src/CircuitPopulation.py", line 376, in __group
TypeError: 'Circuit' object is not iterable