MCPcopy Create free account

hub / github.com/TeaPearce/Counter-Strike_Behavioural_Cloning / functions

Functions69 in github.com/TeaPearce/Counter-Strike_Behavioural_Cloning

↓ 63 callersFunctionread_memory
(game, address, type)
meta_utils.py:45
↓ 49 callersFunctiontp_save_model
(model, save_dir, model_name)
config.py:187
↓ 36 callersFunctionReleaseKey
(hexKeyCode)
key_output.py:90
↓ 30 callersFunctionHoldKey
(hexKeyCode)
key_output.py:82
↓ 7 callersFunctiongrab_window
-- Inputs -- hwin this is the HWND id of the cs go window we play in windowed rather than full screen mode e.g. https://do
screen_input.py:10
↓ 4 callersFunctionfn_subselect
(data_list_in, subselect_helper_dict, other_prob = 0.1, IS_ADD_PREV=True)
dm_train_model.py:470
↓ 4 callersFunctionget_highest_num
(file_name_stub, folder_name)
config.py:256
↓ 4 callersFunctionkey_check
()
key_input.py:12
↓ 4 callersFunctiontp_load_model
(save_dir, model_name)
config.py:166
↓ 3 callersFunctionmouse_l_click_check
(previous_status)
key_input.py:35
↓ 3 callersFunctionset_pos
(x, y, Wd, Hd)
key_output.py:69
↓ 3 callersFunctionwait_for_loop_end
(loop_start_time, loop_fps, n_loops=0, is_clear_decals=True)
config.py:272
↓ 2 callersFunctionactions_to_onehot
(keys_pressed, mouse_x, mouse_y, Lclicks, Rclicks)
config.py:115
↓ 2 callersFunctiongetlength
(type)
meta_utils.py:32
↓ 2 callersFunctionrelease_left_click
()
key_output.py:118
↓ 2 callersFunctionrelease_right_click
()
key_output.py:145
↓ 2 callersFunctionupdate_offsets
(raw)
meta_utils.py:22
↓ 1 callersMethod__data_generation
(self, list_IDs_temp)
dm_train_model.py:298
↓ 1 callersFunctionfps_capture_test
()
screen_input.py:108
↓ 1 callersMethodget_player_status
(self, payload)
meta_utils.py:113
↓ 1 callersMethodget_round_phase
(self, payload)
meta_utils.py:107
↓ 1 callersFunctionhold_left_click
()
key_output.py:111
↓ 1 callersFunctionhold_right_click
()
key_output.py:138
↓ 1 callersMethodis_payload_authentic
(self, payload)
meta_utils.py:78
↓ 1 callersFunctionmouse_check
()
key_input.py:30
↓ 1 callersFunctionmouse_log_test
()
key_input.py:57
↓ 1 callersFunctionmouse_preprocess
(mouse_x, mouse_y)
config.py:38
↓ 1 callersFunctionmouse_r_click_check
(previous_status)
key_input.py:46
↓ 1 callersFunctionmp_restartgame
()
dm_run_agent.py:107
↓ 1 callersMethodon_epoch_end
(self)
dm_train_model.py:289
↓ 1 callersFunctiononehot_to_actions
(y_preds)
config.py:62
↓ 1 callersMethodparse_payload
(self, payload)
meta_utils.py:84
↓ 1 callersFunctionpause_game
()
dm_run_agent.py:138
↓ 1 callersFunctionstateful_create
(model, model_name)
tools_create_stateful.py:44
FunctionLclk_acc
(y_true, y_pred)
dm_train_model.py:223
FunctionLclk_acc
(y_true, y_pred)
tools_create_stateful.py:174
FunctionRclk_acc
(y_true, y_pred)
dm_train_model.py:228
FunctionRclk_acc
(y_true, y_pred)
tools_create_stateful.py:179
Method__getitem__
(self, index)
dm_train_model.py:277
Method__init__
(self, server_address, token, RequestHandler)
meta_utils.py:57
Method__init__
(self, list_IDs, batch_size=32, shuffle=True)
dm_train_model.py:267
Method__len__
(self)
dm_train_model.py:273
Functioncrit_mse
(y_true, y_pred)
dm_train_model.py:238
Functioncrit_mse
(y_true, y_pred)
tools_create_stateful.py:189
Functioncustom_loss
(y_true, y_pred)
dm_train_model.py:164
Functioncustom_loss
(y_true, y_pred)
tools_create_stateful.py:125
Methoddo_POST
(self)
meta_utils.py:68
Functionj_acc
(y_true, y_pred)
dm_train_model.py:217
Functionj_acc
(y_true, y_pred)
tools_create_stateful.py:168
Functionleft_click
()
key_output.py:97
Methodlog_message
Prevents requests from printing into the console
meta_utils.py:119
Functionm_x_0
(y_true, y_pred)
dm_train_model.py:250
Functionm_x_0
(y_true, y_pred)
tools_create_stateful.py:200
Functionm_x_acc
(y_true, y_pred)
dm_train_model.py:231
Functionm_x_acc
(y_true, y_pred)
tools_create_stateful.py:182
Functionm_y_0
(y_true, y_pred)
dm_train_model.py:253
Functionm_y_0
(y_true, y_pred)
tools_create_stateful.py:203
Functionm_y_acc
(y_true, y_pred)
dm_train_model.py:234
Functionm_y_acc
(y_true, y_pred)
tools_create_stateful.py:185
Functionno_fire
(y_true, y_pred)
dm_train_model.py:247
Functionno_fire
(y_true, y_pred)
tools_create_stateful.py:197
Functionoth_keys_acc
(y_true, y_pred)
dm_train_model.py:220
Functionoth_keys_acc
(y_true, y_pred)
tools_create_stateful.py:171
Functionreward_fn
(kill, death, shoot)
config.py:57
Functionright_click
()
key_output.py:125
Functionw_1
(y_true, y_pred)
dm_train_model.py:244
Functionw_1
(y_true, y_pred)
tools_create_stateful.py:194
Functionwasd_acc
(y_true, y_pred)
dm_train_model.py:214
Functionwasd_acc
(y_true, y_pred)
tools_create_stateful.py:165