Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slimmed replay model #179

Open
3 tasks
mrbermell opened this issue Oct 10, 2021 · 2 comments
Open
3 tasks

Slimmed replay model #179

mrbermell opened this issue Oct 10, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@mrbermell
Copy link
Collaborator

Currently replays save the complete game state for every step. It should be possible to identify the state's delta of every step using the forward model which would increase speed and reduce size of replays.

  • Replay created through forward model
  • Auto save games played in Web UI by default
  • Undo many actions in the Web UI
@mrbermell mrbermell added the enhancement New feature or request label Oct 10, 2021
@njustesen
Copy link
Owner

I agree, but then replays only work for that particular version of FFAI.
I think it's still the way to go, but we need to at least mark the replay with a version number.

Saving just the seed and actions is a common way of saving replays that we should consider.

@mrbermell
Copy link
Collaborator Author

Indeed. Maybe we there's a way to make replays use the forward model and still be less susceptible by tweaks in the framework.

Saving the seed and actions are neat for pure replay i.e. forward but it's not possible to step backwards. Also I wish to convert FUMBBL replays to FFAI replays for imitation learning. That makes the seed thing tricky.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants