mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-07 00:09:14 +08:00
Lint
This commit is contained in:
1 parent
ee604800d7
commit
c79a9a3be7
1 file changed
+1
-1
@@ -137,7 +137,7 @@ class DreamfusionPipeline(VanillaPipeline):
|
|||||||
else:
|
else:
|
||||||
text_embedding = self.base_text_embedding
|
text_embedding = self.base_text_embedding
|
||||||
|
|
||||||
with torch.autocast(device_type='cuda', dtype=torch.float16):
|
with torch.autocast(device_type="cuda", dtype=torch.float16):
|
||||||
sds_loss, latents, grad = self.sd.sds_loss(
|
sds_loss, latents, grad = self.sd.sds_loss(
|
||||||
text_embedding.to(self.sd_device),
|
text_embedding.to(self.sd_device),
|
||||||
train_output.to(self.sd_device),
|
train_output.to(self.sd_device),
|
||||||
|
|||||||
Reference in new issue
Block a user