<jupyter_start><jupyter_text>开始训练<jupyter_code>from game_player.run import Agent
target = 'Genichiro_Ashina' # 苇名弦一郎
# target = 'Inner_Genichiro' # 心中的弦一郎
# target = 'True Monk' # 宫内破戒僧
# target = 'Isshin,_the_Sword_Saint' # 剑圣一心
# target = 'Inner_Isshin' # 心中的一心
agent = Agent(
    True,
    save_weights_path = target + '_w.h5',    # 指定模型权重保存的路径。默认为None，不保存。
    load_weights_path = target + '_w.h5'     # 指定模型权重加载的路径。默认为None，不加载。
)<jupyter_output>Nothing to load
Nothing to load
Ready!Starting!
4/4 [==============================] - 75s 3s/step - loss: 3.8090 - categorical_accuracy: 0.3063
4/4 [==============================] - 9s 2s/step - loss: 1.4934 - categorical_accuracy: 0.3516
4/4 [==============================] - 9s 2s/step - loss: 1.1224 - categorical_accuracy: 0.1953
4/4 [==============================] - 9s 2s/step - loss: 1.3051 - categorical_accuracy: 0.3047
4/4 [==============================] - 9s 2s/step - loss: 1.1578 - categorical_accuracy: 0.4531
4/4 [==============================] - 9s 2s/step - loss: 1.1943 - categorical_accuracy: 0.3750
4/4 [==============================] - 10s 3s/step - loss: 1.0320 - categorical_accuracy: 0.7812
4/4 [==============================] - 8s 2s/step - loss: 1.1024 - categorical_accuracy: 0.2578
4/4 [==============================] - 9s 2s/step - loss: 1.1735 - categorical_accuracy: 0.2969
4/4 [==============================] - 10s 2s/step - loss: 1.2996 - categorical_accura[...]<jupyter_text>测试<jupyter_code>from game_player.run import Agent
target = 'Genichiro_Ashina' # 苇名弦一郎
# target = 'Inner_Genichiro' # 心中的弦一郎
# target = 'True Monk' # 宫内破戒僧
# target = 'Isshin,_the_Sword_Saint' # 剑圣一心
# target = 'Inner_Isshin' # 心中的一心
agent = Agent(
    False,
    load_weights_path = target + '_w.h5'     # 指定模型权重加载的路径。默认为None，不加载。
)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.2834516657564173, 'fraction_numerical': 0.07700709994538503, 'mean_word_length': 4.707165109034268, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '2', 'dir': 'jupyter-structured-clean-dedup', 'id': '640851', 'license': 'MIT', 'n_tokens_mistral': 862, 'n_tokens_neox': 761, 'n_words': 134, 'path': 'pysekiro_with_RL/sekiro.ipynb', 'repo_name': 'ricagj/train_your_own_game_AI', 'size': '1831'}