Update trainer.py
Browse files- trainer.py +8 -4
trainer.py
CHANGED
|
@@ -1,10 +1,14 @@
|
|
| 1 |
# =============================================================================
|
| 2 |
# Cell 1: Install dependencies
|
| 3 |
# =============================================================================
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
|
| 9 |
# =============================================================================
|
| 10 |
# Cell 2: Pre-encode 50k object-relations dataset
|
|
|
|
| 1 |
# =============================================================================
|
| 2 |
# Cell 1: Install dependencies
|
| 3 |
# =============================================================================
|
| 4 |
+
"""
|
| 5 |
+
try:
|
| 6 |
+
!pip uninstall -qy sd15-flow-trainer[dev]
|
| 7 |
+
except:
|
| 8 |
+
pass
|
| 9 |
+
|
| 10 |
+
!pip install "sd15-flow-trainer[dev] @ git+https://github.com/AbstractEyes/sd15-flow-trainer.git" -q
|
| 11 |
+
"""
|
| 12 |
|
| 13 |
# =============================================================================
|
| 14 |
# Cell 2: Pre-encode 50k object-relations dataset
|