alles was ich hab

This commit is contained in:
steffen-illium
2021-06-02 09:17:51 +02:00
parent ff9846eb54
commit dfca68cbeb
5 changed files with 27 additions and 24 deletions

View File

@@ -14,13 +14,13 @@ warnings.filterwarnings('ignore', category=UserWarning)
if __name__ == '__main__':
out_path = Path(r'C:\Users\steff\projects\f_iks\debug_out\A2C_1622557712')
out_path = Path(r'C:\Users\steff\projects\f_iks\debug_out\A2C_1622558379')
with (out_path / f'env_{out_path.name}.pick').open('rb') as f:
env_kwargs = pickle.load(f)
env = SimpleFactory(**env_kwargs)
env = SimpleFactory(allow_no_op=False, allow_diagonal_movement=False, allow_square_movement=True, **env_kwargs)
# Edit THIS:
model_path = out_path
model_path = out_path / '1_A2C_1622558379'
model_files = list(natsorted(out_path.rglob('*.zip')))
this_model = model_files[0]