Skip to content

Commit

Permalink
fix bug in test.py
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaotudui committed Jun 8, 2021
1 parent e65dfce commit ea73fcd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified notes/演示.pptx
Binary file not shown.
2 changes: 1 addition & 1 deletion src/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
image_path = "../imgs/airplane.png"
image = Image.open(image_path)
print(image)

image = image.convert('RGB')
transform = torchvision.transforms.Compose([torchvision.transforms.Resize((32, 32)),
torchvision.transforms.ToTensor()])

Expand Down

0 comments on commit ea73fcd

Please sign in to comment.