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

'ResNet' object has no attribute 'out_features' #251

Open
purnavindhya opened this issue Oct 31, 2023 · 0 comments
Open

'ResNet' object has no attribute 'out_features' #251

purnavindhya opened this issue Oct 31, 2023 · 0 comments

Comments

@purnavindhya
Copy link

Describe the bug
raise AttributeError(f"'{type(self).name}' object has no attribute '{name}'")
AttributeError: 'ResNet' object has no attribute 'out_features'

To Reproduce
Steps to reproduce the behavior:

  1. Go to python3 dann.py data/office31 -d Office31 -s A -t W -a resnet50 --epochs 20

Screenshots
If applicable, add screenshots to help explain your problem.
Screenshot 2023-10-31 at 2 16 11 PM

Desktop (please complete the following information):

  • OS: iOS, macOS Sonoma, M2 Pro
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

1 participant