Spaces:
Running
on
Zero
Running
on
Zero
wondervictor
commited on
Commit
·
8418f39
1
Parent(s):
18af252
update
Browse files
model.py
CHANGED
@@ -125,6 +125,7 @@ class Model:
|
|
125 |
print(W, H)
|
126 |
self.t5_model.model.to('cuda')
|
127 |
self.gpt_model_canny.to('cuda')
|
|
|
128 |
print("after cuda", self.gpt_model_canny.adapter.model.embeddings.patch_embeddings.projection.weight)
|
129 |
|
130 |
condition_img = self.get_control_canny(np.array(image), low_threshold,
|
|
|
125 |
print(W, H)
|
126 |
self.t5_model.model.to('cuda')
|
127 |
self.gpt_model_canny.to('cuda')
|
128 |
+
self.vq_model.to('cuda')
|
129 |
print("after cuda", self.gpt_model_canny.adapter.model.embeddings.patch_embeddings.projection.weight)
|
130 |
|
131 |
condition_img = self.get_control_canny(np.array(image), low_threshold,
|