Add DeCLIP/sd_self_attn_cache/restore.sh
Browse files
DeCLIP/sd_self_attn_cache/restore.sh
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
set -euo pipefail
|
| 3 |
+
|
| 4 |
+
cat sd_self_attn_coco.h5.part_* > sd_self_attn_coco.h5
|
| 5 |
+
cat sd_self_attn_coco_0.1.h5.part_* > sd_self_attn_coco_0.1.h5
|
| 6 |
+
|
| 7 |
+
echo "Restored sd_self_attn_coco.h5 and sd_self_attn_coco_0.1.h5"
|