nupurkmr9 commited on
Commit
f6d8e85
·
1 Parent(s): 4f64a1d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -27,7 +27,7 @@ from src import diffuser_training
27
 
28
  device = 'cuda'
29
  pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
30
- pipe = pipe.to(self.device)
31
 
32
  weight_path = 'custom_diffusion_cat.bin'
33
  diffuser_training.load_model(pipe.text_encoder, pipe.tokenizer, pipe.unet, weight_path, '<new1>')
 
27
 
28
  device = 'cuda'
29
  pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
30
+ pipe = pipe.to(device)
31
 
32
  weight_path = 'custom_diffusion_cat.bin'
33
  diffuser_training.load_model(pipe.text_encoder, pipe.tokenizer, pipe.unet, weight_path, '<new1>')