Spaces:
Running
on
Zero
Running
on
Zero
Update models/unet.py
Browse files- models/unet.py +2 -1
models/unet.py
CHANGED
|
@@ -856,7 +856,8 @@ class MotionCLR(nn.Module):
|
|
| 856 |
log_attn=self.vis_attn,
|
| 857 |
edit_config=edit_config,
|
| 858 |
)
|
| 859 |
-
|
|
|
|
| 860 |
self.embed_text = self.embed_text.cuda()
|
| 861 |
self.textTransEncoder = self.textTransEncoder.cuda()
|
| 862 |
self.text_ln = self.text_ln.cuda()
|
|
|
|
| 856 |
log_attn=self.vis_attn,
|
| 857 |
edit_config=edit_config,
|
| 858 |
)
|
| 859 |
+
|
| 860 |
+
self.clip_model = self.clip_model.cuda()
|
| 861 |
self.embed_text = self.embed_text.cuda()
|
| 862 |
self.textTransEncoder = self.textTransEncoder.cuda()
|
| 863 |
self.text_ln = self.text_ln.cuda()
|