sadnow / AnimationKit-AI

AnimationKit: AI Upscaling & Interpolation using Real-ESRGAN+RIFE
Other
114 stars 18 forks source link

Preserving functionality by offerring a toggle to backup essential links to user's Drive #10

Open sadnow opened 2 years ago

sadnow commented 2 years ago

This toggle would allow for automatic backup and retrieval of AnKit and its dependencies to a user-specified location.

360Diffusion did this on a small scale, but not fill root directory backups.

https://github.com/sadnow/S2ML-Art-Generator/blob/main/S2ML_Art_Generator.ipynb did this, but I believe it actually made it where the program operated using files from the Drive root directory.

Due to filespeed bottlenecks, it may be more efficient to copy Drive backup files to a Colab session on each run. Either that or copy it to ram. Due to individual file transfer speed bottlenecks, it might be wisest to have this function save a zip file of the root directory rather than doing individual file copies.


Complications:

Backing up /content/ using usual methods means that all of Google drive will also be backed up

Potential solution: Download dependencies, create a zip archive of /content/, then mount Drive

sadnow commented 2 years ago

a16434f41a8998b6efd9f64b813269ffd8aa5a81 partially implements this by using forked repos in case a significant change in either Practical-RIFE or Real-ESRGAN bricks breaks AnKit

sadnow commented 2 years ago