Skip to content
This repository was archived by the owner on Jul 31, 2026. It is now read-only.

This is a pull request for Autonomy Bootcamp [OLD] by Vibhinn Gautam - #182

Open
Ralenze wants to merge 2 commits into
UWARG:masterfrom
Ralenze:master
Open

Ralenze wants to merge 2 commits into
UWARG:masterfrom
Ralenze:master

Conversation

@Ralenze

@Ralenze Ralenze commented Sep 13, 2023

Copy link
Copy Markdown

No description provided.

Comment thread main.py
"""
transform = transforms.Compose(
[transforms.ToTensor(), transforms.Normalize((0.5, 0.5, 0.5), (0.5, 0.5, 0.5))
])

Copy link
Copy Markdown

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).

Comment thread main.py

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

Copy link
Copy Markdown

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).

@mgupta27 mgupta27 left a comment

Copy link
Copy Markdown

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