Commit Graph

74 Commits

Author SHA1 Message Date
wls2002
48f90c7eef complete HyperNEAT! 2023-07-21 15:03:12 +08:00
wls2002
80ee5ea2ea small change for elegant code style 2023-07-19 16:38:43 +08:00
wls2002
a684e6584d add gene type RNN 2023-07-19 15:43:49 +08:00
wls2002
0a2a9fd1be complete normal neat algorithm 2023-07-18 23:55:36 +08:00
wls2002
40cf0b6fbe change a lot 2023-07-17 19:59:46 +08:00
wls2002
f4763ebcea change a lot 2023-07-17 17:39:12 +08:00
wls2002
a0a1ef6c58 create state 2023-07-14 17:27:22 +08:00
wls2002
7265e33c43 complete forward ways 2023-07-08 20:52:31 +08:00
WLS2002
6670c4aea1 Merge pull request #1 from WLS2002/full-jit
Strange bug! Add {"new_step_api": True} in gym environments.
2023-07-05 15:40:11 +08:00
wls2002
2cc72bb188 Strange bug! Add {"new_step_api": True} in gym environments. 2023-07-05 15:39:22 +08:00
WLS2002
a4c1e7a58e Update README.md 2023-07-04 16:04:37 +08:00
wls2002
7bf46575f4 Using Evox to deal with RL tasks! With distributed Gym environment!
Three simple tasks in Gym[classical] are tested.
2023-07-04 15:44:08 +08:00
wls2002
c4d34e877b perfect! fix bug about jax auto recompile
add task xor-3d
2023-07-02 22:15:26 +08:00
wls2002
e711146f41 perfect! fix all bugs! 2023-07-01 17:46:01 +08:00
wls2002
eb15ff72fe fix a bug in stagnation 2023-07-01 16:55:45 +08:00
wls2002
2a6e958408 update speciate function 2023-07-01 15:13:08 +08:00
wls2002
f6dcb97df8 modify method cal_spawn_numbers
spawn_number = previous_size + (target_spawn_number - previous_size) * jit_config['spawn_number_move_rate']
2023-07-01 13:36:19 +08:00
wls2002
896082900a add column "members_count" to species_info 2023-06-29 10:39:50 +08:00
wls2002
f5c1ce72f9 add visualize module 2023-06-29 10:20:48 +08:00
wls2002
01b7731231 optimize import 2023-06-29 09:41:49 +08:00
wls2002
d28cef1a87 The whole NEAT algorithm is written into functional programming. 2023-06-29 09:28:49 +08:00
wls2002
114ff2b0cc modifying 2023-06-27 18:47:47 +08:00
wls2002
ba369db0b2 Perfect!
Next is to connect with Evox!
2023-06-25 02:57:45 +08:00
wls2002
0cb2f9473d finish ask part of the algorithm;
use jax.lax.while_loop in graph algorithms and forward function;
fix "enabled not care" bug in forward
2023-06-25 00:26:52 +08:00
wls2002
86820db5a6 modifying 2023-06-21 19:42:15 +08:00
wls2002
35b095ba74 modifying 2023-06-19 17:32:34 +08:00
wls2002
5cbe3c14bb Current Progress: After final design presentation 2023-06-19 15:17:56 +08:00
wls2002
acedd67617 change project structure and using .ini as config file 2023-06-15 11:05:26 +08:00
wls2002
47fb0151f4 Update .gitignore and remove tracked files 2023-06-14 10:35:22 +08:00
wls2002
bd421de9ad Current Progress: After final design presentation 2023-06-14 10:20:55 +08:00
wls2002
2b79f2c903 prepare for experiment 2023-05-14 15:27:17 +08:00
wls2002
72c9d4167a FAST! 2023-05-13 20:58:03 +08:00
wls2002
90a9cc322d initialize commit in jitable branch 2023-05-12 19:35:26 +08:00
wls2002
6006f92f3f finish jit-able speciate function
next time i'll create a new branch
2023-05-12 19:26:02 +08:00
wls2002
9b56f4ff73 做了一些时间测试:
1. jit中的vmap一个函数不会触发重新编译
2. jax.lax.while_lop单独执行确实可以提前中断,但在vmap中的性能需要考虑。
2023-05-12 16:42:57 +08:00
wls2002
5e0130e109 faster, faster and faster! 2023-05-12 01:05:49 +08:00
wls2002
47b1a1dbb2 refactor genome.py use (C, 4) to replace (2, N, N) to represent connections
faster, faster and faster!
2023-05-12 00:57:55 +08:00
wls2002
e5fc1167d9 refactor genome.py use (C, 4) to replace (2, N, N) to represent connections
use "cons" to replace "connections" in code for beauty
2023-05-11 19:49:19 +08:00
wls2002
e2a5117554 initial commit in branch developing 2023-05-11 19:04:56 +08:00
wls2002
acc9eab64a change fitness from list to array
optimize the code of reproduction.
2023-05-11 08:15:06 +08:00
wls2002
299ff1f8f1 change fitness from list to array
optimize the code of reproduction.
2023-05-11 08:14:58 +08:00
wls2002
b271a56827 update to test in servers 2023-05-10 22:33:51 +08:00
wls2002
ce35b01896 add package problems 2023-05-10 19:30:12 +08:00
wls2002
097bbf6631 gpu slice is very slow. fixed this problem 2023-05-10 18:36:22 +08:00
wls2002
3f37d79d06 gpu slice is very slow. fix this problem 2023-05-10 17:48:07 +08:00
wls2002
9dfa904ce5 precompile jax.random.split 2023-05-10 15:20:42 +08:00
wls2002
0fdc856f2d add function to put **all** compilation at the beginning of the execution. 2023-05-09 02:55:47 +08:00
wls2002
1f2327bbd6 clean imports and delete "create_XXX_functions" 2023-05-09 01:58:00 +08:00
wls2002
f63a0c447b create function_factory.py, use to manage functions 2023-05-09 01:49:43 +08:00
wls2002
ee6bb01eff try to accelerate the speed of speciate 2023-05-08 18:41:19 +08:00