JDAI-CV / JDAI-CV/LIO

AttributeError: 'resnet_swap_2loss_add' object has no attribute 'module'

Open
#11 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
115
Forks
25
PR merge metrics
No merged PRs in 30d

Description

感谢您优秀的工作!
我使用了您的环境,但是#172 if isinstance(m.module, Classifier) or 'lrx' in key:...此处报错
AttributeError: 'resnet_swap_2loss_add' object has no attribute 'module'

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at line #172 where the issue reports the access to m.module, and reproduce the AttributeError in the reported environment. Trace how the resnet_swap_2loss_add object reaches that line; done means the reported execution no longer raises this missing-attribute error.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook, python
Domain
computer-vision, machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.