Skip to content

Commit 0010d42

Browse files
authored
Merge pull request #18 from modelscope/v0.0.4_dev
V0.0.4 dev
2 parents 36b259b + 8a9b791 commit 0010d42

File tree

5 files changed

+25
-1072
lines changed

5 files changed

+25
-1072
lines changed

readme.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,6 @@ python run.py --cfg classifier.yaml
176176
```
177177

178178

179-
180179
## 🖥️ SCEPTER Studio
181180

182181
### Launch

scepter/modules/inference/diffusion_inference.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ def encode_first_stage(self, x, **kwargs):
395395
return self.first_stage_model['paras']['scale_factor'] * z
396396

397397
def decode_first_stage(self, z):
398-
_, dtype = self.get_function_info(self.first_stage_model, 'encode')
398+
_, dtype = self.get_function_info(self.first_stage_model, 'decode')
399399
with torch.autocast('cuda',
400400
enabled=dtype == 'float16',
401401
dtype=getattr(torch, dtype)):

0 commit comments

Comments
 (0)