Commit Graph

37 Commits

Author SHA1 Message Date
573b09a920 Argument説明 2024-03-02 17:36:33 +09:00
9d9524429c 整理无用变量,对环境3.6进行适配 2024-01-24 17:07:45 +09:00
5aa7e0936a 参数Critic_coef修改 2023-11-23 15:29:13 +09:00
3bc5c30fd3 添加对Save_in_next_Trainning的SideChannel支持 2023-10-15 06:05:59 +09:00
2741d6d51a 将Tensor改为tensor
Tensor与tensor的问题,规范化tensor使用。
2023-08-08 20:47:56 +09:00
9432eaa76e 完全分离NN
使用根据Target完全分离的NN进行预测和训练。
修改NN构造,修改预测预测算法以配合Full Multi NN
2023-08-04 05:13:32 +09:00
52ccce88bc 修正预测函数小错误,规范化命名
修正get_actions_value中在非学习模式时仍然使用sample模式而不是取最佳值
规范化命名
2023-08-04 03:50:35 +09:00
15c1edb6c9 对应V3.1.6Play模式
对应V3.1.5的Stay Target进行修改
2023-07-29 23:52:20 +09:00
f9ee51c256 对应V3.1.6 训练模式
主要修改SideChannel以对应V316的训练模式
规则化命名
2023-07-29 22:40:03 +09:00
be1322381e 优化AIMemory运行效率
对应版本2.9
优化以下错误提示:UserWarning: Creating a tensor from a list of numpy.ndarrays is extremely slow. Please consider converting the list to a single numpy.ndarray with numpy.array() before converting to a tensor.
2023-07-29 04:05:02 +09:00
efb5c61f0d 代码整理
分离args,规范化命名
2023-07-24 16:48:47 +09:00
a21fd724af 代码整理
分离ppoagent,AI memory,AI Recorder
优化Aimbot Env
正规化各类命名
Archive不使用的package
2023-07-22 19:26:39 +09:00
177974888a 代码整理,不兼容过去的模型
代码整理,不兼容过去的模型
2023-07-15 20:37:23 +09:00
bee609d160 毕业备份
我也不知道毕业的时候发生了些什么...好像改了side channel相关。
2023-07-14 01:29:43 +09:00
cbcecfa9e9 Change to LeakyRelu
change activation function as leakyrelu,
fix some bugs
graph.py is for Thesis
2023-03-09 18:11:00 +09:00
0e0d98d8b1 Change Param based on a Paper
Change Param based on a Paper, and it work!
2022-12-17 09:59:44 +09:00
3116831ae6 change network and fix trainset bug
change network and fix trainset bug
2022-12-17 09:59:44 +09:00
bf77060456 Change Critic NN as Multi-NN
Change Critic NN as Multi-NN
wrong remain Time Fix

wrong remain Time Fix, what a stupid mistake...
and fix doubled WANDB writer
Deeper TargetNN

deeper target NN and will get target state while receive hidden layer's output.
Change Middle input

let every thing expect raycast input to target network.
Change Activation function to Tanh

Change Activation function to Tanh, and it's works a little bit better than before.
2022-12-17 09:59:44 +09:00
cbc385ca10 Change training dataset storage method
save training dataset by it target type.
while training NN use single target training set to backward NN.
this improve at least 20 times faster than last update!
2022-12-03 07:54:38 +09:00
895cd5c118 Add EndReward Broadcast function
while game over add remaintime/15 to every step's rewards. to improve this round's training weight.
fix get target from states still using onehot decoder bug.
2022-12-03 03:58:19 +09:00
3930bcd953 Add Multi-NN agent
Add Multi neural network in output layer
use different nn while facing to different target.
2022-12-01 19:55:51 +09:00
5631569b31 Side Channel added
add side Channel to save target win ratio. 
Fix some Bug
2022-11-30 06:45:07 +09:00
32d398dbef Change Learning timing
change learning timing to each episode end.
2022-11-16 19:40:57 +09:00
a0895c7449 Add load & save function.
Add load & save function.
Add train flag to test model.
Add new action select function while in test mode.
Add decision period to skip step.
2022-11-08 23:14:34 +09:00
474032d1e8 hybrid dis-con action, save-load, converge wad observed
add discrete and continuous action in same NN model.
model save and load.
reward is increasing, converge was observed.

this two models are seems good:
Aimbot_9331_1667423213_hybrid_train2
Aimbot_9331_1667389873_hybrid
2022-11-03 07:16:18 +09:00
0dbe2013ae weight and bias sync added
weight and bias sync added
2022-11-01 19:11:45 +09:00
7497ffcb0f Parallel Environment Discrete PPO finish
Parallel Environment Discrete PPO finish. Runnable.
2022-10-30 04:13:14 +09:00
742529ccd7 Archive all tensorflow agents and env
archive all TF py&ipynb
turn face to pytorch.
2022-10-26 03:15:37 +09:00
818928a5aa Add Gun State, fix PPO GAIL class bug
Add Gun state
fix PPO GAIL class errors
2022-10-23 23:38:07 +09:00
6ab56880d8 GAIL class fix some bug, now runnable
GAIL class fix , no new function
2022-10-15 01:08:08 +09:00
2a498f18f6 GAIL Class, human action record future added
add GAIL GAILMem GAILConfig Class.
add HumanAction record to save expert data.
add tackState future for stack multiple states to let agent knows what happened before.
2022-10-14 19:05:02 +09:00
ae8a1ba8e2 Update PPO class,add python human control
Python:
Update PPO class
add python human control 
Unity: 
add FP/TP choose button
2022-10-11 06:40:15 +09:00
de066f3a65 Delete near Enemy Detect future. Use different density sensor.
Unity:
No more detect Closest enemy info. Add different density sensor let agent get more state information on the center of view. 
Adjust Start Scene UI manager. Add in game visible rayCast & information that rayCast detect.
Python:
Start use mypy black and flake8 to format Python.
2022-09-30 22:36:47 +09:00
885dbb92e9 Add Enemy Change Button
Add Enemy Change Button. Tidy up Unity Script folder.
2022-09-06 23:01:55 +09:00
0a07b03b7b Fix python can't save score file issue 2022-09-05 21:39:17 +09:00
763d704efd Add Save model weights immediately future
add save button@Unity then send "saveNow" Toggle to Python.
delete useless method "saveModel" and "loadModel". Use Save/load weights instead.
2022-09-05 21:22:34 +09:00
2d404cfdf2 Aimbot Enviroment very first
Basic environment include Multi scene, Reward Change, Visible chart, etc....
2022-09-05 20:46:08 +09:00