Cadene / Cadene/pretrained-models.pytorch
couldnot use inception_resnetv2
- Dominant language
- Python
- Stars
- 9.1k
- Forks
- 1.8k
- PR merge metrics
- No merged PRs in 30d
Description
Traceback (most recent call last):
File "clas_inc_res.py", line 299, in
model_conv.classifier._modules["1"] = nn.Conv2d(512, num_of_output_classes, kernel_size=(1, 1))
File "/home/raman/anaconda2/envs/pyto3/lib/python3.6/site-packages/torch/nn/modules/module.py", line 535, in __getattr__
type(self).__name__, name))
AttributeError: 'InceptionResNetV2' object has no attribute 'classifier'
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with clas_inc_res.py at line 299 and inspect the InceptionResNetV2 model definition to determine the available classifier or final-layer interface. Reproduce the AttributeError in the reported Python 3.6 environment, then verify that replacing the output layer works without referencing a missing classifier attribute.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100