10000 Resnet class bug - number of classes · Issue #41 · dotnet/TorchSharpExamples · GitHub
[go: up one dir, main page]

Skip to content

Resnet class bug - number of classes #41

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

Closed
raitpngman opened this issue Jan 31, 2023 · 2 comments
Closed

Resnet class bug - number of classes #41

raitpngman opened this issue Jan 31, 2023 · 2 comments

Comments

@raitpngman
Copy link

The resnet class https://github.com/dotnet/TorchSharpExamples/blob/main/src/CSharp/Models/ResNet.cs in all the initializers has a "int numClasses," variable, but it is passed on to the main constructer as a hard wired "10" and the numClasses variable isn't actually used.

@NiklasGustafsson
Copy link
Contributor

Thanks for noticing this. Will fix!

NiklasGustafsson added a commit to NiklasGustafsson/TorchSharpExamples that referenced this issue Apr 28, 2023
NiklasGustafsson added a commit that referenced this issue Apr 28, 2023
@NiklasGustafsson
Copy link
Contributor

Fixed.

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

No branches or pull requests

2 participants
0