Skip to content
This repository has been archived by the owner on Oct 5, 2023. It is now read-only.

[FEAT] Save the model on Google Collab to Google drive #88

Closed
louisgv opened this issue Dec 10, 2019 · 1 comment
Closed

[FEAT] Save the model on Google Collab to Google drive #88

louisgv opened this issue Dec 10, 2019 · 1 comment

Comments

@louisgv
Copy link
Contributor

louisgv commented Dec 10, 2019

Google Collab has a 4 hour uptime limit for an instance. After playing for 4hr, the instance will get shutdown. Also it'd be awesome to save the model and reuse it.

Solution:

  • Mount GDrive in the google collab
  • Add a code snippet for loading game and saving game to GDrive as 2 separate code block. This allows user to trigger those block whenever needed.

Cons:

  • The readme will need to tell user to run code block manually instead of run all

I had experience with GDrive + GCollab, so I can definitely prepare a PR by the weekends to add these features into the collab notebook.

Making this issue to gauge interest and feedback!

@louisgv louisgv changed the title FEAT | Save the model on Google Collab to Google drive [FEAT] Save the model on Google Collab to Google drive Dec 10, 2019
@louisgv
Copy link
Contributor Author

louisgv commented Dec 14, 2019

Closed with #101

@louisgv louisgv closed this as completed Dec 14, 2019
Akababa pushed a commit to Akababa/AIDungeon that referenced this issue Jan 6, 2020
* Fix optional module import handling

* Add erasable you and remove unused second color parameter from input_line and all references

* Rework d20 and suggestion code to gracefully handle erasable you

* Add safety checks to savefile name

* Small sanity check to the command regex

* Add graceful you-erase-handling for traditional story insert

* Fix story insert processing

* Revert person mapping functions to prevent issue latitudegames#43 from recurring

* Remove errant truncation from old story insert procedure

* Clean up newlines on input

* Fix last instances of input_line having an errant second color

* Fix "you" not being added in non-prompt-toolkit
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant