Wuvin commited on
Commit
4675486
1 Parent(s): 6babd58
custum_3d_diffusion/custum_pipeline/unifield_pipeline_img2mvimg.py CHANGED
@@ -204,7 +204,8 @@ class StableDiffusionImage2MVCustomPipeline(
204
  # batch_size = len(image)
205
  # else:
206
  # batch_size = image.shape[0]
207
- device = self._execution_device
 
208
  # here `guidance_scale` is defined analog to the guidance weight `w` of equation (2)
209
  # of the Imagen paper: https://arxiv.org/pdf/2205.11487.pdf . `guidance_scale = 1`
210
  # corresponds to doing no classifier free guidance.
 
204
  # batch_size = len(image)
205
  # else:
206
  # batch_size = image.shape[0]
207
+ # device = self._execution_device
208
+ device = "cuda"
209
  # here `guidance_scale` is defined analog to the guidance weight `w` of equation (2)
210
  # of the Imagen paper: https://arxiv.org/pdf/2205.11487.pdf . `guidance_scale = 1`
211
  # corresponds to doing no classifier free guidance.