An open API service indexing awesome lists of open source software.

https://github.com/eleutherai/bucket-cleaner

A small utility to clear out old model checkpoints in Google Cloud Buckets whilst keeping tensorboard event files
https://github.com/eleutherai/bucket-cleaner

Last synced: 10 months ago
JSON representation

A small utility to clear out old model checkpoints in Google Cloud Buckets whilst keeping tensorboard event files

Awesome Lists containing this project

README

          

# Bucket Cleaner
A small utility to clear out old model checkpoints in Google Cloud Buckets whilst keeping tensorboard event files.

## Usage
```
python bucket_cleaner.py [-h] [-y] [--move MOVE] dir [dir ...]

positional arguments:
dir path to cloud bucket directory

optional arguments:
-h, --help show this help message and exit
-y, --yes whether to ignore user prompts
--move MOVE whether to move the events files to a given folder (preserves
folder structure)
```

e.g `python bucket_cleaner.py --move gs://neo-models/archive gs://neo-models/gpt2 `

will move all the events files from `gs://neo-models/gpt2/` to `gs://neo-models/archive` and delete everything else