Skip to content
This repository was archived by the owner on Sep 13, 2023. It is now read-only.

Conversation

@Ralenze
Copy link

@Ralenze Ralenze commented Sep 13, 2023

No description provided.

"""
transform = transforms.Compose(
[transforms.ToTensor(), transforms.Normalize((0.5, 0.5, 0.5), (0.5, 0.5, 0.5))
])

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Keep ending square bracket in line 14 and remove tab from line 15. Take a look at our Python Style Guide in Confluence for more info on our style. (You do not need to change anything here, just smth to think about).


# Import whatever libraries/modules you need
# this is our test set
test = torchvision.datasets.CIFAR10(root='./data', train=False,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Try using a better variable name. For example test_dataset. (You don't need to fix anything here, just smth to think about).

Copy link

@mgupta27 mgupta27 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Logic looks good to me. Just some things to look out for is code style and coming up with better names for variables and classes.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants