Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed intern-skills notebook by Zhaopeng(Thomas) Li #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zhaopengl
Copy link

change num_class to 10;
replace deprecated volatile with with torch.no_grad;
replace deprecated size_average with reduction="sum";
replace todo with real function;
use torch.manual_seed(RANDOM_SEED)

…rch.no_grad; replace deprecated size_average with reduction="sum"; replace todo with real function
@zhaopengl zhaopengl changed the title fix: change num_class to 10; replace deprecated volatile with with torch.no_grad; replace deprecated size_average with reduction="sum"; replace todo with real function fixed intern-skills notebook by Zhaopeng(Thomas) Li Sep 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant