Comments (5)
ModuleAttributeError Traceback (most recent call last)
in ()
4 CONFIG_FILE = './work_dirs/vf_r2_base/vfnet_r2_101_fpn_mdconv_c3-c5_mstrain_2x_coco.py'
5 CHECKPOINT_PATH = './work_dirs/vf_r2_base/epoch_20.pth'
----> 6 model = init_detector(CONFIG_FILE, CHECKPOINT_PATH)
7 img1='./data/coco/train2017/train_29635.jpg'
8 # img1='./normal/train_1.jpg'
8 frames
/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py in getattr(self, name)
770 return modules[name]
771 raise ModuleAttributeError("'{}' object has no attribute '{}'".format(
--> 772 type(self).name, name))
773
774 def setattr(self, name: str, value: Union[Tensor, 'Module']) -> None:
ModuleAttributeError: 'Bottle2neck' object has no attribute 'conv2'
from varifocalnet.
Commenting delattr(self, 'conv2')
in res2net.py can solve this issue.
from varifocalnet.
是这个位置的报的错。但是该如何解决
from varifocalnet.
Comment delattr(self, 'conv2')
<=> # delattr(self, 'conv2')
from varifocalnet.
thank success
from varifocalnet.
Related Issues (20)
- Some question about the inference HOT 4
- VFNet-X's config file 404 error HOT 2
- VFocalLoss in yolov5 HOT 3
- Do you think the `VarifocalLoss` could be used for labels with value of 0 & 1 ? HOT 2
- How to visualize detection results?
- where is Star-Shaped Box Feature Representation and Bounding Box Refinement in the code HOT 2
- GPU error HOT 3
- KeyError: 'ATSSVGFLHead is not in the head registry' HOT 9
- How to reimplement IACS? HOT 2
- Varifocal Loss for YOLOv5 HOT 2
- Using MMDet version of VFNet with the lastest backbone (e,g. Poolformer S36, ConvNeXt Small) with Inf Issues on Varifocal loss HOT 1
- VarifocalLoss HOT 1
- Can varifocal loss be applied to softmax classifier?
- AttributeError:'ConfigDict' object has no attribute 'test_cfg'
- Question about `detach` HOT 7
- About applying Varfifocal to yolox objectness loss HOT 2
- cls loss is increasing HOT 4
- Train custom dataset HOT 2
- Welcome update to OpenMMLab 2.0
- Architecture dimension
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from varifocalnet.