Skip to content

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

@purnavindhya

Description

@purnavindhya

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions