xingjianleng commited on
Commit
ddc42b9
·
verified ·
1 Parent(s): 53d8637

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -89,7 +89,7 @@ device = "cuda"
89
 
90
  image = torch.from_numpy(
91
  np.array(
92
- Image.open(BytesIO(response.content)).resize((512, 512))
93
  )
94
  ).permute(2, 0, 1).unsqueeze(0).to(torch.float32) / 127.5 - 1
95
  image = image.to(device)
 
89
 
90
  image = torch.from_numpy(
91
  np.array(
92
+ Image.open(BytesIO(response.content))
93
  )
94
  ).permute(2, 0, 1).unsqueeze(0).to(torch.float32) / 127.5 - 1
95
  image = image.to(device)