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

05_Pytorch going Modular model_builder.py #884

Open
kundetiA opened this issue Apr 4, 2024 · 1 comment
Open

05_Pytorch going Modular model_builder.py #884

kundetiA opened this issue Apr 4, 2024 · 1 comment

Comments

@kundetiA
Copy link

kundetiA commented Apr 4, 2024

When we create an instance of TinyVgg Model, in arguments we should mention output_shape as len(class_names), but got an error, class_names is not defined in model_builder.py

@pritesh2000
Copy link
Contributor

You have to define class_names before creating instance of TinyVGG

class_names = ['pizza', 'steak', 'sushi']

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