Update
Browse files- README.md +1 -2
- archive.py +1 -1
- manifest.sqlite +2 -2
README.md
CHANGED
|
@@ -36,8 +36,7 @@ Each package holds scene inputs, saved checkpoints, raw outcomes, configurations
|
|
| 36 |
|
| 37 |
```bash
|
| 38 |
pip install -U huggingface_hub zstandard
|
| 39 |
-
huggingface-cli download denghanning/COMP8800_Research_Project --repo-type dataset
|
| 40 |
-
--revision v1.0 --local-dir data
|
| 41 |
cd data
|
| 42 |
python archive.py verify --release DeepSea
|
| 43 |
python archive.py restore --release DeepSea --output /path/to/DeepSea
|
|
|
|
| 36 |
|
| 37 |
```bash
|
| 38 |
pip install -U huggingface_hub zstandard
|
| 39 |
+
huggingface-cli download denghanning/COMP8800_Research_Project --repo-type dataset --local-dir data
|
|
|
|
| 40 |
cd data
|
| 41 |
python archive.py verify --release DeepSea
|
| 42 |
python archive.py restore --release DeepSea --output /path/to/DeepSea
|
archive.py
CHANGED
|
@@ -32,7 +32,7 @@ def main():
|
|
| 32 |
a=ap.parse_args()
|
| 33 |
if a.archive_root:ROOT=a.archive_root.resolve()
|
| 34 |
prefixes=a.prefix[:]
|
| 35 |
-
if a.release:prefixes.append(
|
| 36 |
db=sqlite3.connect('file:'+str(ROOT/'manifest.sqlite')+'?mode=ro',uri=True)
|
| 37 |
if db.execute('PRAGMA integrity_check').fetchone()[0]!='ok':raise RuntimeError('Manifest database is corrupt')
|
| 38 |
db.row_factory=sqlite3.Row
|
|
|
|
| 32 |
a=ap.parse_args()
|
| 33 |
if a.archive_root:ROOT=a.archive_root.resolve()
|
| 34 |
prefixes=a.prefix[:]
|
| 35 |
+
if a.release:prefixes.append(a.release)
|
| 36 |
db=sqlite3.connect('file:'+str(ROOT/'manifest.sqlite')+'?mode=ro',uri=True)
|
| 37 |
if db.execute('PRAGMA integrity_check').fetchone()[0]!='ok':raise RuntimeError('Manifest database is corrupt')
|
| 38 |
db.row_factory=sqlite3.Row
|
manifest.sqlite
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0b04d96d22a15c7cc9a257fb554d010089fefea36d2026e7306fcd99e60f96fa
|
| 3 |
+
size 41623552
|