AbstractPhil commited on
Commit
bbc3095
·
verified ·
1 Parent(s): f44b9a6

Update trainer.py

Browse files
Files changed (1) hide show
  1. trainer.py +8 -4
trainer.py CHANGED
@@ -1,10 +1,14 @@
1
  # =============================================================================
2
  # Cell 1: Install dependencies
3
  # =============================================================================
4
- # !pip install -q torch torchvision safetensors transformers datasets
5
- # !pip install -q git+https://github.com/AbstractEyes/lattice_vocabulary.git
6
- # !cd /content && git clone https://github.com/AbstractPhil/sd15-trainer-geo.git
7
- # !cd /content/sd15-trainer-geo && pip install -e .
 
 
 
 
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